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
|
|
@ -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