U6: prerender statische tekst bij build, OG-afbeelding (simpele versie), opzet privacyverklaring
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import { contactInfo } from '../data/content';
|
||||
import { ContactPanel } from './ContactPanel';
|
||||
|
||||
@@ -5,7 +6,7 @@ import { ContactPanel } from './ContactPanel';
|
||||
* Contact block of design B: brand-red section with the display heading, intro, mail link and a
|
||||
* panel on the right (mailto call-to-action or the contact form, see ContactPanel).
|
||||
*/
|
||||
export function ContactSection() {
|
||||
export function ContactSection({ panel = <ContactPanel /> }: { panel?: ReactNode }) {
|
||||
return (
|
||||
<section id="contact" aria-labelledby="contact-heading" className="bg-brand text-on-brand">
|
||||
<div className="mx-auto max-w-[1280px] px-6 pb-24 pt-20 sm:px-8 md:pb-[136px] md:pt-32">
|
||||
@@ -32,7 +33,7 @@ export function ContactSection() {
|
||||
{contactInfo.email}
|
||||
</a>
|
||||
</div>
|
||||
<ContactPanel />
|
||||
{panel}
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
Reference in New Issue
Block a user