From d6411f4dd1a86b392070ce4ca870efb4b95389f1 Mon Sep 17 00:00:00 2001 From: Nicholai Date: Sat, 6 Dec 2025 14:23:00 -0700 Subject: [PATCH] Refactor design elements and enhance animations for improved user experience. Updated color palette in `dev/design.json` to feature a more vibrant orange accent. Revamped footer, navigation, and section layouts for better aesthetics and responsiveness. Introduced new animation classes for scroll-triggered effects, enhancing visual engagement across the site. --- dev/design.json | 20 +- src/components/Footer.astro | 49 +++-- src/components/Navigation.astro | 47 ++-- src/components/sections/Experience.astro | 96 ++++----- src/components/sections/FeaturedProject.astro | 60 +++--- src/components/sections/Hero.astro | 52 +++-- src/components/sections/Skills.astro | 42 ++-- src/layouts/BaseLayout.astro | 59 ++++-- src/pages/blog/index.astro | 34 +-- src/pages/contact.astro | 61 +++--- src/pages/index.astro | 16 +- src/styles/global.css | 200 ++++++++++++++++-- 12 files changed, 481 insertions(+), 255 deletions(-) diff --git a/dev/design.json b/dev/design.json index bb69323..1aabd68 100644 --- a/dev/design.json +++ b/dev/design.json @@ -40,22 +40,22 @@ "usage": "Secondary backgrounds, panels, cards" }, "brand_accent": { - "hex": "#FFB84C", - "rgb": "255, 184, 76", - "name": "Orange/Yellow", + "hex": "#ff4d00", + "rgb": "255, 77, 0", + "name": "Vibrant Orange", "usage": "Primary accent, CTAs, highlights, interactive elements", "opacity_variants": [ { "name": "brand_accent_5", - "value": "rgba(255, 184, 76, 0.05)" + "value": "rgba(255, 77, 0, 0.05)" }, { "name": "brand_accent_20", - "value": "rgba(255, 184, 76, 0.2)" + "value": "rgba(255, 77, 0, 0.2)" }, { "name": "brand_accent_50", - "value": "rgba(255, 184, 76, 0.5)" + "value": "rgba(255, 77, 0, 0.5)" } ] }, @@ -439,7 +439,7 @@ "accent_glow": "shadow-lg shadow-brand-accent/20", "cyan_glow": "shadow-lg shadow-brand-cyan/20", "red_glow": "shadow-lg shadow-brand-red/20", - "custom_glow": "shadow-[0_0_10px_rgba(255,184,76,0.5)]", + "custom_glow": "shadow-[0_0_10px_rgba(255,77,0,0.5)]", "drop_shadow": "drop-shadow-2xl" }, "blur": { @@ -626,7 +626,7 @@ }, "status_indicator": { "dot": "w-2 h-2 bg-brand-accent rounded-full animate-pulse", - "glow": "shadow-[0_0_10px_rgba(255,184,76,0.5)]", + "glow": "shadow-[0_0_10px_rgba(255,77,0,0.5)]", "label": "text-xs font-bold text-slate-500 tracking-widest uppercase font-mono" } }, @@ -798,7 +798,7 @@ "design_tokens_summary": { "primary_background": "#0B0D11", "secondary_background": "#151921", - "primary_accent": "#FFB84C", + "primary_accent": "#ff4d00", "primary_text": "#FFFFFF", "secondary_text": "#94A3B8", "border_subtle": "rgba(255, 255, 255, 0.1)", @@ -806,7 +806,7 @@ "font_primary": "Inter, sans-serif", "font_mono": "monospace", "radius_minimal": "0 or 2px (rarely used)", - "shadow_glow": "0 0 10px rgba(255,184,76,0.5)", + "shadow_glow": "0 0 10px rgba(255,77,0,0.5)", "transition_fast": "300ms", "transition_medium": "500ms", "transition_slow": "700ms" diff --git a/src/components/Footer.astro b/src/components/Footer.astro index a32b2db..6f8adbf 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,44 +2,51 @@ const today = new Date(); --- -