Breadcrumbs with navigation
All checks were successful
Build and deploy website / build (push) Successful in 38s

This commit is contained in:
2025-03-15 15:34:24 +01:00
parent 097850267c
commit 05ef06f95c
4 changed files with 62 additions and 3 deletions

View File

@ -1,8 +1,8 @@
---
import Footer from "@/components/Footer.astro"
import Header from "@/components/header/Header.astro"
import Breadcrumb from "@/components/Breadcrumb.astro"
import { languageTag } from "@/paraglide/runtime"
import { resolvePathname } from "@/utils/linking"
interface Props {
title: string
@ -33,7 +33,7 @@ const mainClass =
<Header />
<main class:list={[mainClass, clazz]}>
<h1 class="text-center not-sm:hidden">
~{resolvePathname(Astro.originPathname)}
<Breadcrumb />
</h1>
<div class="my-5">
<slot />