Skip to content

Commit

Permalink
Finish footer
Browse files Browse the repository at this point in the history
  • Loading branch information
amaury1093 committed Dec 21, 2023
1 parent d292364 commit e7e0f91
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export function Footer(): React.ReactElement {
/>
<Spacer />
<Text>
Made by Amaury, an indie
{d.footer.madeby.line1}
<br />
developer based in Paris 🇫🇷.
{d.footer.madeby.line2}
</Text>
</div>
</Grid>
Expand Down Expand Up @@ -97,11 +97,11 @@ export function Footer(): React.ReactElement {
</div>
</Grid>
<Grid className={styles.grid} xs={5}>
<Text h5>Contact</Text>
<Text h5>{d.footer.contact.title}</Text>
<Spacer y={2} />
<div>
<Link href="mailto:[email protected]">
Email
{d.footer.contact.email}
</Link>
</div>
<Spacer />
Expand All @@ -111,7 +111,7 @@ export function Footer(): React.ReactElement {
target="_blank"
rel="noopener noreferrer"
>
Github
{d.footer.contact.github}
</Link>
</div>
<Spacer />
Expand All @@ -121,7 +121,7 @@ export function Footer(): React.ReactElement {
target="_blank"
rel="noopener noreferrer"
>
Help Center
{d.footer.contact.help}
</Link>
</div>
</Grid>
Expand Down
10 changes: 10 additions & 0 deletions src/dictionaries/en.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
{
"footer": {
"contact": {
"title": "Contact",
"email": "Email",
"github": "Github",
"help": "Help Center"
},
"madeby": {
"line1": "Made by Amaury, an indie",
"line2": "developer based in Paris 🇫🇷."
},
"sitemap": {
"title": "Sitemap",
"homepage": "Home",
Expand Down
22 changes: 16 additions & 6 deletions src/dictionaries/fr.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,27 @@
{
"footer": {
"contact": {
"title": "Contact",
"email": "Email",
"github": "Github",
"help": "Ressources"
},
"help": {
"title": "Ressources",
"self_host": "Auto-hébergement",
"api": "Documentation API"
},
"madeby": {
"line1": "Made in France 🇫🇷",
"line2": ""
},
"sitemap": {
"title": "Plan de Site",
"homepage": "Accueil",
"pricing": "Tarifs",
"tos": "CGU / CGV",
"privacy": "Politique de Condidentialité",
"legal_mentions": "Mentions Légales"
},
"help": {
"title": "Documentation",
"self_host": "Self-host",
"api": "Documentation API"
}
},
"homepage": {
Expand All @@ -22,7 +32,7 @@
},
"nav": {
"pricing": "Tarifs",
"help": "Documentation",
"help": "Ressources",
"login": "Se connecter",
"signup": "Créer un compte",
"logout": "Se déconnecter"
Expand Down

0 comments on commit e7e0f91

Please sign in to comment.