added missing translations + link to references

This commit is contained in:
Nico 2023-04-19 19:43:24 +02:00
parent 50fdae2308
commit ff0ba456a9
5 changed files with 16 additions and 17 deletions

View File

@ -1,6 +1,6 @@
{ {
"accueil": "home", "accueil": "home",
"tagline": "Freelance web designer and front-end developer.", "tagline": "Freelance web developer specialized in accessibility.",
"copyright": "(re)Made with Astro", "copyright": "(re)Made with Astro",
"contact": { "contact": {
"title": "contact", "title": "contact",
@ -45,6 +45,9 @@
"lienRetour": "Back to the home page" "lienRetour": "Back to the home page"
}, },
"seo": { "seo": {
"meta": {
"description": "Web developer specialized in accessibility and eco-design in Toulouse, France. Development of custom websites, RGAA compliance, maintenance, etc."
},
"article": { "article": {
"title": "Articles", "title": "Articles",
"description": "A few articles about graphic design and front-end development." "description": "A few articles about graphic design and front-end development."

View File

@ -1,6 +1,6 @@
{ {
"accueil": "accueil", "accueil": "accueil",
"tagline": "Designer et developpeur web freelance à Toulouse.", "tagline": "Développeur web spécialisé en accessibilité.",
"copyright": "(re)Fait avec Astro", "copyright": "(re)Fait avec Astro",
"contact": { "contact": {
"title": "contact", "title": "contact",
@ -45,6 +45,9 @@
"lienRetour": "Retour à laccueil" "lienRetour": "Retour à laccueil"
}, },
"seo": { "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": { "article": {
"title": "Articles", "title": "Articles",
"description": "Quelques articles sur le développement web front-end et l'informatique à Toulouse." "description": "Quelques articles sur le développement web front-end et l'informatique à Toulouse."

View File

@ -1,5 +1,5 @@
--- ---
import { astroI18n } from "astro-i18n"; import { t, astroI18n } from "astro-i18n";
astroI18n.init(Astro); astroI18n.init(Astro);
import "../styles/style.css"; import "../styles/style.css";
@ -17,13 +17,10 @@ const { pageTitle, titleColor } = Astro.props;
<meta http-equiv="X-UA-Compatible" content="IE=edge" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>{pageTitle} - Nicolas Arduin</title> <title>{pageTitle} - Nicolas Arduin</title>
<meta <meta name="description" content={t("seo.meta.description")} />
name="description"
content="Création et développement de sites web sobres et accessibles. Freelance à Toulouse."
/>
<meta name="robots" content="index,follow." /> <meta name="robots" content="index,follow." />
<meta name="author" content="Nicolas Arduin" /> <meta name="author" content="Nicolas Arduin" />
<meta name="subject" content="Développement de sites web" /> <meta name="subject" content="Développement de sites web, accessibilité." />
</head> </head>
<body> <body>
<div class="wrapper"> <div class="wrapper">

View File

@ -1,9 +0,0 @@
---
import Page from "../../travaux/[slug].astro"
export { getStaticPaths } from "../../travaux/[slug].astro"
const { props } = Astro
---
<Page {...props} />

View File

@ -61,6 +61,11 @@ const pageTitle = t("sitemap");
} }
</ul> </ul>
</li> </li>
<li>
<h2>
<a href={l("/references")}>{t("references.titre")}</a>
</h2>
</li>
</ul> </ul>
</section> </section>
</BaseLayout> </BaseLayout>