Overhaul fixes: raised cards, balanced people rows, solid map, small button radius
- Cards sit on a raised surface (white, or a touch of tint in dark mode) with a shadow: featured cards, the connect block, people tiles. tint-soft is a faint teal again, not green. - Buttons: a small plain radius everywhere; no superellipse. - Video stills use YouTube's 16:9 frame (the 4:3 one cropped as a fallback), have small rounded corners, and show a round, centered play button on hover or focus (always on touch screens). - People tiles: rows balanced between 2 and 10 across, never ending on a lone tile where it can be helped. - Map tiles and region tags are solid, dimmed by color, not opacity. - Admin: white (surface) background, header and footer as wide as the content. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
582c65077d
commit
a397f3eac0
12 changed files with 165 additions and 61 deletions
|
|
@ -107,7 +107,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
|
|||
<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>}
|
||||
|
||||
<div className="mt-12 overflow-hidden">
|
||||
<div className="mt-12 overflow-hidden shadow-md">
|
||||
<div className="-mr-[4px] -mb-[4px]">
|
||||
<div
|
||||
role="tablist"
|
||||
|
|
@ -134,7 +134,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
|
|||
tabIndex={on ? 0 : -1}
|
||||
onClick={() => setSelected(index)}
|
||||
className={`${cell} flex items-center gap-4 px-6 py-6 text-left transition-colors duration-300 ${
|
||||
on ? '' : 'bg-surface hover:bg-tint-soft'
|
||||
on ? '' : 'bg-raised hover:bg-tint-soft'
|
||||
}`}
|
||||
style={on ? { background: color, color: readableOn(color) } : undefined}
|
||||
>
|
||||
|
|
@ -173,7 +173,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
|
|||
<HomeLink
|
||||
key={`${action.url}-${index}`}
|
||||
url={action.url}
|
||||
className={`${cell} hp-pop group flex flex-col bg-surface p-8 transition-colors duration-200 hover:bg-tint-soft`}
|
||||
className={`${cell} hp-pop group flex flex-col bg-raised p-8 transition-colors duration-200 hover:bg-tint-soft`}
|
||||
style={{ animationDelay: `${120 + index * 90}ms` }}
|
||||
>
|
||||
<span className="flex items-start gap-2 font-display text-lg font-bold text-ink">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue