Extracts shared section blocks for use beyond the homepage
HomeSection becomes PageSection, since every page needs the same section frame, and gains a flushTop spacing for a block right below a page head. The framed photo next to text from the homepage About block becomes MediaText, and the accent label that four components wrote out by hand becomes Eyebrow, which can also render as a heading. The homepage renders exactly as before: a layout comparison of every element against master at three widths shows no differences. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import { Box, chakra, Link, Text, useRecipe } from '@chakra-ui/react';
|
||||
import Eyebrow from '@/components/Eyebrow/Eyebrow';
|
||||
import type { EmailAddress } from '@/content/types';
|
||||
import { emailAddress } from '@/lib/emailAddress';
|
||||
import { mailtoLink } from '@/lib/mailLink';
|
||||
@@ -46,10 +47,7 @@ export default function ContactFormGate({
|
||||
textAlign="center"
|
||||
data-testid="contact-gate-notice"
|
||||
>
|
||||
{/* accent.deep instead of the design's accent: meets 4.5:1 */}
|
||||
<Text textStyle="eyebrow" color="accent.deep" mb={4}>
|
||||
Binnenkort
|
||||
</Text>
|
||||
<Eyebrow>Binnenkort</Eyebrow>
|
||||
<Text color="ink.soft" mb={address ? 7 : 0}>
|
||||
Het contactformulier komt binnenkort.
|
||||
{address && (
|
||||
|
||||
Reference in New Issue
Block a user