diff options
| author | Joe Carstairs <65492573+joeacarstairs@users.noreply.github.com> | 2024-10-13 17:49:03 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-10-13 17:49:03 +0100 |
| commit | 7eea6da108ab664cdc0e1a2691159cfafa981ac7 (patch) | |
| tree | 0e08447045bf28ab4210be7a9a0238eef9037168 /src/components | |
| parent | 2febffe5e3036c4b35dff4a8b274f42a7f8fef42 (diff) | |
| parent | dcdc91cbd06b82b042e601f792a1a5b08d9b82ce (diff) | |
Merge pull request #104 from joeacarstairs/staging
Update
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Navbar/NavLinks.astro | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/Navbar/NavLinks.astro b/src/components/Navbar/NavLinks.astro index 36c7f6f..2343a42 100644 --- a/src/components/Navbar/NavLinks.astro +++ b/src/components/Navbar/NavLinks.astro @@ -1,10 +1,11 @@ --- import { getLocaleFromPathOrDefault } from '$lib/getLocaleFromPath'; import translate from '$i18n/translate'; +import tContact from '$i18n/translations/pages/contact'; import tNews from '$i18n/translations/pages/news'; import tFurthsettins from '$i18n/translations/pages/furthsettins'; -import tHame from '$i18n/translations/pages/home'; import tJyne from '$i18n/translations/pages/jyne'; +import tSubmit from '$i18n/translations/pages/submit'; const locale = getLocaleFromPathOrDefault(Astro.url.pathname); const t = translate(locale); @@ -15,7 +16,7 @@ const t = translate(locale); <a class="btn" href={`/${locale}/news`}>{t(tNews, { key: 'title' })}</a> </li> <li> - <a class="btn" href={`/${locale}/#about`}>{t(tHame, { key: 'about-us' })}</a> + <a class="btn" href={`/${locale}/submit`}>{t(tSubmit, { key: 'title' })}</a> </li> <li> <a class="btn" href={`/${locale}/furthsettins`}>{t(tFurthsettins, { key: 'title' })}</a> @@ -24,6 +25,6 @@ const t = translate(locale); <a class="btn" href={`/${locale}/jyne`}>{t(tJyne, { key: 'title' })}</a> </li> <li> - <a class="btn" href={`/${locale}/#contact`}>{t(tHame, { key: 'contact' })}</a> + <a class="btn" href={`/${locale}/contact`}>{t(tContact, { key: 'title' })}</a> </li> </ul> |
