From ff0ba456a9c58ef2351d5c20d1e1ee619e6f5b0f Mon Sep 17 00:00:00 2001 From: Nico Date: Wed, 19 Apr 2023 19:43:24 +0200 Subject: [PATCH] added missing translations + link to references --- src/i18n/en.json | 5 ++++- src/i18n/fr.json | 5 ++++- src/layouts/BaseLayout.astro | 9 +++------ src/pages/en/work/[slug].astro | 9 --------- src/pages/plan-du-site.astro | 5 +++++ 5 files changed, 16 insertions(+), 17 deletions(-) delete mode 100644 src/pages/en/work/[slug].astro diff --git a/src/i18n/en.json b/src/i18n/en.json index 2cc44af..1dfac69 100644 --- a/src/i18n/en.json +++ b/src/i18n/en.json @@ -1,6 +1,6 @@ { "accueil": "home", - "tagline": "Freelance web designer and front-end developer.", + "tagline": "Freelance web developer specialized in accessibility.", "copyright": "(re)Made with Astro", "contact": { "title": "contact", @@ -45,6 +45,9 @@ "lienRetour": "Back to the home page" }, "seo": { + "meta": { + "description": "Web developer specialized in accessibility and eco-design in Toulouse, France. Development of custom websites, RGAA compliance, maintenance, etc." + }, "article": { "title": "Articles", "description": "A few articles about graphic design and front-end development." diff --git a/src/i18n/fr.json b/src/i18n/fr.json index a94e8a4..64f53ea 100644 --- a/src/i18n/fr.json +++ b/src/i18n/fr.json @@ -1,6 +1,6 @@ { "accueil": "accueil", - "tagline": "Designer et developpeur web freelance à Toulouse.", + "tagline": "Développeur web spécialisé en accessibilité.", "copyright": "(re)Fait avec Astro", "contact": { "title": "contact", @@ -45,6 +45,9 @@ "lienRetour": "Retour à l’accueil" }, "seo": { + "meta": { + "description": "Développeur web spécialisé en accessibilité numérique et éco-conception à Toulouse. Création de sites web sur mesure, mise en conformité RGAA, maintenance, etc." + }, "article": { "title": "Articles", "description": "Quelques articles sur le développement web front-end et l'informatique à Toulouse." diff --git a/src/layouts/BaseLayout.astro b/src/layouts/BaseLayout.astro index a791759..69631ff 100644 --- a/src/layouts/BaseLayout.astro +++ b/src/layouts/BaseLayout.astro @@ -1,5 +1,5 @@ --- -import { astroI18n } from "astro-i18n"; +import { t, astroI18n } from "astro-i18n"; astroI18n.init(Astro); import "../styles/style.css"; @@ -17,13 +17,10 @@ const { pageTitle, titleColor } = Astro.props; {pageTitle} - Nicolas Arduin - + - +
diff --git a/src/pages/en/work/[slug].astro b/src/pages/en/work/[slug].astro deleted file mode 100644 index 8b5eda2..0000000 --- a/src/pages/en/work/[slug].astro +++ /dev/null @@ -1,9 +0,0 @@ ---- -import Page from "../../travaux/[slug].astro" - -export { getStaticPaths } from "../../travaux/[slug].astro" - -const { props } = Astro ---- - - \ No newline at end of file diff --git a/src/pages/plan-du-site.astro b/src/pages/plan-du-site.astro index 32c2bf8..9f0a0b5 100644 --- a/src/pages/plan-du-site.astro +++ b/src/pages/plan-du-site.astro @@ -61,6 +61,11 @@ const pageTitle = t("sitemap"); } +
  • +

    + {t("references.titre")} +

    +