Adds the Over mij section to the homepage
Adds the introduction block with a framed photo of Andrea and a link to the about page. Brings in FramedImage and an underline link variant for the later blocks, and narrows the load margin of deferred photos so nothing below the hero starts loading before the hero has painted. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -7,6 +7,8 @@ type SectionHeadingProps = {
|
||||
eyebrow?: string;
|
||||
lead?: string;
|
||||
align?: 'center' | 'start';
|
||||
// compact: little space below, for a heading above running text
|
||||
spacing?: 'default' | 'compact';
|
||||
};
|
||||
|
||||
// Heading block of a homepage section (design .section__head): optional
|
||||
@@ -17,6 +19,7 @@ export default function SectionHeading({
|
||||
eyebrow,
|
||||
lead,
|
||||
align = 'center',
|
||||
spacing = 'default',
|
||||
}: SectionHeadingProps) {
|
||||
const centered = align === 'center';
|
||||
|
||||
@@ -24,7 +27,7 @@ export default function SectionHeading({
|
||||
<Box
|
||||
maxW="620px"
|
||||
mx={centered ? 'auto' : undefined}
|
||||
mb="sectionHeadGap"
|
||||
mb={spacing === 'compact' ? 6 : 'sectionHeadGap'}
|
||||
textAlign={centered ? 'center' : 'start'}
|
||||
>
|
||||
{eyebrow && (
|
||||
|
||||
Reference in New Issue
Block a user