feat(SW-285): Ship support for ContentPageBlocksContent

This commit is contained in:
Chuma McPhoy
2024-08-30 08:10:57 +02:00
parent b806824fde
commit 9a51cc6cb5
9 changed files with 198 additions and 13 deletions

View File

@@ -1,5 +1,6 @@
import { serverClient } from "@/lib/trpc/server"
import { Blocks } from "@/components/Content/Blocks"
import Hero from "@/components/Hero"
import Intro from "@/components/Intro"
import Preamble from "@/components/TempDesignSystem/Text/Preamble"
@@ -36,6 +37,7 @@ export default async function ContentPage() {
src={heroImage.url}
/>
) : null}
{contentPage.blocks ? <Blocks blocks={contentPage.blocks} /> : null}
</div>
</main>
</section>