make separate component for pageContent
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import { getClient } from "@/app/client";
|
||||
import { Blocks } from "@/components/blocks/Blocks";
|
||||
import { Breadcrumb } from "@/components/general/Breadcrumb";
|
||||
import Icon from "@/components/general/Icon";
|
||||
import { Image } from "@/components/general/Image";
|
||||
import { PageContent } from "@/components/general/PageContent";
|
||||
import { graphql } from "@/gql";
|
||||
import { AssociationFragment } from "@/gql/graphql";
|
||||
import Link from "next/link";
|
||||
@ -73,9 +73,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
|
||||
/>
|
||||
)}
|
||||
</section>
|
||||
<section className="pageContent">
|
||||
<Blocks blocks={association.body} />
|
||||
</section>
|
||||
<PageContent blocks={association.body} />
|
||||
</main>
|
||||
);
|
||||
}
|
||||
|
Reference in New Issue
Block a user