move foreninger lead into component
This commit is contained in:
@ -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>
|
||||||
|
Reference in New Issue
Block a user