summaryrefslogtreecommitdiff
path: root/src/components/Navbar.astro
diff options
context:
space:
mode:
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>