From 50f1ba47503efcf1d67dceac5a4b792cbaebfba1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Be=C3=B1at=20Espi=C3=B1a?= Date: Mon, 9 Nov 2026 20:39:56 +0100 Subject: [PATCH] feat: a reading progress line at the top of each post A 2px ochre line at the top of the view grows from the article's top reaching the top of the view to its end reaching the bottom. It is a CSS scroll-driven animation of a transform: no script, no scroll listener, nothing on the main thread. Browsers without scroll-driven animations show no line. --- src/components/blog/post-page.astro | 41 +++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/src/components/blog/post-page.astro b/src/components/blog/post-page.astro index c175c6d..061bc32 100644 --- a/src/components/blog/post-page.astro +++ b/src/components/blog/post-page.astro @@ -59,6 +59,7 @@ const structuredData = {