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
|
|
@ -61,7 +61,6 @@ export default function AwardDetail() {
|
|||
? 'Nobody has received this yet.'
|
||||
: undefined,
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<div className="flex flex-wrap items-center gap-x-6 gap-y-3 text-sm">
|
||||
|
|
|
|||
|
|
@ -85,7 +85,6 @@ export default function BlogPost() {
|
|||
id: "post",
|
||||
title: "Post",
|
||||
accent: BRAND,
|
||||
background: "var(--color-surface)",
|
||||
content: (
|
||||
<div
|
||||
className={
|
||||
|
|
@ -113,7 +112,7 @@ export default function BlogPost() {
|
|||
{post.tags.map((tag) => (
|
||||
<span
|
||||
key={tag}
|
||||
className=" px-3 py-0.5 text-xs font-semibold"
|
||||
className="px-3 py-0.5 text-xs font-semibold"
|
||||
style={{
|
||||
background: "var(--color-tint)",
|
||||
color: accentText(BRAND),
|
||||
|
|
@ -175,7 +174,6 @@ export default function BlogPost() {
|
|||
id: "authors",
|
||||
title: authors.length === 1 ? "About the author" : "About the authors",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<PeopleTiles size="md" accent={BRAND} people={authors} />
|
||||
|
|
|
|||
|
|
@ -32,7 +32,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
"Young adult groups meeting in person and online across the movement.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
Component: OrgListMap,
|
||||
request: { type: "group", label: "Add or update a group" },
|
||||
views: { options: ["map", "grid"], default: "map", Toggle: OrgMapToggle },
|
||||
|
|
@ -43,7 +42,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
"The regional organizations that support groups and host their own gatherings.",
|
||||
accent: "#004c52",
|
||||
background: "var(--color-surface)",
|
||||
Component: OrgListVertical,
|
||||
request: { type: "region", label: "Update a region" },
|
||||
props: {
|
||||
|
|
@ -62,7 +60,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
"Organizations we collaborate with across the Unity movement and beyond.",
|
||||
accent: ACCENTS.olive,
|
||||
background: "var(--color-tint)",
|
||||
Component: OrgListCards,
|
||||
request: { type: "partner", label: "Add or update a partner" },
|
||||
props: {
|
||||
|
|
@ -82,7 +79,6 @@ export default function CommunityPage() {
|
|||
title: blog?.title || BLOG_DEFAULT_TITLE,
|
||||
blurb: blog?.blurb ?? undefined,
|
||||
accent: BRAND,
|
||||
background: "var(--color-surface)",
|
||||
Component: CommunityBlog,
|
||||
request: { type: "blog", label: "Write for the blog" },
|
||||
},
|
||||
|
|
|
|||
|
|
@ -94,7 +94,6 @@ export default function EventDetail() {
|
|||
title: event.theme || 'About',
|
||||
blurb: event.theme ? event.tagline ?? undefined : undefined,
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<Facts event={event} accent={accent} />
|
||||
|
|
@ -145,7 +144,6 @@ export default function EventDetail() {
|
|||
title: 'Upcoming dates',
|
||||
blurb: seriesLabel(event.series, event.starts_on) ?? undefined,
|
||||
accent,
|
||||
background: 'var(--color-tint)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<ul className="grid gap-3 sm:grid-cols-2 lg:grid-cols-3">
|
||||
|
|
@ -176,7 +174,6 @@ export default function EventDetail() {
|
|||
id: 'people',
|
||||
title: 'Who’s there',
|
||||
accent,
|
||||
background: 'var(--color-tint)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<PeopleTiles size="lg" groups={groups} accent={accent} />
|
||||
|
|
@ -191,7 +188,6 @@ export default function EventDetail() {
|
|||
title: 'Presented here',
|
||||
blurb: 'Awards given at this gathering.',
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-6">
|
||||
{event.awards.map((entry, index) => (
|
||||
|
|
@ -251,7 +247,7 @@ function Facts({ event, accent }: { event: EventRecord; accent: string }) {
|
|||
return (
|
||||
<div className="flex flex-wrap items-center gap-x-6 gap-y-3 text-sm">
|
||||
<span
|
||||
className=" px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
className="px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
style={{
|
||||
background: event.status === 'cancelled' ? '#b3261e' : accent,
|
||||
color: event.status === 'cancelled' ? '#ffffff' : readableOn(accent),
|
||||
|
|
@ -268,7 +264,7 @@ function Facts({ event, accent }: { event: EventRecord; accent: string }) {
|
|||
redundant. */}
|
||||
{event.event_type && (
|
||||
<span
|
||||
className=" px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
className="px-3 py-1 font-semibold uppercase tracking-wide"
|
||||
style={{ border: `1px solid ${accent}`, color: accentText(accent) }}
|
||||
>
|
||||
{eventTypeLabel(event.event_type)}
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
"Found a broken link, spotted something out of date, or want the site to do something it doesn't? This form goes straight to the people who maintain it.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
// Narrower than the usual max-w-6xl: full-width form fields
|
||||
// are unpleasant to fill in.
|
||||
|
|
|
|||
|
|
@ -78,7 +78,6 @@ export default function GivingPage() {
|
|||
blurb:
|
||||
"Your giving funds scholarships, retreats, leadership development and the continued growth of the Next Generation of Unity leaders, teachers and community members.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: <GivingPanel />,
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -79,7 +79,6 @@ export default function History() {
|
|||
blurb:
|
||||
"Open a year to see what happened.",
|
||||
accent: BRAND,
|
||||
background: BACKGROUND,
|
||||
content,
|
||||
},
|
||||
]}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,6 @@ const SECTIONS = [
|
|||
title: "Board & Staff",
|
||||
blurb: "The people guiding Next Generation of Unity day to day.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<PeopleTiles size="lg" teams={{ id: "ngu-board",}} />
|
||||
|
|
@ -25,7 +24,6 @@ const SECTIONS = [
|
|||
title: "Retreat Team",
|
||||
blurb: "Volunteers who plan and lead our gatherings throughout the year.",
|
||||
accent: ACCENTS.green,
|
||||
background: "var(--color-surface)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<PeopleTiles size="lg" teams="ngu-retreat-team" />
|
||||
|
|
@ -37,7 +35,6 @@ const SECTIONS = [
|
|||
title: "Committees & Volunteers",
|
||||
blurb: "Additional roles and contributors.",
|
||||
accent: ACCENTS.olive,
|
||||
background: "var(--color-tint)",
|
||||
content: <ComingSoon what="this list of committees and volunteers" />,
|
||||
},
|
||||
{
|
||||
|
|
@ -45,7 +42,6 @@ const SECTIONS = [
|
|||
title: "Contact Us",
|
||||
blurb: "Reach out to our staff",
|
||||
accent: ACCENTS.deep,
|
||||
background: "var(--color-surface)",
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<a
|
||||
|
|
|
|||
|
|
@ -80,7 +80,6 @@ export default function OrganizationDetail() {
|
|||
id: 'about',
|
||||
title: 'About',
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<Facts org={org} accent={accent} back={back} />
|
||||
|
|
@ -108,7 +107,6 @@ export default function OrganizationDetail() {
|
|||
id: 'leadership',
|
||||
title: 'Who runs it',
|
||||
accent,
|
||||
background: 'var(--color-tint)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-12">
|
||||
{teamBlocks.map((block) => (
|
||||
|
|
@ -170,7 +168,6 @@ export default function OrganizationDetail() {
|
|||
title: 'Groups',
|
||||
blurb: org.details.map_note ?? undefined,
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 grid gap-4 sm:grid-cols-2 lg:grid-cols-3">
|
||||
{(org.details.groups ?? []).map((group) => (
|
||||
|
|
@ -204,7 +201,6 @@ export default function OrganizationDetail() {
|
|||
title: 'Awards',
|
||||
blurb: `Given by ${org.short_name || org.name}.`,
|
||||
accent,
|
||||
background: 'var(--color-tint)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 grid gap-4 sm:grid-cols-2">
|
||||
{org.awards.map((award) => (
|
||||
|
|
@ -248,7 +244,6 @@ export default function OrganizationDetail() {
|
|||
id: 'events',
|
||||
title: 'Gatherings',
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<EventListCards
|
||||
host={org.id}
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ import { capitalize } from '../lib/text.ts'
|
|||
import { accentText, BRAND } from '../lib/color.ts'
|
||||
|
||||
const BODY = 'var(--color-muted)'
|
||||
const BACKGROUNDS = ['var(--color-surface)', 'var(--color-tint)']
|
||||
|
||||
/* affiliations.role, for a row with no title of its own. */
|
||||
const ROLE_LABEL: Record<string, string> = {
|
||||
|
|
@ -77,7 +76,6 @@ export default function PersonDetail() {
|
|||
id: 'about',
|
||||
title: 'About',
|
||||
accent,
|
||||
background: BACKGROUNDS[0],
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<Facts person={person} accent={accent} />
|
||||
|
|
@ -103,7 +101,6 @@ export default function PersonDetail() {
|
|||
id: 'roles',
|
||||
title: 'Roles',
|
||||
accent,
|
||||
background: BACKGROUNDS[sections.length % 2],
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
{current.length > 0 && <RoleList roles={current} accent={accent} />}
|
||||
|
|
@ -128,7 +125,6 @@ export default function PersonDetail() {
|
|||
id: 'events',
|
||||
title: 'Events',
|
||||
accent,
|
||||
background: BACKGROUNDS[sections.length % 2],
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<ul className="space-y-5">
|
||||
|
|
@ -148,7 +144,6 @@ export default function PersonDetail() {
|
|||
id: 'awards',
|
||||
title: 'Awards',
|
||||
accent,
|
||||
background: BACKGROUNDS[sections.length % 2],
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-6">
|
||||
{person.awards.map((entry, index) => (
|
||||
|
|
@ -196,7 +191,6 @@ export default function PersonDetail() {
|
|||
id: 'posts',
|
||||
title: 'Blog posts',
|
||||
accent,
|
||||
background: BACKGROUNDS[sections.length % 2],
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6">
|
||||
<ul className="grid gap-6 sm:grid-cols-2 lg:grid-cols-3">
|
||||
|
|
|
|||
|
|
@ -173,7 +173,6 @@ const SECTIONS = [
|
|||
title: "Privacy Policy",
|
||||
blurb: `Last updated: ${LAST_UPDATED}`,
|
||||
accent: BRAND,
|
||||
background: "var(--color-surface)",
|
||||
content: <LegalText parts={PARTS} />,
|
||||
},
|
||||
{
|
||||
|
|
@ -181,7 +180,6 @@ const SECTIONS = [
|
|||
title: "Data requests",
|
||||
blurb: "Ask to see, correct or delete the information we hold about you.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="mx-auto max-w-3xl px-6">
|
||||
<FeedbackForm fixedType={DATA_REQUEST.id} />
|
||||
|
|
|
|||
|
|
@ -22,7 +22,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
'Pick a page from the main navigation, any event, organization, team, award, person or blog post, or type any link. Site pages always point at the live site. Choose what sits in the center and the colors; a warning shows if the code might not scan.',
|
||||
accent: BRAND,
|
||||
background: 'var(--color-tint)',
|
||||
content: (
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<QrCodeMaker />
|
||||
|
|
|
|||
|
|
@ -19,7 +19,6 @@ const SECTIONS = [
|
|||
blurb:
|
||||
"Tell us what you'd like on the site, or what should change. Attach a Word document with the details and we'll take it from there.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: (
|
||||
<div className="mx-auto max-w-3xl px-6">
|
||||
<RequestForm />
|
||||
|
|
|
|||
|
|
@ -12,7 +12,6 @@ const SECTIONS = [
|
|||
title: "Unity Teachings",
|
||||
blurb: "Core principles, readings, and study material from the Unity movement.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
content: <ComingSoon what="our Unity teachings" />,
|
||||
},
|
||||
{
|
||||
|
|
@ -20,7 +19,6 @@ const SECTIONS = [
|
|||
title: "Branding & Marketing",
|
||||
blurb: "Logos, colors, templates, and guidelines for representing NGU.",
|
||||
accent: ACCENTS.green,
|
||||
background: "var(--color-surface)",
|
||||
content: <ComingSoon what="our branding and marketing kit" />,
|
||||
},
|
||||
{
|
||||
|
|
@ -28,7 +26,6 @@ const SECTIONS = [
|
|||
title: "Partner Resources",
|
||||
blurb: "Material for the organizations we collaborate with.",
|
||||
accent: ACCENTS.olive,
|
||||
background: "var(--color-tint)",
|
||||
content: <ComingSoon what="resources for partners" />,
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -48,7 +48,6 @@ const SECTIONS = [
|
|||
title: "National Retreats",
|
||||
blurb: "Our flagship gatherings, open to young adults across the country.",
|
||||
accent: BRAND,
|
||||
background: "var(--color-tint)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "national", ...RETREATS },
|
||||
views: { ...CARD_VIEWS, default: "carousel" },
|
||||
|
|
@ -59,7 +58,6 @@ const SECTIONS = [
|
|||
title: "Regional Retreats",
|
||||
blurb: "Smaller gatherings hosted by regions throughout the year.",
|
||||
accent: ACCENTS.green,
|
||||
background: "var(--color-surface)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "regional", ...RETREATS },
|
||||
views: { ...CARD_VIEWS, default: "grid" },
|
||||
|
|
@ -69,7 +67,6 @@ const SECTIONS = [
|
|||
title: "Partner Events",
|
||||
blurb: "Retreats hosted by organizations we collaborate with.",
|
||||
accent: ACCENTS.olive,
|
||||
background: "var(--color-tint)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "partner", ...RETREATS },
|
||||
views: { ...CARD_VIEWS, default: "grid" },
|
||||
|
|
@ -84,7 +81,6 @@ const SECTIONS = [
|
|||
title: "Local Events",
|
||||
blurb: "Hosted by individual groups.",
|
||||
accent: ACCENTS.green,
|
||||
background: "var(--color-surface)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "local", ...RETREATS_ONLY },
|
||||
views: { ...CARD_VIEWS, default: "grid" },
|
||||
|
|
@ -94,7 +90,6 @@ const SECTIONS = [
|
|||
title: "International Events",
|
||||
blurb: "Gatherings beyond the US.",
|
||||
accent: ACCENTS.deep,
|
||||
background: "var(--color-tint)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "international", ...RETREATS_ONLY },
|
||||
views: { ...CARD_VIEWS, default: "grid" },
|
||||
|
|
@ -104,7 +99,6 @@ const SECTIONS = [
|
|||
title: "Other Events",
|
||||
blurb: "Everything that doesn't fit the categories above.",
|
||||
accent: ACCENTS.olive,
|
||||
background: "var(--color-surface)",
|
||||
Component: EventListCards,
|
||||
props: { scope: "other", ...RETREATS_ONLY },
|
||||
views: { ...CARD_VIEWS, default: "grid" },
|
||||
|
|
|
|||
|
|
@ -53,7 +53,6 @@ export default function TeamDetail() {
|
|||
id: 'about',
|
||||
title: 'About',
|
||||
accent,
|
||||
background: 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-8">
|
||||
<Facts orgId={team.org.id} orgKind={team.org.kind} orgName={team.org.name} accent={accent} />
|
||||
|
|
@ -94,7 +93,6 @@ export default function TeamDetail() {
|
|||
id: 'members',
|
||||
title: hasAbout ? 'Members' : team.name,
|
||||
accent,
|
||||
background: hasAbout ? 'var(--color-tint)' : 'var(--color-surface)',
|
||||
content: (
|
||||
<div className="max-w-6xl mx-auto px-6 space-y-6">
|
||||
{!hasAbout && (
|
||||
|
|
|
|||
|
|
@ -84,7 +84,6 @@ const SECTIONS = [
|
|||
title: "Terms of Service",
|
||||
blurb: `Last updated: ${LAST_UPDATED}`,
|
||||
accent: BRAND,
|
||||
background: "var(--color-surface)",
|
||||
content: <LegalText parts={PARTS} />,
|
||||
},
|
||||
];
|
||||
|
|
|
|||
|
|
@ -107,7 +107,7 @@ function RequestFiles({ row, canWrite, canRemove }) {
|
|||
)}
|
||||
<span className="text-xs text-muted">{sizeOf(file.size)}</span>
|
||||
{file.missing && (
|
||||
<span className=" bg-danger-tint px-2 py-0.5 text-xs font-medium text-danger">
|
||||
<span className="bg-danger-tint px-2 py-0.5 text-xs font-medium text-danger">
|
||||
Missing from Drive
|
||||
</span>
|
||||
)}
|
||||
|
|
@ -606,7 +606,7 @@ export default function AdminFeedback({ kind = "feedback" }: { kind?: keyof type
|
|||
onKeyDown={(e) => {
|
||||
if (e.key === "Enter") setSearch(query.trim());
|
||||
}}
|
||||
className=" border border-muted/25 bg-surface px-4 py-1.5 text-sm text-body outline-none focus:border-brand focus:ring-2 focus:ring-brand/25"
|
||||
className="border border-muted/25 bg-surface px-4 py-1.5 text-sm text-body outline-none focus:border-brand focus:ring-2 focus:ring-brand/25"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
|
|
@ -439,7 +439,7 @@ function RequestFilesTab() {
|
|||
)}
|
||||
<span className="text-xs text-muted">{formatBytes(file.size)}</span>
|
||||
{file.missing && (
|
||||
<span className=" bg-danger-tint px-2 py-0.5 text-xs font-medium text-danger">Missing from Drive</span>
|
||||
<span className="bg-danger-tint px-2 py-0.5 text-xs font-medium text-danger">Missing from Drive</span>
|
||||
)}
|
||||
<Link to="/admin/requests" className="text-xs text-muted hover:text-link hover:underline">
|
||||
Request #{file.feedback_id}
|
||||
|
|
|
|||
|
|
@ -311,7 +311,7 @@ export default function AdminPanel() {
|
|||
{content.map((row) => (
|
||||
<span
|
||||
key={row.label}
|
||||
className=" border border-brand/20 bg-surface px-3 py-1 text-sm text-muted"
|
||||
className="border border-brand/20 bg-surface px-3 py-1 text-sm text-muted"
|
||||
>
|
||||
{row.label}{" "}
|
||||
<strong className="font-semibold text-ink">
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ export default function EntityList() {
|
|||
placeholder="Search"
|
||||
onChange={(e) => setQuery(e.target.value)}
|
||||
onKeyDown={(e) => e.key === "Enter" && setParam("q", query.trim())}
|
||||
className=" border border-muted/25 bg-surface px-4 py-1.5 text-sm text-body outline-none focus:border-brand"
|
||||
className="border border-muted/25 bg-surface px-4 py-1.5 text-sm text-body outline-none focus:border-brand"
|
||||
/>
|
||||
<button
|
||||
type="button"
|
||||
|
|
|
|||
|
|
@ -782,7 +782,7 @@ function FilterSelect({
|
|||
value={value}
|
||||
onChange={(e) => onChange(e.target.value)}
|
||||
aria-label={label}
|
||||
className=" border border-brand/50 bg-surface px-4 py-2 text-sm outline-none focus:border-link focus:ring-2 focus:ring-link/40"
|
||||
className="border border-brand/50 bg-surface px-4 py-2 text-sm outline-none focus:border-link focus:ring-2 focus:ring-link/40"
|
||||
>
|
||||
<option value="">{all}</option>
|
||||
{options.map(([id, name]) => (
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ type CalendarBandProps = { id: string; title: string; blurb?: string | null }
|
|||
|
||||
export default function CalendarBand({ id, title, blurb }: CalendarBandProps) {
|
||||
return (
|
||||
<section id={id} className="py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<section id={id} className="py-24">
|
||||
<div className="mx-auto mb-10 flex max-w-6xl flex-wrap items-end justify-between gap-4 px-6">
|
||||
<div>
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ type FeaturedBandProps = {
|
|||
|
||||
export default function FeaturedBand({ id, title, blurb, cards }: FeaturedBandProps) {
|
||||
return (
|
||||
<section id={id} className="py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<section id={id} className="py-24">
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">{title}</h2>
|
||||
{blurb && <p className="mt-4 max-w-2xl text-lg text-muted">{blurb}</p>}
|
||||
|
|
|
|||
|
|
@ -76,7 +76,7 @@ export default function FeaturedTimelineRail({ id, title, blurb }: RailProps) {
|
|||
}
|
||||
|
||||
return (
|
||||
<section id={id} className="overflow-hidden py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<section id={id} className="overflow-hidden py-24">
|
||||
<div className="mx-auto flex max-w-6xl flex-wrap items-end gap-6 px-6">
|
||||
<div>
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
|
|
|
|||
|
|
@ -6,8 +6,7 @@
|
|||
|
||||
Backdrop, what fills the background:
|
||||
|
||||
brand drifting color and slow concentric rings (many
|
||||
circles, one center) with the dove at that center
|
||||
brand a flat palette color with the dove, nothing moving
|
||||
photos the hero photos, crossfading with a slow zoom, a
|
||||
progress bar per photo and a pause button (anything
|
||||
that moves on its own for more than five seconds
|
||||
|
|
@ -121,7 +120,7 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
|
|||
<div className="text-white">
|
||||
{live ? (
|
||||
<p className="mb-6 inline-flex items-center gap-3 bg-white/10 px-4 py-1.5 text-sm font-semibold uppercase tracking-[0.2em] backdrop-blur">
|
||||
<span className="hp-live-dot h-2.5 w-2.5 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
<span className="h-2.5 w-2.5 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
Live now
|
||||
{hero.livestream?.title && (
|
||||
<span className="normal-case tracking-normal text-white/75">
|
||||
|
|
@ -175,90 +174,97 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
|
|||
)}
|
||||
|
||||
{(hero.primary || hero.secondary) && (
|
||||
<div
|
||||
className="hp-rise mt-10 flex flex-wrap gap-4"
|
||||
style={{ animationDelay: '300ms' }}
|
||||
>
|
||||
{hero.primary && (
|
||||
<HomeLink
|
||||
url={hero.primary.url}
|
||||
className="btn px-8 py-4 text-lg text-[#001011] shadow-xl transition-transform duration-300 hover:-translate-y-0.5 hover:scale-[1.03]"
|
||||
style={{ background: '#c2ffd6' }}
|
||||
>
|
||||
{hero.primary.label}
|
||||
</HomeLink>
|
||||
)}
|
||||
{hero.secondary && (
|
||||
<HomeLink
|
||||
url={hero.secondary.url}
|
||||
className="btn border border-white/35 px-8 py-4 text-lg text-white transition-colors duration-300 hover:bg-white/10"
|
||||
>
|
||||
{hero.secondary.label} <ArrowRight size="1em" weight="bold" className="inline align-[-0.125em]" aria-hidden="true" />
|
||||
</HomeLink>
|
||||
)}
|
||||
<div className="hp-rise mt-10" style={{ animationDelay: '300ms' }}>
|
||||
<HeroActions primary={hero.primary} secondary={hero.secondary} />
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
/* ── The hero's buttons ──────────────────────────────────────────
|
||||
Both set: one cell in two halves, the primary filled on the left
|
||||
and the secondary clear on the right, split by a slash (the
|
||||
filled half's slanted edge, which the clear half tucks under).
|
||||
One set: that one alone, in its own style. */
|
||||
|
||||
const SLANT = '1.75rem'
|
||||
const PRIMARY_FILL = '#c2ffd6'
|
||||
const PRIMARY_TEXT = '#001011'
|
||||
const HALF = 'relative flex items-center gap-2 px-8 py-4 text-lg transition-colors duration-200 focus-visible:outline-offset-[-6px]'
|
||||
|
||||
type HeroLink = Hero['primary']
|
||||
|
||||
function HeroActions({ primary, secondary }: { primary: HeroLink; secondary: HeroLink }) {
|
||||
const arrow = <ArrowRight size="1em" weight="bold" className="inline" aria-hidden="true" />
|
||||
|
||||
if (primary && secondary) {
|
||||
return (
|
||||
<div className="btn inline-flex max-w-full overflow-hidden border border-white/35">
|
||||
<HomeLink
|
||||
url={primary.url}
|
||||
className={`${HALF} z-10 hover:brightness-95`}
|
||||
style={{
|
||||
background: PRIMARY_FILL,
|
||||
color: PRIMARY_TEXT,
|
||||
paddingRight: `calc(2rem + ${SLANT})`,
|
||||
clipPath: `polygon(0 0, 100% 0, calc(100% - ${SLANT}) 100%, 0 100%)`,
|
||||
}}
|
||||
>
|
||||
{primary.label}
|
||||
</HomeLink>
|
||||
<HomeLink
|
||||
url={secondary.url}
|
||||
className={`${HALF} text-white hover:bg-white/10`}
|
||||
style={{ marginLeft: `-${SLANT}`, paddingLeft: `calc(2rem + ${SLANT})` }}
|
||||
>
|
||||
{secondary.label} {arrow}
|
||||
</HomeLink>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
if (primary) {
|
||||
return (
|
||||
<HomeLink
|
||||
url={primary.url}
|
||||
className="btn inline-flex px-8 py-4 text-lg transition-transform duration-200 hover:-translate-y-0.5"
|
||||
style={{ background: PRIMARY_FILL, color: PRIMARY_TEXT }}
|
||||
>
|
||||
{primary.label}
|
||||
</HomeLink>
|
||||
)
|
||||
}
|
||||
|
||||
return (
|
||||
<HomeLink
|
||||
url={secondary!.url}
|
||||
className="btn inline-flex items-center gap-2 border border-white/35 px-8 py-4 text-lg text-white transition-colors duration-200 hover:bg-white/10"
|
||||
>
|
||||
{secondary!.label} {arrow}
|
||||
</HomeLink>
|
||||
)
|
||||
}
|
||||
|
||||
/* ── Brand backdrop ──────────────────────────────────────────── */
|
||||
|
||||
const BRAND_FILL = '#004552'
|
||||
|
||||
function BrandBackdrop() {
|
||||
return (
|
||||
<div className="absolute inset-0 -z-10" aria-hidden="true">
|
||||
<div className="hp-aurora hp-aurora--a" style={blob('#008fa8', '48vw', '-10%', '-10%')} />
|
||||
<div className="hp-aurora hp-aurora--b" style={blob('#c2ffd6', '38vw', '45%', '20%')} />
|
||||
<div className="hp-aurora hp-aurora--c" style={blob('#aac992', '30vw', '70%', '-5%')} />
|
||||
|
||||
<div className="absolute inset-0 -z-10" style={{ background: BRAND_FILL }} aria-hidden="true">
|
||||
<svg
|
||||
className="absolute -right-[20vw] top-1/2 h-[120vw] w-[120vw] -translate-y-1/2 md:-right-[10vw] md:h-[80vw] md:w-[80vw]"
|
||||
viewBox="0 0 400 400"
|
||||
>
|
||||
<defs>
|
||||
<radialGradient id="hp-dove-glow">
|
||||
<stop offset="0%" stopColor="#c2ffd6" stopOpacity="0.35" />
|
||||
<stop offset="100%" stopColor="#c2ffd6" stopOpacity="0" />
|
||||
</radialGradient>
|
||||
</defs>
|
||||
|
||||
{/* The rings are faint; the dove at their center is not, so
|
||||
the opacity sits on the rings rather than the whole SVG. */}
|
||||
<g opacity="0.16">
|
||||
<g className="hp-rings" fill="none" stroke="#ffffff">
|
||||
{[40, 70, 100, 130, 160, 190].map((r, i) => (
|
||||
<circle key={r} cx="200" cy="200" r={r} strokeWidth={i % 2 ? 0.6 : 1.2} strokeDasharray={i % 2 ? '2 6' : undefined} />
|
||||
))}
|
||||
<circle cx="390" cy="200" r="4" fill="#c2ffd6" stroke="none" />
|
||||
<circle cx="200" cy="40" r="3" fill="#5ce7ff" stroke="none" />
|
||||
</g>
|
||||
<g className="hp-rings hp-rings--reverse" fill="none" stroke="#c2ffd6">
|
||||
<circle cx="200" cy="200" r="115" strokeWidth="0.8" strokeDasharray="1 10" />
|
||||
<circle cx="85" cy="200" r="3.5" fill="#ffffff" stroke="none" />
|
||||
</g>
|
||||
</g>
|
||||
|
||||
{/* Outside the rotating groups, so it stays upright while the
|
||||
rings turn around it. 64 × 42.7 at the center fits inside
|
||||
the innermost ring (r 40) with room to float. */}
|
||||
<circle cx="200" cy="200" r="46" fill="url(#hp-dove-glow)" />
|
||||
<g className="hp-dove" style={{ color: '#ffffff' }} opacity="0.9">
|
||||
<DoveMark x="168" y="178.65" width="64" height="42.7" />
|
||||
<g style={{ color: '#ffffff' }} opacity="0.14">
|
||||
<DoveMark x="120" y="148" width="160" height="106.75" />
|
||||
</g>
|
||||
</svg>
|
||||
|
||||
<div
|
||||
className="absolute inset-x-0 bottom-0 h-40"
|
||||
style={{ background: `linear-gradient(to bottom, transparent, ${DEEP})` }}
|
||||
/>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
function blob(color: string, size: string, left: string, top: string): CSSProperties {
|
||||
return { background: color, width: size, height: size, left, top }
|
||||
}
|
||||
|
||||
/* ── Photo backdrop ──────────────────────────────────────────── */
|
||||
|
||||
function PhotoBackdrop({ slides, seconds }: { slides: HeroSlide[]; seconds: number }) {
|
||||
|
|
@ -298,7 +304,7 @@ function PhotoBackdrop({ slides, seconds }: { slides: HeroSlide[]; seconds: numb
|
|||
className="absolute inset-0"
|
||||
style={{
|
||||
background:
|
||||
'linear-gradient(100deg, rgba(4,38,46,0.92) 0%, rgba(4,38,46,0.65) 45%, rgba(4,38,46,0.15) 100%)',
|
||||
'linear-gradient(100deg, rgba(0,16,17,0.92) 0%, rgba(0,16,17,0.65) 45%, rgba(0,16,17,0.15) 100%)',
|
||||
}}
|
||||
/>
|
||||
</div>
|
||||
|
|
@ -362,7 +368,7 @@ function LiveFrame({ src, url, title }: { src: string | null; url: string; title
|
|||
return (
|
||||
<div
|
||||
className="relative overflow-hidden border border-white/15 bg-black shadow-2xl"
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(4, 38, 46, 0.6)' }}
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(0, 16, 17, 0.6)' }}
|
||||
>
|
||||
<div className="aspect-video w-full">
|
||||
{src && watching ? (
|
||||
|
|
@ -375,7 +381,7 @@ function LiveFrame({ src, url, title }: { src: string | null; url: string; title
|
|||
/>
|
||||
) : src ? (
|
||||
<div className="flex h-full w-full flex-col items-center justify-center gap-4 text-white">
|
||||
<span className="hp-live-dot h-4 w-4 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
<span className="h-4 w-4 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
<button
|
||||
type="button"
|
||||
onClick={() => setWatching(true)}
|
||||
|
|
@ -386,7 +392,7 @@ function LiveFrame({ src, url, title }: { src: string | null; url: string; title
|
|||
</div>
|
||||
) : (
|
||||
<div className="flex h-full w-full flex-col items-center justify-center gap-4 text-white">
|
||||
<span className="hp-live-dot h-4 w-4 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
<span className="h-4 w-4 rounded-full bg-[#ff4d4d]" aria-hidden="true" />
|
||||
<HomeLink
|
||||
url={url}
|
||||
className="btn bg-white px-6 py-3 text-[#001011] hover:scale-105"
|
||||
|
|
@ -419,7 +425,7 @@ function VideoFrame({
|
|||
return (
|
||||
<div
|
||||
className="relative overflow-hidden border border-white/15 bg-black shadow-2xl"
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(4, 38, 46, 0.6)' }}
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(0, 16, 17, 0.6)' }}
|
||||
>
|
||||
<div className="aspect-video w-full">
|
||||
{source?.kind === 'file' ? (
|
||||
|
|
@ -463,7 +469,7 @@ function EventPanel({ event }: { event: HeroEvent }) {
|
|||
return (
|
||||
<div
|
||||
className="overflow-hidden border border-white/15 bg-white/10 text-white shadow-2xl backdrop-blur"
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(4, 38, 46, 0.6)' }}
|
||||
style={{ boxShadow: '0 24px 48px -24px rgba(0, 16, 17, 0.6)' }}
|
||||
>
|
||||
{photo ? (
|
||||
<img src={photo} alt="" className="aspect-[16/7] w-full object-cover" />
|
||||
|
|
|
|||
|
|
@ -82,11 +82,11 @@ export default function NextEventCountdown({
|
|||
return (
|
||||
<section
|
||||
aria-label="Next event"
|
||||
className={`relative z-20 px-6 ${overlap ? '-mt-12' : 'py-12'}`}
|
||||
className={`relative z-20 px-6 ${overlap ? '-mt-14 -mb-14' : 'py-12'}`}
|
||||
>
|
||||
<Link
|
||||
to={eventHref(event.id)}
|
||||
className="group mx-auto flex max-w-6xl flex-col gap-6 border bg-surface/95 p-6 shadow-2xl backdrop-blur transition-transform duration-300 hover:-translate-y-1 md:flex-row md:items-center md:p-8"
|
||||
className="group mx-auto flex max-w-6xl flex-col gap-6 border bg-surface p-6 shadow-2xl transition-transform duration-300 hover:-translate-y-1 md:flex-row md:items-center md:p-8"
|
||||
style={{ borderColor: `${withAlpha(accent, 33)}` }}
|
||||
>
|
||||
<div className="min-w-0 flex-1">
|
||||
|
|
|
|||
|
|
@ -91,7 +91,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
|
|||
}
|
||||
|
||||
return (
|
||||
<section id={id} className="py-24" style={{ background: 'var(--color-surface)' }}>
|
||||
<section id={id} className="py-24">
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="grid gap-12 lg:grid-cols-12">
|
||||
<div className="lg:col-span-5">
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ type RetreatsBandProps = { id: string; title: string; blurb?: string | null }
|
|||
|
||||
export default function RetreatsBand({ id, title, blurb }: RetreatsBandProps) {
|
||||
return (
|
||||
<section id={id} className="overflow-hidden py-24" style={{ background: 'var(--color-tint)' }}>
|
||||
<section id={id} className="overflow-hidden py-24">
|
||||
<div className="mx-auto mb-12 flex max-w-6xl flex-wrap items-end gap-6 px-6">
|
||||
<div>
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
|
|
|
|||
|
|
@ -49,12 +49,6 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
|
|||
className="relative overflow-hidden py-24"
|
||||
style={{ background: '#004552' }}
|
||||
>
|
||||
<div
|
||||
className="pointer-events-none absolute -left-40 -top-40 h-[32rem] w-[32rem] rounded-full opacity-25 blur-3xl"
|
||||
style={{ background: '#c2ffd6' }}
|
||||
aria-hidden="true"
|
||||
/>
|
||||
|
||||
<div className="relative mx-auto max-w-6xl px-6">
|
||||
<h2 className="font-display text-3xl font-bold text-white md:text-4xl">
|
||||
{title}
|
||||
|
|
|
|||
|
|
@ -6,56 +6,6 @@
|
|||
prefers-reduced-motion; the page still reads the same without it.
|
||||
═══════════════════════════════════════════════════════════════ */
|
||||
|
||||
/* ── Hero: brand mode aurora ─────────────────────────────────── */
|
||||
|
||||
.hp-aurora {
|
||||
position: absolute;
|
||||
border-radius: 9999px;
|
||||
filter: blur(80px);
|
||||
opacity: 0.55;
|
||||
will-change: transform;
|
||||
}
|
||||
|
||||
.hp-aurora--a { animation: hp-drift-a 22s ease-in-out infinite alternate; }
|
||||
.hp-aurora--b { animation: hp-drift-b 28s ease-in-out infinite alternate; }
|
||||
.hp-aurora--c { animation: hp-drift-c 34s ease-in-out infinite alternate; }
|
||||
|
||||
@keyframes hp-drift-a {
|
||||
from { transform: translate(-10%, -5%) scale(1); }
|
||||
to { transform: translate(15%, 10%) scale(1.25); }
|
||||
}
|
||||
@keyframes hp-drift-b {
|
||||
from { transform: translate(10%, 5%) scale(1.1); }
|
||||
to { transform: translate(-20%, -10%) scale(0.9); }
|
||||
}
|
||||
@keyframes hp-drift-c {
|
||||
from { transform: translate(0, 10%) scale(0.9); }
|
||||
to { transform: translate(-10%, -15%) scale(1.2); }
|
||||
}
|
||||
|
||||
/* Concentric rings: many circles, one center. */
|
||||
.hp-rings {
|
||||
animation: hp-spin 90s linear infinite;
|
||||
transform-origin: 50% 50%;
|
||||
}
|
||||
.hp-rings--reverse { animation-direction: reverse; animation-duration: 140s; }
|
||||
|
||||
@keyframes hp-spin {
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
/* The dove at the rings' center bobs gently rather than turning. */
|
||||
.hp-dove {
|
||||
animation: hp-bob 6s ease-in-out infinite;
|
||||
transform-box: fill-box;
|
||||
transform-origin: center;
|
||||
}
|
||||
|
||||
@keyframes hp-bob {
|
||||
0%, 100% { transform: translateY(0); }
|
||||
50% { transform: translateY(-4px); }
|
||||
}
|
||||
|
||||
/* ── Hero: headline words rise in ────────────────────────────── */
|
||||
|
||||
.hp-rise {
|
||||
|
|
@ -103,17 +53,6 @@
|
|||
to { transform: scaleX(1); }
|
||||
}
|
||||
|
||||
/* ── Hero: LIVE ──────────────────────────────────────────────── */
|
||||
|
||||
.hp-live-dot {
|
||||
box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7);
|
||||
animation: hp-pulse 1.6s ease-out infinite;
|
||||
}
|
||||
|
||||
@keyframes hp-pulse {
|
||||
to { box-shadow: 0 0 0 12px rgba(255, 77, 77, 0); }
|
||||
}
|
||||
|
||||
/* ── Timeline rail ───────────────────────────────────────────── */
|
||||
|
||||
.hp-rail {
|
||||
|
|
@ -147,11 +86,7 @@
|
|||
.hp-stat--in { opacity: 1; transform: none; }
|
||||
|
||||
@media (prefers-reduced-motion: reduce) {
|
||||
.hp-aurora,
|
||||
.hp-rings,
|
||||
.hp-dove,
|
||||
.hp-slide--on img,
|
||||
.hp-live-dot {
|
||||
.hp-slide--on img {
|
||||
animation: none;
|
||||
}
|
||||
.hp-rise,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue