From 3d689570de250e3f00911dc35b62771cad70a56c Mon Sep 17 00:00:00 2001 From: Miquel de Domingo Date: Mon, 15 Sep 2025 09:56:23 +0200 Subject: [PATCH 1/2] feat: preload fonts --- src/app.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app.html b/src/app.html index 8b97e32..4d17eb2 100644 --- a/src/app.html +++ b/src/app.html @@ -6,8 +6,8 @@ - - + + Date: Thu, 2 Oct 2025 15:50:46 +0200 Subject: [PATCH 2/2] feat: minor a11y improvements --- src/lib/components/year-section.svelte | 21 ++++++++++++++++----- src/routes/+page.svelte | 1 + static/robots.txt | 2 ++ 3 files changed, 19 insertions(+), 5 deletions(-) create mode 100644 static/robots.txt diff --git a/src/lib/components/year-section.svelte b/src/lib/components/year-section.svelte index 4eb254c..4be7596 100644 --- a/src/lib/components/year-section.svelte +++ b/src/lib/components/year-section.svelte @@ -18,11 +18,11 @@ style="--grid-animation-delay: calc({position} * 0.15s)" >
- {year} -
+ class="decorative-year" + role="presentation" + style="--year: '{year}'" + aria-hidden="true" + >

{year}

{#each entries as [day, problem](day)} @@ -31,3 +31,14 @@
+ diff --git a/src/routes/+page.svelte b/src/routes/+page.svelte index e030944..f1ef40c 100644 --- a/src/routes/+page.svelte +++ b/src/routes/+page.svelte @@ -17,6 +17,7 @@ rel="external" target="_blank" > + GitHub repo diff --git a/static/robots.txt b/static/robots.txt new file mode 100644 index 0000000..c2a49f4 --- /dev/null +++ b/static/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Allow: /