Skip to content

Commit

Permalink
Added build route
Browse files Browse the repository at this point in the history
  • Loading branch information
VaiTon committed Jul 4, 2023
1 parent 8ee28a1 commit 10d6527
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/routes/build/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
<script lang="ts">
import TEACHINGS from '$lib/teachings';
const WORKFLOW_NAMES = ['check.yml', 'build-and-deploy.yml'];
</script>

<div class="m-8">
{#each TEACHINGS as course, i}
{#if i > 0}
<hr class="my-8 border-primary" />
{/if}
<h2 class="text-center text-2xl">{course.name}</h2>
{#each course.years as years}
<h3 class="text-center text-xl font-bold my-4">{years.year}</h3>
<div class="grid grid-cols-4 gap-4">
{#each years.teachings as teaching}
<div>
<h4 class="font-bold">{teaching.name}</h4>
<div class="flex gap-2">
{#each WORKFLOW_NAMES as workflow}
{@const href = `https://github.com/csunibo/${teaching.url}/actions/workflows/${workflow}`}
{@const src = `${href}/badge.svg`}
<a {href}>
<img {src} alt="Not found" />
</a>
{/each}
</div>
</div>
{/each}
</div>
{/each}
{/each}
</div>

1 comment on commit 10d6527

@vercel
Copy link

@vercel vercel bot commented on 10d6527 Jul 4, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

dynamik – ./

dynamik-csunibo.vercel.app
dynamik.vercel.app
dynamik-git-main-csunibo.vercel.app

Please sign in to comment.