diff --git a/resources/assets/images/global/bea_desktop.png b/resources/assets/images/global/bea_desktop.png new file mode 100644 index 0000000..c3b1575 Binary files /dev/null and b/resources/assets/images/global/bea_desktop.png differ diff --git a/resources/assets/images/global/bea_desktop.webp b/resources/assets/images/global/bea_desktop.webp new file mode 100644 index 0000000..0f68475 Binary files /dev/null and b/resources/assets/images/global/bea_desktop.webp differ diff --git a/resources/assets/images/global/bea_mobile.png b/resources/assets/images/global/bea_mobile.png new file mode 100644 index 0000000..da1f6f0 Binary files /dev/null and b/resources/assets/images/global/bea_mobile.png differ diff --git a/resources/assets/images/global/bea_mobile.webp b/resources/assets/images/global/bea_mobile.webp new file mode 100644 index 0000000..0fe8dbd Binary files /dev/null and b/resources/assets/images/global/bea_mobile.webp differ diff --git a/resources/ts/front/Components/BeaSection.tsx b/resources/ts/front/Components/BeaSection.tsx new file mode 100644 index 0000000..cdff92e --- /dev/null +++ b/resources/ts/front/Components/BeaSection.tsx @@ -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 ( + + + + 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. + + + ); +} diff --git a/resources/ts/front/Pages/Home.tsx b/resources/ts/front/Pages/Home.tsx index 7861e31..b4e2349 100644 --- a/resources/ts/front/Pages/Home.tsx +++ b/resources/ts/front/Pages/Home.tsx @@ -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() { + );