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:
Emil Gulamov 2024-02-15 18:54:34 +04:00
parent e8a16def34
commit e58364effb

View file

@ -7,10 +7,10 @@ import ImgWide from "../../components/ui/images/ImgWide.astro";
import FeaturesStats2 from "../../components/FeaturesStats2.astro"; import FeaturesStats2 from "../../components/FeaturesStats2.astro";
import TestimonialsSection2 from "../../components/TestimonialsSection2.astro"; import TestimonialsSection2 from "../../components/TestimonialsSection2.astro";
import product1 from "../images/product-image-1.avif"; import product1 from "../../images/product-image-1.avif";
import product2 from "../images/product-image-2.avif"; import product2 from "../../images/product-image-2.avif";
import product3 from "../images/product-image-3.avif"; import product3 from "../../images/product-image-3.avif";
import product4 from "../images/product-image-4.avif"; import product4 from "../../images/product-image-4.avif";
const title: string = "Products"; const title: string = "Products";