Adds the homepage sections below the hero #6

Merged
Sluijsens merged 15 commits from feature/homepage-sections into master 2026-10-22 02:40:58 +02:00
3 changed files with 9 additions and 4 deletions
Showing only changes of commit f8905f5586 - Show all commits
@@ -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',
},
},