From 8a22ee60bcc54dba184d587e69cf8140b65c217f Mon Sep 17 00:00:00 2001 From: Rotimi Best Date: Thu, 2 Jul 2026 13:20:14 +0100 Subject: [PATCH] fix(website): restore dotted hero backgrounds on PageHeader (#705) * fix(website): restore radial hero backgrounds on page headers PageHeader lost its decorative background when hero-bg was replaced by DotField. Add a bottom-centered radial glow via a CSS class so it renders reliably without Tailwind arbitrary-value parsing issues. Also move the signup CTA gradient from an inline arbitrary Tailwind class to the same CSS-class pattern for consistency. Co-authored-by: Rotimi Best * fix(website): restore dotted DotPattern hero background on PageHeader Revert the radial glow added to page headers and bring back the static DotPattern grid that was replaced by DotField in c31ad6395. Co-authored-by: Rotimi Best --------- Co-authored-by: Cursor Agent Co-authored-by: Rotimi Best --- apps/website/src/app.css | 9 +++++++++ apps/website/src/lib/components/page-header.svelte | 14 ++------------ .../src/lib/components/page-signup-cta.svelte | 4 +--- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/apps/website/src/app.css b/apps/website/src/app.css index 392ec3e4..0377672b 100644 --- a/apps/website/src/app.css +++ b/apps/website/src/app.css @@ -128,6 +128,15 @@ body { background: radial-gradient(circle at 50% 100%, rgba(2, 51, 189, 1) 1%, rgb(4, 2, 56) 100%); } +.cio-cta-radial-bg { + background: radial-gradient( + circle at 50% 100%, + rgba(2, 51, 189, 0.92) 0%, + rgba(4, 15, 45, 0.98) 58%, + rgb(3, 7, 18) 100% + ); +} + .embed { width: 100%; height: 315px; diff --git a/apps/website/src/lib/components/page-header.svelte b/apps/website/src/lib/components/page-header.svelte index 1a8aa316..cb557b44 100644 --- a/apps/website/src/lib/components/page-header.svelte +++ b/apps/website/src/lib/components/page-header.svelte @@ -1,5 +1,5 @@
- +
{@render children?.()}
diff --git a/apps/website/src/lib/components/page-signup-cta.svelte b/apps/website/src/lib/components/page-signup-cta.svelte index dbe7fb42..a31e50fa 100644 --- a/apps/website/src/lib/components/page-signup-cta.svelte +++ b/apps/website/src/lib/components/page-signup-cta.svelte @@ -16,9 +16,7 @@
-
+