From b585e18ccf9ef705e8f2d22104d9b1c6a8d7fd5e Mon Sep 17 00:00:00 2001 From: James Pine Date: Sun, 15 Mar 2026 08:53:03 -0700 Subject: [PATCH] fix: fade in hero background glow to avoid Safari rendering flash --- landing/src/app/globals.css | 14 ++++++++++++++ landing/src/app/page.tsx | 8 ++------ 2 files changed, 16 insertions(+), 6 deletions(-) diff --git a/landing/src/app/globals.css b/landing/src/app/globals.css index 143203e7..d83a2060 100644 --- a/landing/src/app/globals.css +++ b/landing/src/app/globals.css @@ -115,6 +115,20 @@ animation: fadeUp 0.6s ease-out forwards; } +.hero-glow-fade { + opacity: 0; + animation: fadeIn 2s ease-out 0.3s forwards; +} + +@keyframes fadeIn { + from { + opacity: 0; + } + to { + opacity: 1; + } +} + /* Noise texture overlay for hero glow */ /* .hero-glow::after { content: ""; diff --git a/landing/src/app/page.tsx b/landing/src/app/page.tsx index a43b1536..7e2deb9e 100644 --- a/landing/src/app/page.tsx +++ b/landing/src/app/page.tsx @@ -39,7 +39,7 @@ export default function Home() { {/* ── Hero Section ─────────────────────────────────────────────── */}
{/* Background glow */} -
+
@@ -48,11 +48,7 @@ export default function Home() { {/* Logo */}
{/* eslint-disable-next-line @next/next/no-img-element */}