move foreninger lead into component

This commit is contained in:
elise
2024-08-05 22:48:33 +02:00
parent 8442ee81f3
commit f4e88d8baa

View File

@ -59,13 +59,7 @@ export default async function Page() {
return ( return (
<main className="site-main" id="main"> <main className="site-main" id="main">
<PageHeader heading={index.title} /> <PageHeader heading={index.title} lead={index.lead} />
{index.lead && (
<div
className="lead"
dangerouslySetInnerHTML={{ __html: index.lead }}
/>
)}
{index.body && <Blocks blocks={index.body} />} {index.body && <Blocks blocks={index.body} />}
<AssociationList associations={associations} /> <AssociationList associations={associations} />
</main> </main>