Skip to content

Commit f091e42

Browse files
author
Thomas Catinaud Taris
committed
feat: add english act images
1 parent 7fe9bf9 commit f091e42

File tree

9 files changed

+5
-7
lines changed

9 files changed

+5
-7
lines changed

messages/en/pages/act.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"title": "I leave salmon off my plate",
3939
"content": "Ready to set out to leave salmon in the oceans and rivers? <br />What objective seems achievable to you? Leave it in our intention box to help the community grow!",
4040
"link": "I'm participating",
41-
"target": "https://forms.gle/5kNG7BDeZBQmq6vY9",
42-
"image": "/images/act/no-eat-salmon.jpeg"
41+
"target": "https://forms.gle/5kNG7BDeZBQmq6vY9"
4342
},
4443
"report": {
4544
"title": "Educate yourself and share to act better",

messages/fr/pages/act.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@
3838
"title": "Je laisse les saumons en dehors de mon assiette",
3939
"content": "Prêt·e·s à se mettre en chemin pour laisser les saumons dans les océans et les rivières ? Quel objectif vous semble atteignable ? Laissez-le nous dans notre boîte à intentions pour faire grandir la communauté !",
4040
"link": "Je participe",
41-
"target": "https://forms.gle/5kNG7BDeZBQmq6vY9",
42-
"image": "/images/act/citizens.jpg"
41+
"target": "https://forms.gle/5kNG7BDeZBQmq6vY9"
4342
},
4443
"report": {
4544
"title": "S'éduquer et transmettre pour mieux agir",

public/images/act/citizens-en.jpg

351 KB
Loading
File renamed without changes.
550 KB
Loading
File renamed without changes.
344 KB
Loading
File renamed without changes.

src/app/[locale]/to-act/act.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ const Act = () => {
4444
contentPosition="right"
4545
mode="light"
4646
image={{
47-
src: "/images/act/stop-industry.jpg",
47+
src: `/images/act/stop-industry-${locale}.jpg`,
4848
}}
4949
/>
5050

@@ -63,7 +63,7 @@ const Act = () => {
6363
contentPosition="right"
6464
mode="light"
6565
image={{
66-
src: t("eat.image"),
66+
src: `/images/act/citizens-${locale}.jpg`,
6767
}}
6868
/>
6969

@@ -92,7 +92,7 @@ const Act = () => {
9292
contentPosition="right"
9393
mode="light"
9494
image={{
95-
src: "/images/act/support-seastemik.jpg",
95+
src: `/images/act/support-seastemik-${locale}.jpg`,
9696
}}
9797
/>
9898

0 commit comments

Comments
 (0)