--- import { layers, type Layer } from "../lib/sections"; interface Props { layer: Exclude; loggedIn: boolean; } const { layer, loggedIn } = Astro.props; const config = layers[layer]; const currentPath = Astro.url.pathname; ---
{config.label} {layer === "shop" && ( )}