Skip to content

Commit

Permalink
feat: add/correct links below matrice
Browse files Browse the repository at this point in the history
  • Loading branch information
sarahrieubland committed Jun 13, 2024
1 parent d90b64d commit f8e7577
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
5 changes: 3 additions & 2 deletions messages/en/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"title": "Food choices and their impact",
"intro": "What we choose to eat, sell, and produce has different impacts on the planet, people, and animals.",
"content": "<p>France, being among the top 4 largest consumers of salmon in the world, bears a particular responsibility in influencing these choices.</p>",
"pdf": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/Alternatives_Methodogy_en.pdf",
"pdf": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/Table_food_choices_simplified_en.pdf",
"data": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/csv/alternatives_text_7.csv.zip",
"artifact": "alternatives_text_7.csv.zip"
"artifact": "alternatives_text_7.csv.zip",
"image": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/graphs_image/alternatives_7.png"
}
},
"metaChart": {
Expand Down
5 changes: 3 additions & 2 deletions messages/fr/components.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@
"title": "Choix alimentaires et leurs impacts",
"intro": "Ce que nous choisissons de manger, de vendre et de produire à des impacts différents sur la planète, les gens et les animaux.",
"content": "<p>La France, située dans le top 4 des plus grands consommateurs de saumons au monde, porte une responsabilité particulière dans l'orientation de ces choix.</p>",
"pdf": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/Alternatives_Methodogie_fr.pdf",
"pdf": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/Tableau_des_choix_alimentaires_simplifiee.pdf",
"data": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/csv/alternatives_text_7_fr.csv.zip",
"artifact": "alternatives_text_7.csv.zip"
"artifact": "alternatives_text_7.csv.zip",
"image": "https://raw.githubusercontent.com/dataforgoodfr/12_pinkbombs/main/download/graphs_image/alternatives_7_fr.png"
}
},
"metaChart": {
Expand Down
9 changes: 7 additions & 2 deletions src/components/JoinBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const JoinBlock = ({
data={[
{
type: "document",
link: t("join.pdf"),
link: t(`join.${baseText}.pdf`),
isBlank: true,
},
{
Expand All @@ -77,9 +77,14 @@ const JoinBlock = ({
},
{
type: "data",
link: t("join.data"),
link: t(`join.${baseText}.data`),
artifact: t("join.artifact"),
},
{
type: "image",
isBlank: true,
link: t(`join.${baseText}.image`),
},
]}
/>
</>
Expand Down

0 comments on commit f8e7577

Please sign in to comment.