diff options
| author | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-10 21:42:41 +0200 |
|---|---|---|
| committer | Ariel Costas Guerrero <ariel@costas.dev> | 2025-04-10 21:42:41 +0200 |
| commit | e3141794b95e534656427fadf0354435c62254d6 (patch) | |
| tree | 95788249ac51475aea45ad17d7157dffd1564e47 /src/partials/Footer.astro | |
| parent | 3caee506c961ae0e78503164ed6a0f81db3c8c32 (diff) | |
Fix formatting
Diffstat (limited to 'src/partials/Footer.astro')
| -rw-r--r-- | src/partials/Footer.astro | 62 |
1 files changed, 34 insertions, 28 deletions
diff --git a/src/partials/Footer.astro b/src/partials/Footer.astro index 0bb0570..2265576 100644 --- a/src/partials/Footer.astro +++ b/src/partials/Footer.astro @@ -1,43 +1,49 @@ --- -import { useTranslations } from "../i18n" +import { useTranslations } from "../i18n"; const t = useTranslations(Astro.currentLocale); --- <footer> - <p> - Copyright © 2023-{new Date().getFullYear()} Ariel Costas Guerrero. {t.footer.copyright} - </p> + <p> + Copyright © 2023-{new Date().getFullYear()} Ariel Costas Guerrero. { + t.footer.copyright + } + </p> - <p> - {t.footer.contentLicencedUnder} <a - href={`https://creativecommons.org/licenses/by-sa/4.0/deed.${Astro.currentLocale}`} - >CC BY-SA 4.0</a>. + <p> + {t.footer.contentLicencedUnder} + <a + href={`https://creativecommons.org/licenses/by-sa/4.0/deed.${Astro.currentLocale}`} + >CC BY-SA 4.0</a + >. - {t.footer.sourceCodeAvailableOn} <a href="https://github.com/arielcostas/costasdev">GitHub</a> - {t.footer.andIsLicencedUnder} <a - href="https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12" - >{t.footer.eupl} 1.2</a> - </p> + {t.footer.sourceCodeAvailableOn} + <a href="https://github.com/arielcostas/costasdev">GitHub</a> + {t.footer.andIsLicencedUnder} + <a href="https://joinup.ec.europa.eu/collection/eupl/eupl-text-11-12" + >{t.footer.eupl} 1.2</a + > + </p> </footer> <style lang="scss"> - @use "../../styles/shared.scss" as *; + @use "../../styles/shared.scss" as *; - footer { - background-color: $dark; - color: $light; - text-align: center; + footer { + background-color: $dark; + color: $light; + text-align: center; - padding: 0.5rem 1rem; - - a { - color: $accentLight; - } + padding: 0.5rem 1rem; - p { - max-width: 82ch; - margin-inline: auto; - } - } + a { + color: $accentLight; + } + + p { + max-width: 82ch; + margin-inline: auto; + } + } </style> |
