Correct paths for image imports in product page
The paths referencing images in the product page were corrected. Initial paths were relative to the current file but they should be relative to the root directory, thus an additional navigation step with "../" was added for each import statement.
This commit is contained in:
parent
e8a16def34
commit
e58364effb
1 changed files with 4 additions and 4 deletions
|
@ -7,10 +7,10 @@ import ImgWide from "../../components/ui/images/ImgWide.astro";
|
|||
import FeaturesStats2 from "../../components/FeaturesStats2.astro";
|
||||
import TestimonialsSection2 from "../../components/TestimonialsSection2.astro";
|
||||
|
||||
import product1 from "../images/product-image-1.avif";
|
||||
import product2 from "../images/product-image-2.avif";
|
||||
import product3 from "../images/product-image-3.avif";
|
||||
import product4 from "../images/product-image-4.avif";
|
||||
import product1 from "../../images/product-image-1.avif";
|
||||
import product2 from "../../images/product-image-2.avif";
|
||||
import product3 from "../../images/product-image-3.avif";
|
||||
import product4 from "../../images/product-image-4.avif";
|
||||
|
||||
const title: string = "Products";
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue