tidy up, add section header component with links + make breadcrumb component

This commit is contained in:
elise
2024-07-15 15:18:04 +02:00
parent e7fb07005c
commit ebb0ee41ff
14 changed files with 90 additions and 48 deletions

View File

@ -1,6 +1,7 @@
import { getClient } from "@/app/client";
import { Blocks } from "@/components/blocks/Blocks";
import { ImageSliderBlock } from "@/components/blocks/ImageSliderBlock";
import { Breadcrumb } from "@/components/general/Breadcrumb";
import { Image } from "@/components/general/Image";
import { NeufMap } from "@/components/venues/NeufMap";
import { VenueInfo } from "@/components/venues/VenueInfo";
@ -102,6 +103,7 @@ export default async function Page({ params }: { params: { slug: string } }) {
return (
<main className="site-main" id="main">
<ImageSliderBlock block={placeholderBlock} hero />
<Breadcrumb link="/utleie" text="Lokale" />
<h1 className="page-title">{venue.title}</h1>
{/*featuredImage && (
<Image