diff --git a/parfum-shop/index.html b/parfum-shop/index.html index b410625..e025c19 100644 --- a/parfum-shop/index.html +++ b/parfum-shop/index.html @@ -51,7 +51,9 @@ diff --git a/parfum-shop/public/images/hero/480/blasse-seide-hero-product.webp b/parfum-shop/public/images/hero/480/blasse-seide-hero-product.webp new file mode 100644 index 0000000..95cfa7a Binary files /dev/null and b/parfum-shop/public/images/hero/480/blasse-seide-hero-product.webp differ diff --git a/parfum-shop/public/images/hero/768/blasse-seide-hero-product.webp b/parfum-shop/public/images/hero/768/blasse-seide-hero-product.webp new file mode 100644 index 0000000..0dfe163 Binary files /dev/null and b/parfum-shop/public/images/hero/768/blasse-seide-hero-product.webp differ diff --git a/parfum-shop/public/images/hero/960/blasse-seide-hero-product.webp b/parfum-shop/public/images/hero/960/blasse-seide-hero-product.webp new file mode 100644 index 0000000..3ee5efc Binary files /dev/null and b/parfum-shop/public/images/hero/960/blasse-seide-hero-product.webp differ diff --git a/parfum-shop/public/images/products/540/blasse-seide-product-image.webp b/parfum-shop/public/images/products/540/blasse-seide-product-image.webp new file mode 100644 index 0000000..fba3735 Binary files /dev/null and b/parfum-shop/public/images/products/540/blasse-seide-product-image.webp differ diff --git a/parfum-shop/public/images/products/540/kalter-beton-product-image.webp b/parfum-shop/public/images/products/540/kalter-beton-product-image.webp new file mode 100644 index 0000000..c707263 Binary files /dev/null and b/parfum-shop/public/images/products/540/kalter-beton-product-image.webp differ diff --git a/parfum-shop/public/images/products/540/nasser-marmor-product-image.webp b/parfum-shop/public/images/products/540/nasser-marmor-product-image.webp new file mode 100644 index 0000000..941925c Binary files /dev/null and b/parfum-shop/public/images/products/540/nasser-marmor-product-image.webp differ diff --git a/parfum-shop/public/images/products/540/schwarzes-benzin-product-image.webp b/parfum-shop/public/images/products/540/schwarzes-benzin-product-image.webp new file mode 100644 index 0000000..0caa718 Binary files /dev/null and b/parfum-shop/public/images/products/540/schwarzes-benzin-product-image.webp differ diff --git a/parfum-shop/public/images/products/540/verbranntes-chrom-product-image.webp b/parfum-shop/public/images/products/540/verbranntes-chrom-product-image.webp new file mode 100644 index 0000000..0cdcaf2 Binary files /dev/null and b/parfum-shop/public/images/products/540/verbranntes-chrom-product-image.webp differ diff --git a/parfum-shop/public/images/products/540/weisse-asche-product-image.webp b/parfum-shop/public/images/products/540/weisse-asche-product-image.webp new file mode 100644 index 0000000..4674047 Binary files /dev/null and b/parfum-shop/public/images/products/540/weisse-asche-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/blasse-seide-product-image.webp b/parfum-shop/public/images/products/720/blasse-seide-product-image.webp new file mode 100644 index 0000000..5d2ffa1 Binary files /dev/null and b/parfum-shop/public/images/products/720/blasse-seide-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/kalter-beton-product-image.webp b/parfum-shop/public/images/products/720/kalter-beton-product-image.webp new file mode 100644 index 0000000..978176f Binary files /dev/null and b/parfum-shop/public/images/products/720/kalter-beton-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/nasser-marmor-product-image.webp b/parfum-shop/public/images/products/720/nasser-marmor-product-image.webp new file mode 100644 index 0000000..01acc81 Binary files /dev/null and b/parfum-shop/public/images/products/720/nasser-marmor-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/schwarzes-benzin-product-image.webp b/parfum-shop/public/images/products/720/schwarzes-benzin-product-image.webp new file mode 100644 index 0000000..bce91a2 Binary files /dev/null and b/parfum-shop/public/images/products/720/schwarzes-benzin-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/verbranntes-chrom-product-image.webp b/parfum-shop/public/images/products/720/verbranntes-chrom-product-image.webp new file mode 100644 index 0000000..844da65 Binary files /dev/null and b/parfum-shop/public/images/products/720/verbranntes-chrom-product-image.webp differ diff --git a/parfum-shop/public/images/products/720/weisse-asche-product-image.webp b/parfum-shop/public/images/products/720/weisse-asche-product-image.webp new file mode 100644 index 0000000..056960b Binary files /dev/null and b/parfum-shop/public/images/products/720/weisse-asche-product-image.webp differ diff --git a/parfum-shop/src/components/landing/HeroSection.jsx b/parfum-shop/src/components/landing/HeroSection.jsx index 16aeb2d..e005332 100644 --- a/parfum-shop/src/components/landing/HeroSection.jsx +++ b/parfum-shop/src/components/landing/HeroSection.jsx @@ -1,5 +1,11 @@ import { Link } from "react-router"; import IntroOverlay from "./IntroOverlay"; +import { + HERO_PRODUCT_IMAGE_SIZES, + buildPublicImageSrcSet, +} from "../../utils/responsiveImages"; + +const HERO_PRODUCT_IMAGE = "/blasse-seide-hero-product.webp"; function HeroSection({ heroImageWrapRef, @@ -34,7 +40,13 @@ function HeroSection({
Blasse Seide Parfumflakon auf einer dunklen Produktkarte {item.name} `${folder}/${width}/${fileName} ${width}w` + ); + + return [...variants, `${src} ${originalWidth}w`].join(", "); +}