add lead to association header, tidy up

This commit is contained in:
elise
2024-08-12 13:24:36 +02:00
parent e0cb1a89eb
commit bfdcdfa636
3 changed files with 22 additions and 9 deletions

View File

@ -71,12 +71,6 @@ export default async function Page({ params }: { params: { slug: string } }) {
return (
<main className="site-main" id="main">
<AssociationHeader association={association} />
{association.lead && (
<div
className="lead"
dangerouslySetInnerHTML={{ __html: association.lead }}
/>
)}
<PageContent blocks={association.body} />
</main>
);