add general contact block

This commit is contained in:
elise
2024-08-09 15:20:56 +02:00
parent 7e0ee1f475
commit 297d0cb79a
4 changed files with 73 additions and 0 deletions

View File

@ -3,6 +3,7 @@ import { ContactIndexFragment } from "@/gql/graphql";
import { getClient } from "@/app/client";
import { PageHeader } from "@/components/general/PageHeader";
import { PageContent } from "@/components/general/PageContent";
import { GeneralContactBlock } from "@/components/blocks/GeneralContactBlock";
const ContactIndexDefinition = graphql(`
fragment ContactIndex on ContactIndex {
@ -32,6 +33,7 @@ export default async function Page() {
return (
<main className="site-main" id="main">
<PageHeader heading={index.title} lead={index.lead} />
<GeneralContactBlock />
{index.body && <PageContent blocks={index.body} />}
</main>
);