Skip to content

Commit

Permalink
fix: updates home page (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
Malena-Guallar committed May 24, 2024
1 parent 47842c3 commit d7928cf
Show file tree
Hide file tree
Showing 14 changed files with 11 additions and 11 deletions.
Binary file removed public/images/storytelling/animals-1200.jpg
Binary file not shown.
Binary file removed public/images/storytelling/animals-400.jpg
Binary file not shown.
Binary file removed public/images/storytelling/animals-600.jpg
Binary file not shown.
Binary file added public/images/storytelling/animals-hd.webp
Binary file not shown.
Binary file removed public/images/storytelling/biodiversity-1200.jpg
Binary file not shown.
Binary file removed public/images/storytelling/biodiversity-400.jpg
Binary file not shown.
Binary file removed public/images/storytelling/biodiversity-600.jpg
Binary file not shown.
Binary file added public/images/storytelling/biodiversity-hd.webp
Binary file not shown.
Binary file removed public/images/storytelling/health-1200.jpg
Binary file not shown.
Binary file removed public/images/storytelling/health-400.jpg
Binary file not shown.
Binary file removed public/images/storytelling/health-600.jpg
Binary file not shown.
Binary file added public/images/storytelling/health-hd.webp
Binary file not shown.
20 changes: 10 additions & 10 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const ExplodeSection = () => {
content="Impacte la santé humaine à cause des polluants éternels et des microplastiques."
/>
</li>
<li className="lg:absolute lg:-right-[140px] lg:bottom-[120px] 2xl:-right-[80px] 2xl:bottom-[360px]">
<li className="lg:absolute lg:-right-[140px] lg:bottom-[60px] 2xl:-right-[80px] 2xl:bottom-[360px]">
<IconCard
icon={{ src: "/images/butterfly.svg", width: 120, height: 116 }}
title="Biodiversité"
Expand All @@ -124,9 +124,9 @@ const EditoSection = () => {
"L'élevage intensif de saumons a des répercussions significatives sur la biodiversité marine et les ressources planétaires : pollutions diverses, parasites affectant les espèces locales, pression accrue sur les populations de poissons sauvages, exploitation du krill d’Antarctique, déforestation, etc.",
link: "/dashboard#biodiversity",
image: {
small: "/images/storytelling/biodiversity-400.jpg",
medium: "/images/storytelling/biodiversity-600.jpg",
large: "/images/storytelling/biodiversity-1200.jpg",
small: "/images/storytelling/biodiversity-hd.webp",
medium: "/images/storytelling/biodiversity-hd.webp",
large: "/images/storytelling/biodiversity-hd.webp",
},
},
{
Expand All @@ -135,9 +135,9 @@ const EditoSection = () => {
"La présence dans la chair des saumons de polluants organiques persistants (POP) et de microplastiques soulève des préoccupations pour la santé humaine.La concentration élevée de poissons dans les fermes aquacoles favorise la propagation de maladies, nécessitant l'utilisation d'agents pathogènes ou de médicaments.",
link: "/dashboard#human-health",
image: {
small: "/images/storytelling/health-400.jpg",
medium: "/images/storytelling/health-600.jpg",
large: "/images/storytelling/health-1200.jpg",
small: "/images/storytelling/health-hd.webp",
medium: "/images/storytelling/health-hd.webp",
large: "/images/storytelling/health-hd.webp",
caption: "Photo credit: Ramji / Bob Brown Foundation",
},
},
Expand Down Expand Up @@ -169,9 +169,9 @@ const EditoSection = () => {
"La très forte densité des saumons en cages entraine maladies et stress. Les poux de mer rongent la chair des poissons défigurés. Les taux de mortalité au sein des cages sont très anormalement élevés.",
link: "/dashboard#animal-welfare",
image: {
small: "/images/storytelling/animals-400.jpg",
medium: "/images/storytelling/animals-600.jpg",
large: "/images/storytelling/animals-1200.jpg",
small: "/images/storytelling/animals-hd.webp",
medium: "/images/storytelling/animals-hd.webp",
large: "/images/storytelling/animals-hd.webp",
},
},
];
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ const Navbar = () => {
{navItems.map((item, key) => (
<Link
className={clsx(
"font-secondary uppercase font-bold text-darkblue1 hover:text-red1 focus:text-red1 lg:text-xl",
"font-secondary uppercase font-bold text-darkblue1 hover:text-red1 focus:text-red1 lg:text-2xl",
item.link === pathName ? "navbar-active" : "",
)}
href={item.link}
Expand Down

0 comments on commit d7928cf

Please sign in to comment.