summaryrefslogtreecommitdiff
path: root/src/components/Navbar.astro
diff options
context:
space:
mode:
authorJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-18 21:28:17 +0100
committerJoe Carstairs <65492573+Sycamost@users.noreply.github.com>2023-08-18 21:38:16 +0100
commita56344ea9aced15fc4d2932d48cb2efd7f452e94 (patch)
tree12e58f6a0699291d4c5aea5c36d251db845f895b /src/components/Navbar.astro
parent57b86c33a183e11652215f8588f728476f176fc5 (diff)
Pulls out nav module
Diffstat (limited to 'src/components/Navbar.astro')
-rw-r--r--src/components/Navbar.astro24
1 files changed, 0 insertions, 24 deletions
diff --git a/src/components/Navbar.astro b/src/components/Navbar.astro
deleted file mode 100644
index 654b085..0000000
--- a/src/components/Navbar.astro
+++ /dev/null
@@ -1,24 +0,0 @@
----
-import Breadcrumbs from './Breadcrumbs.astro';
-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 nav__logo">
- <a href="/">
- {t(tSite, { key: 'scots-leid-associe' })}
- </a>
- </p>
- <NavLinks />
- <div class="nav__bottom-row">
- <SwitchLanguageLink />
- <Breadcrumbs />
- </div>
-</nav>