Skip to content

Commit

Permalink
Use Anchor in Calendar
Browse files Browse the repository at this point in the history
  • Loading branch information
nas-tabchiche committed Dec 16, 2024
1 parent 5d47b58 commit 6f1324f
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions frontend/src/lib/components/Calendar/Day.svelte
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<script lang="ts">
import { fly } from 'svelte/transition';
import Anchor from '$lib/components/Anchor/Anchor.svelte';
export let day: number;
export let month: number;
Expand Down Expand Up @@ -34,9 +35,9 @@
<div class="flex flex-col justify-center h-full">
{#each displayInfo(day, month, year) as eta}
<li class="unstyled hover:underline">
<a href={eta[1]}>
<Anchor href={eta[1]}>
{eta[0]}
</a>
</Anchor>
</li>
{/each}
</div>
Expand All @@ -52,9 +53,9 @@
<div class="flex flex-col justify-center h-full">
{#each displayInfo(day, month, year) as eta}
<li class="unstyled hover:underline text-red-500">
<a href={eta[1]}>
<Anchor href={eta[1]}>
{eta[0]}
</a>
</Anchor>
</li>
{/each}
</div>
Expand All @@ -70,9 +71,9 @@
<div class="flex flex-col justify-center h-full">
{#each displayInfo(day, month, year) as eta}
<li class="unstyled hover:underline text-primary-500">
<a href={eta[1]}>
<Anchor href={eta[1]}>
{eta[0]}
</a>
</Anchor>
</li>
{/each}
</div>
Expand Down

0 comments on commit 6f1324f

Please sign in to comment.