From 6db5b369892dab7ab7d444013e7167fea3590d29 Mon Sep 17 00:00:00 2001 From: Tyler Koenig Date: Tue, 26 May 2026 20:43:56 -0400 Subject: [PATCH] feat(design): external link colors, section dividers, nav scroll-spy Dusty blue/violet link colors for external links (target="_blank") with visited state. Both dark and light theme tokens. Mailto links included. Section dividers via border-top on anchored sections. Scroll-margin-top clears sticky nav on anchor jumps. Nav scroll-spy highlights active section using IntersectionObserver + scroll listener fallback for bottom-of-page edge case. --- src/components/Footer.astro | 9 +++--- src/components/Hero.astro | 9 +++--- src/components/Nav.astro | 54 ++++++++++++++++++++++++++++++-- src/components/ProjectCard.astro | 2 +- src/pages/index.astro | 2 +- src/styles/globals.css | 25 +++++++++++++++ 6 files changed, 88 insertions(+), 13 deletions(-) diff --git a/src/components/Footer.astro b/src/components/Footer.astro index 467dd955..9da927b2 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -10,7 +10,7 @@ const year = new Date().getFullYear(); href="https://github.com/lerko96" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > GitHub @@ -18,7 +18,7 @@ const year = new Date().getFullYear(); href="https://gitea.lerkolabs.com/lerko" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > Gitea @@ -26,13 +26,14 @@ const year = new Date().getFullYear(); href="https://www.linkedin.com/in/tyler-koenig" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > LinkedIn Email diff --git a/src/components/Hero.astro b/src/components/Hero.astro index 6d057b4c..864e8029 100644 --- a/src/components/Hero.astro +++ b/src/components/Hero.astro @@ -15,7 +15,7 @@ href="https://github.com/lerko96" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > GitHub @@ -23,7 +23,7 @@ href="https://gitea.lerkolabs.com/lerko" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > Gitea @@ -31,13 +31,14 @@ href="https://www.linkedin.com/in/tyler-koenig" target="_blank" rel="noopener noreferrer" - class="underline hover:text-[var(--color-text)]" + class="underline" > LinkedIn Email diff --git a/src/components/Nav.astro b/src/components/Nav.astro index ffd99de1..fb1eb5dd 100644 --- a/src/components/Nav.astro +++ b/src/components/Nav.astro @@ -3,9 +3,9 @@ Tyler Koenig
- - - + + +