From e58364effbbd7e7b741e05e7c2bdd61688b2ceb5 Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Thu, 15 Feb 2024 18:54:34 +0400 Subject: [PATCH] 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. --- src/pages/products/index.astro | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/pages/products/index.astro b/src/pages/products/index.astro index fe53e60..0e39e62 100644 --- a/src/pages/products/index.astro +++ b/src/pages/products/index.astro @@ -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";