One palette backdrop behind every page; flat hero, split hero buttons
PageBackdrop draws flat, overlapping palette circles behind the public site and eases them to a new tone as each section reaches the middle of the window, so sections no longer paint their own bands (PageShell's background field is gone). The hero's brand backdrop is a flat teal with the dove, its two buttons one cell cut by a slash, and the countdown straddles the hero and the band below. No glows: the drifting blobs, rings, live-dot pulse and the stats band's blurred circle are gone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
3dfc31fd85
commit
6fc19d7ee3
36 changed files with 255 additions and 219 deletions
|
|
@ -1,8 +1,9 @@
|
|||
/* ═══════════════════════════════════════════════════════════════
|
||||
PAGE SHELL
|
||||
Just the chrome that makes pages look alike: a page header, then
|
||||
sections with a thin accent banner between them, alternating
|
||||
backgrounds, and a left-aligned heading with a blurb and rule.
|
||||
sections with a thin accent banner between them and a left-aligned
|
||||
heading with a blurb and rule. Sections paint no background of
|
||||
their own: the page's (PageBackdrop.tsx) runs behind all of them.
|
||||
|
||||
Whatever goes inside a section is passed as `content`, the shell
|
||||
doesn't care what it is.
|
||||
|
|
@ -21,7 +22,6 @@
|
|||
title: "Local Groups",
|
||||
blurb: "Optional line under the section heading.",
|
||||
accent: BRAND, // heading, banner, rule
|
||||
background: "var(--color-tint)",
|
||||
actions: <SomeButton />, // optional, right of the heading
|
||||
content: <YourStuff />,
|
||||
},
|
||||
|
|
@ -40,7 +40,6 @@ export type ShellSection = {
|
|||
title: string;
|
||||
blurb?: string;
|
||||
accent: string;
|
||||
background: string;
|
||||
actions?: ReactNode;
|
||||
content: ReactNode;
|
||||
};
|
||||
|
|
@ -57,7 +56,6 @@ export function Section({ section }: { section: ShellSection }) {
|
|||
title,
|
||||
blurb,
|
||||
accent,
|
||||
background,
|
||||
// Optional action bar for this section's heading row, a view
|
||||
// toggle, a filter, a link. Whatever the section needs; the
|
||||
// shell just gives it a place to sit.
|
||||
|
|
@ -71,7 +69,7 @@ export function Section({ section }: { section: ShellSection }) {
|
|||
className="py-20"
|
||||
// Clear of the fixed header, whatever it holds today (Layout
|
||||
// sets --header-h from its measured height).
|
||||
style={{ background, scrollMarginTop: "calc(var(--header-h, 5rem) + 1rem)" }}
|
||||
style={{ scrollMarginTop: "calc(var(--header-h, 5rem) + 1rem)" }}
|
||||
>
|
||||
{/* Heading, left aligned, optional actions on the right */}
|
||||
<div className="max-w-6xl mx-auto px-6 mb-10">
|
||||
|
|
@ -102,7 +100,7 @@ export default function PageShell({ title, intro, sections }: PageShellProps) {
|
|||
return (
|
||||
<>
|
||||
{/* Page header */}
|
||||
<div className="pt-24 pb-12 px-6" style={{ background: "var(--color-tint)" }}>
|
||||
<div className="pt-24 pb-12 px-6">
|
||||
<div className="max-w-6xl mx-auto">
|
||||
<h1 className="text-5xl md:text-6xl font-bold" style={{ color: accentText(BRAND) }}>
|
||||
{title}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue