From e56bbfb51f04c351108c89078c627937ebca7bef Mon Sep 17 00:00:00 2001 From: Joe Carstairs Date: Sun, 13 Oct 2024 17:33:23 +0100 Subject: Refactors About and Contact pages --- src/components/Navbar/NavLinks.astro | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/components') 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); {t(tNews, { key: 'title' })}
  • - {t(tHame, { key: 'about-us' })} + {t(tSubmit, { key: 'title' })}
  • {t(tFurthsettins, { key: 'title' })} @@ -24,6 +25,6 @@ const t = translate(locale); {t(tJyne, { key: 'title' })}
  • - {t(tHame, { key: 'contact' })} + {t(tContact, { key: 'title' })}
  • -- cgit v1.2.3