Skip to content

Commit

Permalink
test: preload image with crossorigin=anonymous
Browse files Browse the repository at this point in the history
  • Loading branch information
Moamal-2000 committed Dec 14, 2024
1 parent 34d46bf commit 2b0f71b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/Components/Home/Home.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,13 @@ const Home = () => {
name="description"
content="Your ultimate destination for effortless online shopping. Discover curated collections, easily add items to your cart and wishlist,and enjoy detailed product descriptions with captivating previews. Experience convenience like never before with our intuitive interface. Shop smarter with us today."
/>
<link ref="preload" as="image" type="image/webp" href={productImg1} />
<link
ref="preload"
as="image"
type="image/webp"
href={productImg1}
crossorigin="anonymous"
/>
</Helmet>

<main className={s.home}>
Expand Down

0 comments on commit 2b0f71b

Please sign in to comment.