From ac3666f65bd81f48c8d88099310070eeff46fbd7 Mon Sep 17 00:00:00 2001 From: Joe Carstairs <65492573+Sycamost@users.noreply.github.com> Date: Sat, 19 Aug 2023 21:56:32 +0100 Subject: Better Back To Top link layout --- src/components/Footer.astro | 7 ++++--- src/pages/[locale]/index.astro | 4 ++-- 2 files changed, 6 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/components/Footer.astro b/src/components/Footer.astro index f1ee19c..2a5307e 100644 --- a/src/components/Footer.astro +++ b/src/components/Footer.astro @@ -2,13 +2,14 @@ import translate from '$i18n/translate'; import tSite from '$i18n/translations/site'; import getLocaleFromPath from '$lib/getLocaleFromPath'; +import Button from './Button.astro'; const locale = getLocaleFromPath(Astro.url.pathname); const t = translate(locale); --- diff --git a/src/pages/[locale]/index.astro b/src/pages/[locale]/index.astro index 82cafd4..11188a0 100644 --- a/src/pages/[locale]/index.astro +++ b/src/pages/[locale]/index.astro @@ -19,9 +19,9 @@ const mostRecentNewsItem = await getMostRecentNewsItem(locale);
-

+

{mostRecentNewsItem && } -