Set titles and headings in Poppins Bold, subheadings regular
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
d81f7bd856
commit
3dfc31fd85
30 changed files with 50 additions and 47 deletions
|
|
@ -55,7 +55,7 @@ export function PostCard({ post, accent }: { post: BlogPostSummary; accent: stri
|
|||
{[date, ...post.tags].filter(Boolean).join(' · ')}
|
||||
</p>
|
||||
)}
|
||||
<h4 className="mt-2 font-display text-xl font-extrabold leading-snug text-ink">
|
||||
<h4 className="mt-2 font-display text-xl font-bold leading-snug text-ink">
|
||||
<Link
|
||||
to={blogHref(post.id)}
|
||||
className="after:absolute after:inset-0 after:content-[''] hover:underline"
|
||||
|
|
@ -74,7 +74,7 @@ export function PostCard({ post, accent }: { post: BlogPostSummary; accent: stri
|
|||
|
||||
function Subheading({ children, accent }: { children: string; accent: string }) {
|
||||
return (
|
||||
<h3 className="text-2xl font-extrabold" style={{ color: accentText(accent) }}>
|
||||
<h3 className="text-2xl font-bold" style={{ color: accentText(accent) }}>
|
||||
{children}
|
||||
</h3>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -689,7 +689,7 @@ function MonthList({
|
|||
<p className="text-xs font-bold uppercase tracking-widest" style={{ color: accentText(accent) }}>
|
||||
{d.toLocaleDateString(undefined, { weekday: 'short' })}
|
||||
</p>
|
||||
<p className="font-display text-3xl font-extrabold leading-none">{d.getDate()}</p>
|
||||
<p className="font-display text-3xl font-bold leading-none">{d.getDate()}</p>
|
||||
</div>
|
||||
<ul className="min-w-0 flex-1 space-y-3">
|
||||
{list.map((item) => (
|
||||
|
|
|
|||
|
|
@ -197,7 +197,7 @@ export function Card({
|
|||
<Logo src={orgLogo} className="ev-org h-11 w-auto mb-4" />
|
||||
<div className="ev-info">
|
||||
{typeBadge}
|
||||
<h3 className="text-3xl font-extrabold leading-tight">
|
||||
<h3 className="text-3xl font-bold leading-tight">
|
||||
<TitleLink ev={ev} linked={linked}>
|
||||
{ev.title}
|
||||
</TitleLink>
|
||||
|
|
@ -225,7 +225,7 @@ export function Card({
|
|||
<div className="md:col-span-2">
|
||||
<Logo src={orgLogo} className="h-15 w-auto mb-6" />
|
||||
{typeBadge}
|
||||
<h3 className="text-4xl font-extrabold">
|
||||
<h3 className="text-4xl font-bold">
|
||||
<TitleLink ev={ev} linked={linked}>
|
||||
{ev.title}
|
||||
</TitleLink>
|
||||
|
|
@ -576,7 +576,7 @@ export default function EventListCards({
|
|||
{pastEvents.length > 0 && (
|
||||
<div className="mt-12">
|
||||
<h3
|
||||
className="text-2xl font-extrabold mb-6"
|
||||
className="text-2xl font-display font-bold mb-6"
|
||||
style={{ color: accentText(accent), opacity: 0.85 }}
|
||||
>
|
||||
Past Events
|
||||
|
|
|
|||
|
|
@ -180,7 +180,7 @@ function LocationPicker({ page, section, onPageChange, onSectionChange }) {
|
|||
return (
|
||||
<div>
|
||||
<div className="flex flex-wrap items-center">
|
||||
<h3 className="text-base font-semibold text-body">
|
||||
<h3 className="text-base font-bold text-body">
|
||||
Where did you run into it?
|
||||
</h3>
|
||||
<OptionalTag />
|
||||
|
|
@ -415,7 +415,7 @@ export default function FeedbackForm({ fixedType }: { fixedType?: string } = {})
|
|||
{/* Optional contact details */}
|
||||
<div className="mt-8 border border-dashed border-muted/30 bg-tint/60 p-5 sm:p-6">
|
||||
<div className="flex flex-wrap items-center">
|
||||
<h3 className="text-base font-semibold text-body">
|
||||
<h3 className="text-base font-bold text-body">
|
||||
{request ? "How we reach you" : "Your details"}
|
||||
</h3>
|
||||
{!request && <OptionalTag />}
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ function OrgCard({ org, accent, pageLabel, siteLabel }) {
|
|||
<OrgLogo org={org} color={color} />
|
||||
|
||||
<div className="min-w-0 flex-1">
|
||||
<h3 className="text-xl font-extrabold leading-tight" style={{ color }}>
|
||||
<h3 className="text-xl font-bold leading-tight" style={{ color }}>
|
||||
{org.name}
|
||||
</h3>
|
||||
{subtitle && (
|
||||
|
|
@ -117,7 +117,7 @@ function Block({ title, orgs, accent, pageLabel, siteLabel }) {
|
|||
return (
|
||||
<section className="mb-12">
|
||||
{title && (
|
||||
<h3 className="text-xl font-extrabold mb-5" style={{ color: FALLBACK_COLOR }}>
|
||||
<h3 className="text-xl font-bold mb-5" style={{ color: FALLBACK_COLOR }}>
|
||||
{title}
|
||||
</h3>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -70,7 +70,7 @@ function Blocks({ blocks = [] as any[], color }) {
|
|||
switch (block.type) {
|
||||
case "heading":
|
||||
return (
|
||||
<h4 key={i} className="text-lg font-extrabold">
|
||||
<h4 key={i} className="text-lg font-bold">
|
||||
{block.text}
|
||||
</h4>
|
||||
);
|
||||
|
|
@ -374,7 +374,7 @@ function RegionBlock({
|
|||
>
|
||||
{/* The heading holds the button, not the other way round: a
|
||||
heading inside a button stops being a heading. */}
|
||||
<h4 className={`font-extrabold ${indent ? "text-lg" : "text-xl"}`} style={{ color: INK }}>
|
||||
<h4 className={`font-bold ${indent ? "text-lg" : "text-xl"}`} style={{ color: INK }}>
|
||||
<button
|
||||
onClick={() => setSelected(on ? null : region.id)}
|
||||
onMouseEnter={() => setHovered(region.id)}
|
||||
|
|
@ -547,7 +547,7 @@ function GroupDetail({ group, region, onClose }) {
|
|||
<OrgLogo org={group} color={colorOf(region)} size="h-20 w-20" />
|
||||
|
||||
<div className="min-w-0 flex-1">
|
||||
<p className="text-2xl font-extrabold leading-tight">{group.name}</p>
|
||||
<p className="text-2xl font-display font-bold leading-tight">{group.name}</p>
|
||||
<p style={{ color: FALLBACK_COLOR }}>{group.location_label}</p>
|
||||
</div>
|
||||
|
||||
|
|
@ -633,7 +633,7 @@ function GroupGrid({ regions, groups, groupsIn, subtextFor, openId, setOpenId })
|
|||
className="h-3 w-3 rounded-full shrink-0"
|
||||
style={{ background: colorOf(region) }}
|
||||
/>
|
||||
<h3 className="text-2xl font-extrabold" style={{ color: colorOf(region) }}>
|
||||
<h3 className="text-2xl font-bold" style={{ color: colorOf(region) }}>
|
||||
{region.name}
|
||||
</h3>
|
||||
<span className="text-sm" style={{ color: MUTED }}>
|
||||
|
|
@ -871,13 +871,13 @@ export default function OrgListMap({ view = "map", accent = FALLBACK_COLOR }) {
|
|||
ref={listRef}
|
||||
className="relative lg:h-0 lg:min-h-full overflow-y-auto pr-2"
|
||||
>
|
||||
<h3 className="text-xl font-extrabold mb-1" style={{ color: FALLBACK_COLOR }}>
|
||||
<h3 className="text-xl font-bold mb-1" style={{ color: FALLBACK_COLOR }}>
|
||||
{US_TITLE}
|
||||
</h3>
|
||||
{domestic.map(r => block(r, true))}
|
||||
|
||||
<h3
|
||||
className="text-xl font-extrabold mt-6 mb-1 pt-4"
|
||||
className="text-xl font-display font-bold mt-6 mb-1 pt-4"
|
||||
style={{ color: FALLBACK_COLOR, borderTop: `1px solid ${RULE}` }}
|
||||
>
|
||||
{INTL_TITLE}
|
||||
|
|
|
|||
|
|
@ -68,7 +68,7 @@ function OrgMark({ org, color }) {
|
|||
<span className="h-3 w-3 rounded-full shrink-0" style={{ background: color }} aria-hidden="true" />
|
||||
) : (
|
||||
<span
|
||||
className="h-8 w-8 shrink-0 flex items-center justify-center text-xs font-extrabold"
|
||||
className="h-8 w-8 shrink-0 flex items-center justify-center text-xs font-display font-bold"
|
||||
style={{ border: `1px solid ${color}`, color: accentText(color) }}
|
||||
aria-hidden="true"
|
||||
>
|
||||
|
|
@ -114,7 +114,7 @@ function OrgRow({ org, pageLabel, siteLabel }) {
|
|||
<OrgMark org={org} color={color} />
|
||||
|
||||
<span className="min-w-0">
|
||||
<span className="block font-extrabold text-lg leading-tight" style={{ color }}>
|
||||
<span className="block font-display font-bold text-lg leading-tight" style={{ color }}>
|
||||
{org.name}
|
||||
</span>
|
||||
{summary && (
|
||||
|
|
@ -224,7 +224,7 @@ function Block({ title, orgs, pageLabel, siteLabel }) {
|
|||
return (
|
||||
<section className="mb-10">
|
||||
{title && (
|
||||
<h3 className="text-xl font-extrabold mb-1" style={{ color: FALLBACK_COLOR }}>
|
||||
<h3 className="text-xl font-bold mb-1" style={{ color: FALLBACK_COLOR }}>
|
||||
{title}
|
||||
</h3>
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -318,7 +318,7 @@ export default function RequestForm() {
|
|||
)}
|
||||
|
||||
<div className="mt-8 border border-dashed border-muted/30 bg-tint/60 p-5 sm:p-6">
|
||||
<h3 className="text-base font-semibold text-body">How we reach you</h3>
|
||||
<h3 className="text-base font-bold text-body">How we reach you</h3>
|
||||
<p className="mt-1 max-w-prose text-sm" style={{ color: MUTED }}>
|
||||
We use these only to follow up on this request, and we won't add you to any list.
|
||||
</p>
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ export default function CalendarBand({ id, title, blurb }: CalendarBandProps) {
|
|||
<section id={id} className="py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<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-extrabold text-ink md:text-5xl">
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
{title}
|
||||
</h2>
|
||||
{blurb && <p className="mt-3 max-w-xl text-lg text-muted">{blurb}</p>}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export default function FeaturedBand({ id, title, blurb, cards }: FeaturedBandPr
|
|||
return (
|
||||
<section id={id} className="py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<div className="mx-auto max-w-6xl px-6">
|
||||
<h2 className="font-display text-4xl font-extrabold text-ink md:text-5xl">{title}</h2>
|
||||
<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">
|
||||
<FeaturedCards cards={cards} />
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ export default function FeaturedTimelineRail({ id, title, blurb }: RailProps) {
|
|||
<section id={id} className="overflow-hidden py-24" style={{ background: 'var(--color-tint-soft)' }}>
|
||||
<div className="mx-auto flex max-w-6xl flex-wrap items-end gap-6 px-6">
|
||||
<div>
|
||||
<h2 className="font-display text-4xl font-extrabold text-ink md:text-5xl">
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
{title}
|
||||
</h2>
|
||||
{blurb && <p className="mt-3 max-w-xl text-lg text-muted">{blurb}</p>}
|
||||
|
|
@ -158,7 +158,7 @@ export default function FeaturedTimelineRail({ id, title, blurb }: RailProps) {
|
|||
className="flex flex-1 flex-col justify-center p-8 text-white transition-transform duration-300 hover:-translate-y-1"
|
||||
style={{ background: BRAND }}
|
||||
>
|
||||
<span className="font-display text-2xl font-extrabold">The whole story</span>
|
||||
<span className="font-display text-2xl font-bold">The whole story</span>
|
||||
<span className="mt-2 text-white/75">Every year, every milestone.</span>
|
||||
<span className="mt-6 font-semibold">See the full history <ArrowRight size="1em" weight="bold" className="inline align-[-0.125em]" aria-hidden="true" /></span>
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -157,7 +157,7 @@ function Words({ hero, feature }: { hero: Hero; feature: HeroFeature }) {
|
|||
by over a second. Sized so an admin's headline stays within
|
||||
about two lines. */}
|
||||
<h1
|
||||
className={`hp-rise font-display font-extrabold leading-[1.02] tracking-tight ${
|
||||
className={`hp-rise font-display font-bold leading-[1.02] tracking-tight ${
|
||||
beside ? 'text-4xl md:text-5xl' : 'text-5xl md:text-6xl lg:text-7xl'
|
||||
}`}
|
||||
style={{ animationDelay: '60ms' }}
|
||||
|
|
@ -477,7 +477,7 @@ function EventPanel({ event }: { event: HeroEvent }) {
|
|||
|
||||
<div className="space-y-4 p-8">
|
||||
<div>
|
||||
<h2 className="font-display text-3xl font-extrabold leading-tight md:text-4xl">
|
||||
<h2 className="font-display text-3xl font-bold leading-tight md:text-4xl">
|
||||
<Link to={eventHref(event.id)} className="hover:underline">
|
||||
{event.title}
|
||||
</Link>
|
||||
|
|
|
|||
|
|
@ -93,7 +93,7 @@ export default function NextEventCountdown({
|
|||
<p className="text-xs font-bold uppercase tracking-[0.25em]" style={{ color: accentText(accent) }}>
|
||||
{live ? 'Happening now' : 'Next up'}
|
||||
</p>
|
||||
<p className="mt-1 truncate font-display text-2xl font-extrabold text-ink md:text-3xl">
|
||||
<p className="mt-1 truncate font-display text-2xl font-bold text-ink md:text-3xl">
|
||||
{event.title}
|
||||
</p>
|
||||
<p className="mt-1 text-sm text-muted">
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@ export default function Pathfinder({ id, title, blurb, paths }: PathfinderProps)
|
|||
<div className="mx-auto max-w-6xl px-6">
|
||||
<div className="grid gap-12 lg:grid-cols-12">
|
||||
<div className="lg:col-span-5">
|
||||
<h2 className="font-display text-4xl font-extrabold text-ink md:text-5xl">
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
{title}
|
||||
</h2>
|
||||
{blurb && <p className="mt-4 text-lg text-muted">{blurb}</p>}
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ export default function RetreatsBand({ id, title, blurb }: RetreatsBandProps) {
|
|||
<section id={id} className="overflow-hidden py-24" style={{ background: 'var(--color-tint)' }}>
|
||||
<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-extrabold text-ink md:text-5xl">
|
||||
<h2 className="font-display text-4xl font-bold text-ink md:text-5xl">
|
||||
{title}
|
||||
</h2>
|
||||
{blurb && <p className="mt-3 max-w-xl text-lg text-muted">{blurb}</p>}
|
||||
|
|
|
|||
|
|
@ -56,7 +56,7 @@ export default function StatsBand({ id, title, blurb, stats }: StatsBandProps) {
|
|||
/>
|
||||
|
||||
<div className="relative mx-auto max-w-6xl px-6">
|
||||
<h2 className="font-display text-3xl font-extrabold text-white md:text-4xl">
|
||||
<h2 className="font-display text-3xl font-bold text-white md:text-4xl">
|
||||
{title}
|
||||
</h2>
|
||||
{blurb && <p className="mt-3 max-w-2xl text-white/70">{blurb}</p>}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue