-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
33 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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> |
10d6527
There was a problem hiding this comment.
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