diff options
| author | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 20:23:31 +0100 |
|---|---|---|
| committer | Joe Carstairs <jcarstairs@scottlogic.com> | 2023-08-15 20:23:31 +0100 |
| commit | c728854bd06f2610b2e0ec30af6d2f08e9c3f4cb (patch) | |
| tree | 54e236fcef276ea458a8b3a669679321b96babb3 /src/components/Navbar.astro | |
| parent | 124486696f361783e5f24854b3fecd22c63632d9 (diff) | |
Adds nav links
Diffstat (limited to 'src/components/Navbar.astro')
| -rw-r--r-- | src/components/Navbar.astro | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro index c4e31b2..40e671b 100644 --- a/src/components/Navbar.astro +++ b/src/components/Navbar.astro @@ -4,17 +4,21 @@ import SwitchLanguageLink from './SwitchLanguageLink.astro'; import tSite from '$i18n/translations/site'; import translate from '$i18n/translate'; import getLocaleFromPath from '$lib/getLocaleFromPath'; +import NavLinks from './NavLinks.astro'; const locale = getLocaleFromPath(Astro.url.pathname); const t = translate(locale); --- <nav> - <p class="title--small logo"> - <a href="/"> - {t(tSite, { key: 'scots-leid-associe' })} - </a> - </p> - <SwitchLanguageLink /> - <Breadcrumbs /> + <div class="nav__top-banner"> + <p class="title--small logo"> + <a href="/"> + {t(tSite, { key: 'scots-leid-associe' })} + </a> + </p> + <SwitchLanguageLink /> + <Breadcrumbs /> + </div> + <NavLinks /> </nav> |
