From 56834d0313b51b39e679710b18d38018bfbf2005 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sun, 18 Jan 2026 20:06:13 +0100 Subject: [PATCH] feat: add Crypto Commons Gathering 2026 site banner - Add event-banner.tsx component with link to cryptocommonsgather.ing - Integrate banner at top of header across all pages - Adjust page padding to accommodate taller header Co-Authored-By: Claude Opus 4.5 --- app/events/page.tsx | 2 +- app/membership/page.tsx | 2 +- app/research/page.tsx | 2 +- app/sponsors/page.tsx | 2 +- components/event-banner.tsx | 27 ++++++++++++++ components/header.tsx | 70 ++++++++++++++++++++----------------- components/hero.tsx | 2 +- 7 files changed, 69 insertions(+), 38 deletions(-) create mode 100644 components/event-banner.tsx diff --git a/app/events/page.tsx b/app/events/page.tsx index cfd8cf5..be8fb28 100644 --- a/app/events/page.tsx +++ b/app/events/page.tsx @@ -8,7 +8,7 @@ export default function EventsPage() { return (
-
+
diff --git a/app/membership/page.tsx b/app/membership/page.tsx index b837bc7..611d660 100644 --- a/app/membership/page.tsx +++ b/app/membership/page.tsx @@ -9,7 +9,7 @@ export default function MembershipPage() { return (
-
+
{/* Hero Section */}
diff --git a/app/research/page.tsx b/app/research/page.tsx index e2937d6..3affd1d 100644 --- a/app/research/page.tsx +++ b/app/research/page.tsx @@ -8,7 +8,7 @@ export default function ResearchPage() { return (
-
+
{/* Hero Section */}
diff --git a/app/sponsors/page.tsx b/app/sponsors/page.tsx index 84a8eb4..ec5d496 100644 --- a/app/sponsors/page.tsx +++ b/app/sponsors/page.tsx @@ -8,7 +8,7 @@ export default function SponsorsPage() { return (
-
+
{/* Hero Section */}
diff --git a/components/event-banner.tsx b/components/event-banner.tsx new file mode 100644 index 0000000..f7f9d9e --- /dev/null +++ b/components/event-banner.tsx @@ -0,0 +1,27 @@ +import Link from "next/link" +import { ArrowRight, Sparkles } from "lucide-react" + +export function EventBanner() { + return ( +
+ +
+
+ + + Join us at the + Crypto Commons Gathering 2026 + — Building the future of digital commons together + + +
+
+ +
+ ) +} diff --git a/components/header.tsx b/components/header.tsx index 662fa3c..a1e4969 100644 --- a/components/header.tsx +++ b/components/header.tsx @@ -1,42 +1,46 @@ import Link from "next/link" import Image from "next/image" +import { EventBanner } from "./event-banner" export function Header() { return ( -
-
-
- - Crypto Commons Association -
CCA
- +
+ +
+
+
+ + Crypto Commons Association +
CCA
+ - + +
diff --git a/components/hero.tsx b/components/hero.tsx index 5cf47f1..b384530 100644 --- a/components/hero.tsx +++ b/components/hero.tsx @@ -2,7 +2,7 @@ import Image from "next/image" export function Hero() { return ( -
+