Mobile: community map, cards, schedule, stats, banner, tap targets
- The community map keeps a readable size on a phone and scrolls sideways in its own box; group cards wrap their controls under the name, with smaller logos and 40px buttons; group details likewise. - Org list cards, the stats numbers and the front page timeline rail cards size down on phones (the stats band unchanged from sm up). - Schedule entries put the time on its own line on a phone; 40px fold-out toggles. - The banner gives its text the room on a phone, with a 40px dismiss button. - Email addresses may break anywhere (one rule for every mailto: link), so a long one can't push past the screen. - Footer site-map links, the arrow links and the accessibility panel's close button are larger targets; the open accessibility panel sits above the privacy notice; the timeline's "still to come" list reads in full on touch screens. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
a907a47c24
commit
8d319bcaaa
11 changed files with 62 additions and 39 deletions
|
|
@ -55,14 +55,14 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
|
|||
</h2>
|
||||
{blurb && <p className="mt-3 max-w-2xl text-white/70">{blurb}</p>}
|
||||
|
||||
<dl className="mt-12 grid grid-cols-2 gap-x-8 gap-y-14 md:grid-cols-4">
|
||||
<dl className="mt-12 grid grid-cols-2 gap-x-4 gap-y-14 sm:gap-x-8 md:grid-cols-4">
|
||||
{stats.map((stat, index) => (
|
||||
<div
|
||||
key={`${stat.label}-${index}`}
|
||||
className={`hp-stat border-l border-white/15 pl-6 ${seen ? 'hp-stat--in' : ''}`}
|
||||
className={`hp-stat border-l border-white/15 pl-4 sm:pl-6 ${seen ? 'hp-stat--in' : ''}`}
|
||||
style={{ transitionDelay: `${index * 120}ms` }}
|
||||
>
|
||||
<dd className="font-display text-5xl font-extrabold leading-none text-white md:text-6xl">
|
||||
<dd className="font-display text-4xl font-extrabold leading-none text-white sm:text-5xl md:text-6xl">
|
||||
<CountUp value={stat.value} run={seen} />
|
||||
{stat.suffix && <span className="text-[#f0bd4f]">{stat.suffix}</span>}
|
||||
</dd>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue