blob: c4e31b2d4ce6cf2c8f96aa9469317693ec90d16a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
---
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';
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 />
</nav>
|