add static address + map block

This commit is contained in:
2024-07-07 16:47:33 +02:00
parent aeb5c88a54
commit e03e2624db
17 changed files with 298 additions and 8 deletions

View File

@ -4,7 +4,6 @@ import { getClient } from "@/app/client";
import { Blocks } from "@/components/blocks/Blocks";
import { notFound } from "next/navigation";
import { PageHeader } from "@/components/general/PageHeader";
import { AddressSection } from "@/components/blocks/AddressSection";
export const dynamicParams = false;
@ -78,7 +77,6 @@ export default async function Page({ params }: { params: { url: string[] } }) {
<main className="site-main" id="main">
<PageHeader heading={page.title} lead={page.lead} />
<Blocks blocks={page.body} />
{page.title === "Praktisk info" && <AddressSection />}
</main>
);
}