Adds the homepage sections below the hero #6
@@ -37,7 +37,9 @@ export default function PriceCard({ pkg }: PriceCardProps) {
|
|||||||
// booking button reacts
|
// booking button reacts
|
||||||
textAlign="center"
|
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}
|
{pkg.name}
|
||||||
</Heading>
|
</Heading>
|
||||||
{/* accent.deep instead of the design's accent: meets 4.5:1 (NFR-HP-01) */}
|
{/* 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
|
{/* Plain elements, not Chakra's Blockquote: its slot recipe
|
||||||
would pull shared code into the chunk the hero waits for */}
|
would pull shared code into the chunk the hero waits for */}
|
||||||
<chakra.figure display="flex" flexDirection="column" gap={7}>
|
<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
|
<chakra.blockquote
|
||||||
fontFamily="heading"
|
fontFamily="heading"
|
||||||
fontSize="clamp(1.35rem, 2.2vw, 1.75rem)"
|
fontSize="clamp(1.15rem, 1.7vw, 1.375rem)"
|
||||||
lineHeight="1.5"
|
lineHeight="1.5"
|
||||||
color="ink"
|
color="ink"
|
||||||
>
|
>
|
||||||
|
|||||||
+3
-2
@@ -180,11 +180,12 @@ const config = defineConfig({
|
|||||||
lineHeight: '1',
|
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: {
|
sectionTitle: {
|
||||||
value: {
|
value: {
|
||||||
fontFamily: 'heading',
|
fontFamily: 'heading',
|
||||||
fontSize: { base: '1.85rem', md: '2.125rem', xl: '2.5rem' },
|
fontSize: '1.875rem',
|
||||||
lineHeight: '1.15',
|
lineHeight: '1.15',
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user