From 18bee7d6ed44cd836097195d5ba331f1ed73eed3 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <118172583+jcarstairs-scottlogic@users.noreply.github.com> Date: Mon, 29 Jan 2024 12:07:40 +0000 Subject: Adds no-breadcrumbs variant of the navbar (#75) --- src/components/Navbar/Navbar.astro | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'src/components') diff --git a/src/components/Navbar/Navbar.astro b/src/components/Navbar/Navbar.astro index 4fa05a9..0722f01 100644 --- a/src/components/Navbar/Navbar.astro +++ b/src/components/Navbar/Navbar.astro @@ -3,13 +3,19 @@ import Breadcrumbs from './Breadcrumbs.astro'; import SwitchLanguageLink from '../SwitchLanguageLink.astro'; import NavLinks from './NavLinks.astro'; import Logo from './Logo.astro'; + +interface Props { + noBreadcrumbs?: boolean; +} + +const { noBreadcrumbs } = Astro.props; --- -- cgit v1.2.3