Adds the Contact section to the homepage
Adds the contact form with the live fields, validation and browser-side anti-spam, behind a coming-soon notice with a mail button until the API exists. A "Boek" link on a price card selects its package, tidies the URL and moves focus to the form. The form loads only when it comes near the screen, so the hero does not wait for it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { Blockquote, Box, Grid, Text } from '@chakra-ui/react';
|
||||
import { Box, chakra, Grid, Text } from '@chakra-ui/react';
|
||||
import FramedImage from '@/components/FramedImage/FramedImage';
|
||||
import type { Testimonial } from '@/content/types';
|
||||
|
||||
@@ -48,23 +48,25 @@ export default function TestimonialSlide({
|
||||
<Text textStyle="eyebrow" color="accent.deep" mb={4}>
|
||||
{testimonial.shoot}
|
||||
</Text>
|
||||
<Blockquote.Root variant="plain" px={0} gap={7}>
|
||||
<Blockquote.Content
|
||||
{/* 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}>
|
||||
<chakra.blockquote
|
||||
fontFamily="heading"
|
||||
fontSize="clamp(1.35rem, 2.2vw, 1.75rem)"
|
||||
lineHeight="1.5"
|
||||
color="ink"
|
||||
>
|
||||
{testimonial.quote}
|
||||
</Blockquote.Content>
|
||||
<Blockquote.Caption
|
||||
</chakra.blockquote>
|
||||
<chakra.figcaption
|
||||
textStyle="eyebrow"
|
||||
color="ink.soft"
|
||||
_before={{ content: '"— "' }}
|
||||
>
|
||||
{testimonial.author}
|
||||
</Blockquote.Caption>
|
||||
</Blockquote.Root>
|
||||
</chakra.figcaption>
|
||||
</chakra.figure>
|
||||
</Box>
|
||||
</Grid>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user