Makes the homepage headings and review text smaller

Section headings are now 30px at every width instead of growing to 40px,
the package names on the price cards 24px, and the review quotes run from
18.4px to 22px, so the hierarchy stays clear after the smaller headings.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-22 00:26:41 +02:00
co-authored by Claude Opus 5.5
parent 0b00b781b9
commit f8905f5586
3 changed files with 9 additions and 4 deletions
@@ -37,7 +37,9 @@ export default function PriceCard({ pkg }: PriceCardProps) {
// booking button reacts
textAlign="center"
>
<Heading as="h3" fontSize="1.75rem" mb={3}>
{/* Smaller than the design's 1.75rem: stays clearly below the
30px section h2 (owner's request) */}
<Heading as="h3" fontSize="1.5rem" mb={3}>
{pkg.name}
</Heading>
{/* accent.deep instead of the design's accent: meets 4.5:1 (NFR-HP-01) */}
@@ -51,9 +51,11 @@ export default function TestimonialSlide({
{/* Plain elements, not Chakra's Blockquote: its slot recipe
would pull shared code into the chunk the hero waits for */}
<chakra.figure display="flex" flexDirection="column" gap={7}>
{/* Smaller than the design's clamp(1.35rem, 2.2vw,
1.75rem) at the owner's request: 18.4px to 22px */}
<chakra.blockquote
fontFamily="heading"
fontSize="clamp(1.35rem, 2.2vw, 1.75rem)"
fontSize="clamp(1.15rem, 1.7vw, 1.375rem)"
lineHeight="1.5"
color="ink"
>
+3 -2
View File
@@ -180,11 +180,12 @@ const config = defineConfig({
lineHeight: '1',
},
},
// The h2 of a homepage section (SectionHeading)
// The h2 of a homepage section (SectionHeading); smaller than the
// design's 2.5rem at the owner's request, 30px at every width
sectionTitle: {
value: {
fontFamily: 'heading',
fontSize: { base: '1.85rem', md: '2.125rem', xl: '2.5rem' },
fontSize: '1.875rem',
lineHeight: '1.15',
},
},