summaryrefslogtreecommitdiff
path: root/src/components/Navbar
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-12-26 16:05:14 +0000
committerJoe Carstairs <jcarstairs@scottlogic.com>2024-01-29 10:51:49 +0000
commit093622681c30e022a14543a73626b8ba9dd6e7dd (patch)
treec06ca182650f765e4b61a0c3680a766e9f0b55b9 /src/components/Navbar
parente8847d6c1aa7254928496ed855979bdcf9734ea5 (diff)
Better success page
Diffstat (limited to 'src/components/Navbar')
-rw-r--r--src/components/Navbar/Navbar.astro8
1 files changed, 7 insertions, 1 deletions
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;
---
<nav class="nav">
<Logo />
<NavLinks />
<div class="nav__bottom-row">
- <Breadcrumbs />
+ {!noBreadcrumbs && <Breadcrumbs />}
<SwitchLanguageLink />
</div>
</nav>