diff options
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/Footer.astro | 7 |
1 files changed, 4 insertions, 3 deletions
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); --- <footer> - <p class="back-to-top"> - <a class="btn" href="#top">▴ {t(tSite, { key: 'back-to-top' })}</a> - </p> + <Button layoutClasses="grid-span-3 grid-end" href="#top"> + ▴ {t(tSite, { key: 'back-to-top' })} + </Button> </footer> |
