diff --git a/public/images/sponsors/adobe.svg b/public/images/sponsors/adobe.svg index 0a594c6..39bfd34 100644 --- a/public/images/sponsors/adobe.svg +++ b/public/images/sponsors/adobe.svg @@ -1,5 +1,4 @@ - - + - \ No newline at end of file + diff --git a/public/images/sponsors/banners/lupasearch.jpg b/public/images/sponsors/banners/lupasearch.jpg new file mode 100644 index 0000000..896c7d5 Binary files /dev/null and b/public/images/sponsors/banners/lupasearch.jpg differ diff --git a/public/images/sponsors/white/blackbird.svg b/public/images/sponsors/white/blackbird.svg index 243c1c5..a27ad33 100644 --- a/public/images/sponsors/white/blackbird.svg +++ b/public/images/sponsors/white/blackbird.svg @@ -1,4 +1,4 @@ - + diff --git a/public/images/sponsors/white/hyva.svg b/public/images/sponsors/white/hyva.svg index 04600ea..7dabbd2 100644 --- a/public/images/sponsors/white/hyva.svg +++ b/public/images/sponsors/white/hyva.svg @@ -1,3 +1,3 @@ - - + + diff --git a/public/images/sponsors/white/ph2m.svg b/public/images/sponsors/white/ph2m.svg index 411f09f..83b4d98 100644 --- a/public/images/sponsors/white/ph2m.svg +++ b/public/images/sponsors/white/ph2m.svg @@ -1,15 +1,15 @@ - - - - - - - - - - - - - + + + + + + + + + + + + + diff --git a/public/images/sponsors/white/platformsh.svg b/public/images/sponsors/white/platformsh.svg index 1160c65..bedd04b 100644 --- a/public/images/sponsors/white/platformsh.svg +++ b/public/images/sponsors/white/platformsh.svg @@ -1 +1,16 @@ - + + + + + + + + + + + + + + + + diff --git a/public/images/sponsors/white/sensefuel.svg b/public/images/sponsors/white/sensefuel.svg index 2aa2532..5e68f8a 100644 --- a/public/images/sponsors/white/sensefuel.svg +++ b/public/images/sponsors/white/sensefuel.svg @@ -1,4 +1,4 @@ - + diff --git a/public/locales/fr/sponsors.json b/public/locales/fr/sponsors.json index eb25c75..a028408 100644 --- a/public/locales/fr/sponsors.json +++ b/public/locales/fr/sponsors.json @@ -95,7 +95,7 @@ "description": "Wordless Vector Search & Discovery. Boost sales with AI-enhanced search that knows how your customers think.", "caption": "Wordless Vector Search & Discovery. AI-enriched, image-based search.", "url": "https://www.lupasearch.com/", - "bannerSrc": null, + "bannerSrc": "/images/sponsors/banners/lupasearch.jpg", "logoSrc": "/images/sponsors/lupasearch.svg", "whiteLogoSrc": "/images/sponsors/white/lupasearch.svg" }, @@ -132,7 +132,7 @@ { "type": "silver", "name": "Sensefuel", - "description": "Sensefuel équipe les marques et enseignes d'une plateforme de recherche e-commerce et de découverte de produits exploitant toute la puissance des nouvelles générations d’IA.", + "description": "Plateforme de recherche et de découverte de produits exclusivement dédiée au e-commerce, qui exploite toute la puissance de l’intelligence artificielle de nouvelle génération.", "caption": "", "url": "https://www.sensefuel.com/", "bannerSrc": "/images/sponsors/banners/sensefuel.jpg", diff --git a/src/app/globals.css b/src/app/globals.css index 7260957..37a0f2c 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -19,22 +19,3 @@ body { background: var(--background); font-family: var(--font-ibm-plex-sans-condensed), sans-serif; } - -.bg-photo-1 { - @apply bg-[url(/images/background/photo/1.png)]; -} -.bg-photo-2 { - @apply bg-[url(/images/background/photo/2.png)]; -} -.bg-photo-3 { - @apply bg-[url(/images/background/photo/3.png)]; -} -.bg-photo-4 { - @apply bg-[url(/images/background/photo/4.png)]; -} -.bg-photo-5 { - @apply bg-[url(/images/background/photo/5.png)]; -} -.bg-photo-6 { - @apply bg-[url(/images/background/photo/6.png)]; -} diff --git a/src/components/SponsorList/Sponsor/Sponsor.tsx b/src/components/SponsorList/Sponsor/Sponsor.tsx index 98f21a4..89cacf5 100644 --- a/src/components/SponsorList/Sponsor/Sponsor.tsx +++ b/src/components/SponsorList/Sponsor/Sponsor.tsx @@ -13,55 +13,51 @@ const Sponsor = (sponsor: SponsorProps) => { const badgeHeight: number = 80; const boxClasses: Record = { - platinum: "bg-[url(/images/background/sponsor-platinum.jpg)] hover:bg-[url(/images/background/sponsor-platinum.jpg)] p-[57px] col-span-12 row-span-5 lg:col-span-4 lg:row-span-12", - gold: "bg-[url(/images/background/sponsor-gold.jpg)] hover:bg-[url(/images/background/sponsor-gold.jpg)] p-[24px] col-span-6 row-span-3 lg:col-span-2 lg:row-span-4", - silver: "bg-[url(/images/background/sponsor-silver.jpg)] hover:bg-[url(/images/background/sponsor-silver.jpg)] p-[22px] col-span-4 row-span-2 lg:col-span-2 lg:row-span-3", - bronze: "bg-[url(/images/background/sponsor-bronze.jpg)] hover:bg-[url(/images/background/sponsor-bronze.jpg)] p-[40px] col-span-4 row-span-1 lg:col-span-2 lg:row-span-2", + platinum: "bg-[url(/images/background/sponsor-platinum.jpg)] hover:bg-[url(/images/background/sponsor-platinum.jpg)] col-span-12 row-span-5 lg:col-span-30 lg:row-span-12", + gold: "bg-[url(/images/background/sponsor-gold.jpg)] hover:bg-[url(/images/background/sponsor-gold.jpg)] col-span-6 row-span-3 lg:col-span-20 lg:row-span-4", + silver: "bg-[url(/images/background/sponsor-silver.jpg)] hover:bg-[url(/images/background/sponsor-silver.jpg)] col-span-4 row-span-2 lg:col-span-18 lg:row-span-3", + bronze: "bg-[url(/images/background/sponsor-bronze.jpg)] hover:bg-[url(/images/background/sponsor-bronze.jpg)] col-span-4 row-span-2 lg:col-span-15 lg:row-span-2", }; const badgeClasses: Record = { - platinum: "top-[30px] right-[30px] h-[55px] lg:top-[24px] lg:right-[24px] lg:h-[80px]", + platinum: "top-[15px] right-[15px] h-[55px] lg:top-[24px] lg:right-[24px] lg:h-[80px]", gold: "top-[7px] right-[7px] h-[27px] lg:top-[12px] lg:right-[12px] lg:h-[50px]", - silver: "top-[10px] right-[10px] h-[16px] lg:top-[12px] lg:right-[12px] lg:h-[40px]", - bronze: "top-[6px] right-[6px] h-[14px] lg:top-[11px] lg:right-[11px] lg:h-[25px]", + silver: "top-[6px] right-[6px] h-[16px] lg:top-[12px] lg:right-[12px] lg:h-[40px]", + bronze: "top-[5px] right-[5px] h-[14px] lg:top-[11px] lg:right-[11px] lg:h-[25px]", }; const logoClasses: Record = { - platinum: "", - gold: "", - silver: "", - bronze: "", + platinum: "max-w-[60%] max-h-[40%] lg:max-w-[50%] lg:max-h-[30%]", + gold: "max-w-[65%] max-h-[35%] lg:max-w-[77%] lg:max-h-[33%]", + silver: "max-w-[70%] max-h-[30%] lg:max-w-[60%] lg:max-h-[30%]", + bronze: "max-w-[60%] max-h-[20%] lg:max-w-[60%] lg:max-h-[30%]", }; return ( - - - - + + ); }; diff --git a/src/components/SponsorList/SponsorList.tsx b/src/components/SponsorList/SponsorList.tsx index 0aec23c..f18bcf1 100644 --- a/src/components/SponsorList/SponsorList.tsx +++ b/src/components/SponsorList/SponsorList.tsx @@ -67,7 +67,7 @@ const SponsorList = ({ items }: { items: SponsorProps[] }) => { > )} - + {sortedSponsors.map((sponsor: SponsorProps, key: number) => (