blob: d34bfc2c230b8667c2f54a82f0a8f0b4cae80d97 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
---
import type Locale from '../types/Locale';
import Breadcrumbs from './Breadcrumbs.astro';
import SwitchLanguageLink from './SwitchLanguageLink.astro';
import tSite from '../i18n/translations/site';
import translate from '../i18n/translate';
interface Props {
locale: Locale;
}
const { locale } = Astro.props;
const t = translate(locale);
---
<nav>
<p class="title--small logo">
<a href="/">
{t(tSite, { key: 'scots-leid-associe' })}
</a>
</p>
<SwitchLanguageLink currentLocale={locale} />
<Breadcrumbs />
</nav>
|