Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: updates home page #26

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -96,7 +96,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 @@ -123,9 +123,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 @@ -134,9 +134,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 @@ -168,9 +168,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
Loading