Timeline years as leaves, green now and turning autumn going back; notices instead of dashed boxes
A year's leaf eases from green to gold to autumn between this year and 2000 (leafColor in color.ts); every year before 2000 is fully turned. Empty-section and form notes use one notice style, a flat tinted panel with a solid left bar. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
592e07f614
commit
d5428297a4
12 changed files with 99 additions and 66 deletions
|
|
@ -12,7 +12,7 @@ const CONTACT = 'info@nextgenerationofunity.org'
|
|||
export default function ComingSoon({ what }: { what: string }) {
|
||||
return (
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<p className="max-w-xl border border-dashed border-brand/30 bg-surface/60 p-6 text-body">
|
||||
<p className="notice max-w-xl p-6 text-body">
|
||||
We’re putting {what} together. In the meantime, ask us at{' '}
|
||||
<a href={`mailto:${CONTACT}`} className="font-semibold text-link underline underline-offset-2">
|
||||
{CONTACT}
|
||||
|
|
|
|||
|
|
@ -187,7 +187,7 @@ function Entry({ entry, accent }: { entry: ContentBlockItem; accent: string }) {
|
|||
<button
|
||||
type="button"
|
||||
onClick={() => setShowMap(true)}
|
||||
className="flex aspect-video w-full flex-col items-center justify-center gap-1 border border-dashed text-sm"
|
||||
className="flex aspect-video w-full flex-col items-center justify-center gap-1 bg-tint-soft text-sm"
|
||||
style={{ borderColor: `${withAlpha(accent, 33)}`, color: BODY }}
|
||||
>
|
||||
<span className="font-semibold">Show map</span>
|
||||
|
|
|
|||
|
|
@ -710,7 +710,7 @@ export function Repeater({
|
|||
))}
|
||||
|
||||
{spec.preview && PREVIEWS[spec.preview] && (
|
||||
<div className="mt-4 border border-dashed border-brand/30 bg-surface p-4">
|
||||
<div className="notice mt-4 p-4">
|
||||
<p className="mb-3 text-xs font-semibold uppercase tracking-wider text-muted/70">
|
||||
Preview
|
||||
</p>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue