feat: add YearControls component and update YearNav for localized year links
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
<div class="flex items-center gap-2">
|
||||
<Button variant="secondary" href="/">Prezenty tego roku</Button>
|
||||
{#each years as year}
|
||||
<Button href={`/year/${year.year}`} variant="secondary">
|
||||
<Button href={`/rok/${year.year}`} variant="secondary">
|
||||
{year.year}
|
||||
</Button>
|
||||
{/each}
|
||||
|
||||
Reference in New Issue
Block a user