Skip to content

Commit 42cfca7

Browse files
Fix image source paths in productFeatureImg component
1 parent 079ce03 commit 42cfca7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/components/products/productFeatureImg.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,16 +12,16 @@ export default function ProductGallery({
1212
return (
1313
<>
1414
<div className="d-block d-md-flex">
15-
<img className="w-100 max-height-200 rounded-3 mb-4 mb-md-0" src={`${import.meta.env.BASE_URL}images/product7.jpg`} alt={images[0].alt} />
15+
<img className="w-100 max-height-200 rounded-3 mb-4 mb-md-0" src={`${import.meta.env.BASE_URL}/images/product7.jpg`} alt={images[0].alt} />
1616
</div>
1717
<div className="row mt-4">
1818
<div className="col-6">
19-
<img className="w-100 max-height-200 rounded-3" src={`${import.meta.env.BASE_URL}images/product8.jpg`} alt={images[2].alt} />
19+
<img className="w-100 max-height-200 rounded-3" src={`${import.meta.env.BASE_URL}/images/product8.jpg`} alt={images[2].alt} />
2020
</div>
2121
<div className="col-6">
22-
<img className="w-100 max-height-200 rounded-3" src={`${import.meta.env.BASE_URL}images/product9.jpg`} alt={images[3].alt} />
22+
<img className="w-100 max-height-200 rounded-3" src={`${import.meta.env.BASE_URL}/images/product9.jpg`} alt={images[3].alt} />
2323
</div>
2424
</div>
2525
</>
2626
);
27-
}
27+
}

0 commit comments

Comments
 (0)