aboutsummaryrefslogtreecommitdiff
path: root/src/partials/Footer.astro
diff options
context:
space:
mode:
authorAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2025-03-14 23:33:56 +0100
committerAriel Costas Guerrero <94913521+arielcostas@users.noreply.github.com>2025-03-14 23:33:56 +0100
commite3c4bb2efa513973bc26949a8be62fbe66e31a4f (patch)
tree75a46cbde3ec2d36cfd33bff63ae7c65d145c182 /src/partials/Footer.astro
parent54dab1e00b38693e96c801d0c5a020693a35bbda (diff)
Implement new page layouts for Home, Contact, Portfolio, and Trajectory; update header and footer for multilingual support
Diffstat (limited to 'src/partials/Footer.astro')
-rw-r--r--src/partials/Footer.astro26
1 files changed, 15 insertions, 11 deletions
diff --git a/src/partials/Footer.astro b/src/partials/Footer.astro
index dae78b7..d5ca5cb 100644
--- a/src/partials/Footer.astro
+++ b/src/partials/Footer.astro
@@ -1,19 +1,23 @@
+---
+import { useTranslations } from "../i18n"
+
+const t = useTranslations(Astro.currentLocale);
+---
+
<footer>
<p>
- Copyright &copy; 2023-{new Date().getFullYear()} Ariel Costas Guerrero. Todos
- los derechos reservados.
+ Copyright &copy; 2023-{new Date().getFullYear()} Ariel Costas Guerrero. {t.footer.copyright}
</p>
+
<p>
- Contenido cedido bajo licencia <a
- href="https://creativecommons.org/licenses/by-sa/4.0/deed.es"
- >CC BY-SA 4.0</a
- > salvo que se indique lo contrario. El código fuente de este sitio está
- disponible en <a href="https://github.com/arielcostas/costasdev"
- >GitHub</a
- >, bajo los términos de la <a
+ {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"
- >Licencia Pública de la Unión Europea</a
- >.
+ >{t.footer.eupl} 1.2</a
</p>
</footer>