Merge branch 'develop' into trunk

This commit is contained in:
K Muller 2026-10-09 09:47:32 +02:00
commit 10e613c032
6 changed files with 34 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 21 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 19 KiB

View file

@ -0,0 +1,32 @@
import beaDesktopPng from "&/images/global/bea_desktop.png";
import beaDesktopWebp from "&/images/global/bea_desktop.webp";
import beaMobilePng from "&/images/global/bea_mobile.png";
import beaMobileWebp from "&/images/global/bea_mobile.webp";
import useIsMobile from "@/hooks/use-mobile";
export default function BeaSection() {
const isMobile = useIsMobile();
return (
<a
href="https://bienetreanimal.fr/"
target="_blank"
rel="noopener noreferrer"
>
<picture>
<source
srcSet={isMobile ? beaMobileWebp : beaDesktopWebp}
type="image/webp"
/>
<img
src={isMobile ? beaMobilePng : beaDesktopPng}
alt="Entreprise adhérente au collectif Filière Agricole Engagée pour le Bien-être Animal. Découvrez nos engagements pour un poulet origine France élevé dans le respect du bien-être animal."
title="Découvrez les engagements de la Filière Agricole Engagée pour le Bien-être Animal"
className="w-full"
loading="lazy"
decoding="async"
/>
</picture>
</a>
);
}

View file

@ -2,6 +2,7 @@ import { usePage } from "@inertiajs/react";
import AppLayout from "@/front/Layouts/AppLayout";
import BeaSection from "../Components/BeaSection";
import Contact from "../Components/Contact";
import HeroHeader, { type HeroNavItem } from "../Components/Header";
import HeritageSection from "../Components/HeritageSection";
@ -34,6 +35,7 @@ export default function Home() {
</div>
</div>
<ProduitsSection />
<BeaSection />
<Contact />
</>
);