Skip to content

Commit

Permalink
Front review marketing (#78)
Browse files Browse the repository at this point in the history
* feat: update wording

* fix lint

* feat: add video

* feat: change petition link

* feat: add seastemik report in act page

* feat: add logo pb + donation link in footer

* feat: update citizen image

* feat: update images dashboard

* feat: add google form

* feat: fixed 568 to 468 microplastics

* fixed: review

* fixed: lint

---------

Co-authored-by: Thomas Catinaud Taris <[email protected]>
  • Loading branch information
TCatinaud and Thomas Catinaud Taris authored Oct 9, 2024
1 parent dcf2bef commit bae3adf
Show file tree
Hide file tree
Showing 23 changed files with 162 additions and 20 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ module.exports = {
"no-console": "warn",
"@typescript-eslint/explicit-module-boundary-types": "off",
"react/no-unescaped-entities": "off",
"@next/next/no-sync-scripts": "off",

"react/display-name": "off",
"react/jsx-curly-brace-presence": [
Expand Down
3 changes: 2 additions & 1 deletion messages/en/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"footer": {
"allRight": "All rights reserved",
"and": "and"
"and": "and",
"donation": "Make a donation"
}
},
"siteConfig": {
Expand Down
12 changes: 10 additions & 2 deletions messages/en/pages/act.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"title": "I say no to the salmon factory project on my territory",
"content": "The onshore salmon factory project called “Pure Salmon”, an initiative of the Singaporean investment fund 8F Asset Management, is under discussion near Bordeaux. Thanks to petitions signed by citizens, it was notably rejected in Pas-de-Calais and Brittany. Let's keep going!",
"link": "Sign the petition",
"target": "https://www.change.org/p/pour-l-abandon-du-projet-d-%C3%A9levage-intensif-terrestre-de-saumons-par-pure-salmon?recruiter=1321544874&recruited_by_id=817c01c0-813d-11ee-b093-0193942f59ac&utm_source=share_petition&utm_campaign=psf_combo_share_initial&utm_medium=copylink&utm_content=cl_sharecopy_35465639_fr-FR%3A5"
"target": "https://www.wesign.it/fr/environnement/non-a-lelevage-intensif-de-saumons-au-verdon-sur-mer"
},
"seastemik": {
"title": "I support Seastemik",
Expand All @@ -36,7 +36,15 @@
},
"eat": {
"title": "I leave salmon off my plate",
"content": "Ready to set out to leave salmon in the oceans and rivers? “Together, we are an immense force”.<br />What objective seems achievable to you? Leave it in our intention box to help the community grow!"
"content": "Ready to set out to leave salmon in the oceans and rivers? “Together, we are an immense force”.<br />What objective seems achievable to you? Leave it in our intention box to help the community grow!",
"link": "I'm participating",
"target": "https://forms.gle/c6fGdknx8jr4rmq96"
},
"report": {
"title": "Educate yourself and share to act better",
"content": "Reading and sharing Seastemik's report on the salmon industry helps deconstruct the distorted popular perception of salmon consumption. Enjoy reading!",
"link": "Read our report",
"target": "https://seastemik.org/publications"
}
}
}
2 changes: 1 addition & 1 deletion messages/en/pages/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"microplastics": {
"title": "Microplastic",
"mainContent": "<p>Microplastics are particularly prevalent in salmon due to bioaccumulation in the food chain and the affinity of plastics for fats.</p>",
"content": "<p>This issue is especially significant for farmed salmon, which are considerably fattier and live in plastic-rich environments.</p><p>A 5 kg salmon contains approximately 532 microplastics. A French person consuming 4.4 kg of salmon annually ingests about 568 microplastics per year, out of a total of 97,500 from various sources.</p>",
"content": "<p>This issue is especially significant for farmed salmon, which are considerably fattier and live in plastic-rich environments.</p><p>A 5 kg salmon contains approximately 532 microplastics. A French person consuming 4.4 kg of salmon annually ingests about 468 microplastics per year, out of a total of 97,500 from various sources.</p>",
"image": "en/microplastic.svg",
"altImage": "532 microplastics per salmon (sorry, we only put 30).",
"meta": {
Expand Down
3 changes: 2 additions & 1 deletion messages/fr/layout.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
},
"footer": {
"allRight": "Tous droits réservés",
"and": "et"
"and": "et",
"donation": "Faire un don"
}
},
"siteConfig": {
Expand Down
12 changes: 10 additions & 2 deletions messages/fr/pages/act.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"title": "Je dis non au projet d’usine à saumons sur mon territoire",
"content": "Le projet de ferme-usine de saumons à terre dénommé « Pure Salmon », initiative du fonds d’investissement singapourien 8F Asset Management, est en discussion près de Bordeaux. Grâce aux pétitions signées par les citoyen·ne·s, il a notamment été retoqué au Pas-de-Calais et en Bretagne. Continuons !",
"link": "Signer la pétition",
"target": "https://www.change.org/p/pour-l-abandon-du-projet-d-%C3%A9levage-intensif-terrestre-de-saumons-par-pure-salmon?recruiter=1321544874&recruited_by_id=817c01c0-813d-11ee-b093-0193942f59ac&utm_source=share_petition&utm_campaign=psf_combo_share_initial&utm_medium=copylink&utm_content=cl_sharecopy_35465639_fr-FR%3A5"
"target": "https://www.wesign.it/fr/environnement/non-a-lelevage-intensif-de-saumons-au-verdon-sur-mer"
},
"seastemik": {
"title": "Je soutiens Seastemik",
Expand All @@ -36,7 +36,15 @@
},
"eat": {
"title": "Je laisse les saumons en dehors de mon assiette",
"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é !"
"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é !",
"link": "Je participe",
"target": "https://forms.gle/c6fGdknx8jr4rmq96"
},
"report": {
"title": "S'éduquer et transmettre pour mieux agir",
"content": "Lire et partager le rapport de Seastemik sur l’industrie du saumon permet de déconstruire la perception populaire déformée autour de la consommation de saumons. Bonne lecture !",
"link": "Consulter notre rapport",
"target": "https://seastemik.org/publications"
}
}
}
2 changes: 1 addition & 1 deletion messages/fr/pages/dashboard.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
"microplastics": {
"title": "Microplastiques",
"mainContent": "<p>Les microplastiques sont particulièrement présents dans le saumon en raison de la bioaccumulation dans la chaîne alimentaire et de l'affinité des plastiques pour les graisses.</p>",
"content": "<p>Cela affecte surtout les saumons d'élevage, qui sont nettement plus gras et vivent dans des environnements riches en plastiques.</p><p>Un saumon de 5 kg contient environ 532 microplastiques. Une personne française consommant 4.4 kg de saumon par an ingère environ 568 microplastiques par an sur un total de 97,500 provenant de différentes sources.</p>",
"content": "<p>Cela affecte surtout les saumons d'élevage, qui sont nettement plus gras et vivent dans des environnements riches en plastiques.</p><p>Un saumon de 5 kg contient environ 532 microplastiques. Une personne française consommant 4.4 kg de saumon par an ingère environ 468 microplastiques par an sur un total de 97,500 provenant de différentes sources.</p>",
"image": "fr/microplastic.svg",
"altImage": "532 microplastiques par saumon (sorry on n'en a mis que 30).",
"meta": {
Expand Down
Binary file modified public/dashboard/images/en/deforestation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/dashboard/images/en/deforestation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/dashboard/images/en/microplastic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions public/dashboard/images/en/microplastic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/dashboard/images/fr/deforestation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
12 changes: 6 additions & 6 deletions public/dashboard/images/fr/deforestation.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/dashboard/images/fr/microplastic.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/dashboard/images/fr/microplastic.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified public/dashboard/images/fr/social_fishing.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion public/dashboard/images/fr/social_fishing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/act/citizens.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/act/seastemik-report.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions public/images/pinkbomb-seastemik-dataforgood.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
19 changes: 19 additions & 0 deletions src/app/[locale]/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ const HomePage = () => {
<IntroBlock title={t("title")} image="/images/salmon.svg" />

<BombSection />
<VideoSection />
<ExplodeSection />
<EditoSection />
<BusinessSection />
Expand Down Expand Up @@ -111,6 +112,24 @@ const ExplodeSection = () => {
);
};

const VideoSection = () => {
return (
<div className="p-6 lg:px-12 lg:pt-36 lg:pb-64 text-red1 bg-pink1">
<div className="max-w-[1500px] mx-auto">
<div className="pt-[56.25%] relative">
<iframe
src="https://player.vimeo.com/video/1016205305?badge=0&amp;autopause=0&amp;player_id=0&amp;app_id=58479"
allow="autoplay; fullscreen; picture-in-picture; clipboard-write"
className="absolute top-0 left-0 w-full h-full"
title="Pinkbombs"
/>
</div>
<script src="https://player.vimeo.com/api/player.js"></script>
</div>
</div>
);
};

const EditoSection = () => {
const t = useTranslations("story");

Expand Down
28 changes: 27 additions & 1 deletion src/app/[locale]/to-act/act.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,18 @@ const Act = () => {
title={t("eat.title")}
titleLevel="h2"
content={t("eat.content")}
ctas={[
{
label: t("eat.link"),
target: t("eat.target"),
isBlank: true,
},
]}
className="bg-pink1"
contentPosition="right"
mode="light"
image={{
src: "/images/act/no-eat-salmon.jpeg",
src: "/images/act/citizens.jpg",
}}
/>

Expand Down Expand Up @@ -88,6 +95,25 @@ const Act = () => {
}}
/>

<Edito
title={t("report.title")}
titleLevel="h2"
content={t("report.content")}
ctas={[
{
label: t("report.link"),
target: t("report.target"),
isBlank: true,
},
]}
className="bg-pink1"
contentPosition="right"
mode="light"
image={{
src: "/images/act/seastemik-report.png",
}}
/>

<JoinBlock
isAlternative
className="pt-6 lg:pt-24 bg-brown1 lg:bg-darkblue1"
Expand Down
19 changes: 19 additions & 0 deletions src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import Image from "next/image";
import { useTranslations } from "next-intl";

import MainLink from "@/components/links/MainLink";
import ShareLink from "@/components/links/shareLink";

const currentYear = new Date().getFullYear();
Expand Down Expand Up @@ -75,6 +76,24 @@ const Footer = () => {
name="Data for Good"
/>
</div>

<div className="self-end lg:ml-auto w-full md:w-auto">
<MainLink
label={t("footer.donation")}
href="https://www.helloasso.com/associations/seastemik/formulaires/1"
mode="base"
className="mb-4"
isBlank
/>
<Image
loading="lazy"
src="/images/pinkbomb-seastemik-dataforgood.svg"
width={400}
height={100}
alt=""
className="object-contain"
/>
</div>
</div>

<p className="p-caption mt-6 lg:mt-12">
Expand Down

0 comments on commit bae3adf

Please sign in to comment.