From a7c3dee7a2248e60a69ff3775520eaf4913d09c6 Mon Sep 17 00:00:00 2001 From: Emil Gulamov <125820963+mearashadowfax@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:19:29 +0400 Subject: [PATCH] Update image import paths in various sections The changes are simply adjustments to image import paths in several sections. This is due to the relocation of image resources and better aligns with the new file directory structure. --- src/components/sections/FeaturesGeneral.astro | 2 +- src/components/sections/FeaturesNavs.astro | 6 +++--- src/components/sections/FeaturesStatsAlt.astro | 2 +- src/components/sections/HeroSection.astro | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/sections/FeaturesGeneral.astro b/src/components/sections/FeaturesGeneral.astro index 18e490f..00310f9 100644 --- a/src/components/sections/FeaturesGeneral.astro +++ b/src/components/sections/FeaturesGeneral.astro @@ -1,7 +1,7 @@ --- // Import the necessary dependencies import { Image } from "astro:assets"; -import featureImage from "../images/features-image.avif"; +import featureImage from "../../images/features-image.avif"; import IconBlock from "../ui/blocks/IconBlock.astro"; // Define the string variables `title` and `subTitle` for the main heading and sub-heading text respectively. diff --git a/src/components/sections/FeaturesNavs.astro b/src/components/sections/FeaturesNavs.astro index cf11bfd..32ae55a 100644 --- a/src/components/sections/FeaturesNavs.astro +++ b/src/components/sections/FeaturesNavs.astro @@ -2,9 +2,9 @@ // Import the necessary dependencies import TabNav from "../ui/blocks/TabNav.astro"; import TabContent from "../ui/blocks/TabContent.astro"; -import construction from "../images/construction-image.avif"; -import tools from "../images/automated-tools.avif"; -import dashboard from "../images/dashboard-image.avif"; +import construction from "../../images/construction-image.avif"; +import tools from "../../images/automated-tools.avif"; +import dashboard from "../../images/dashboard-image.avif"; // Define the variable for the section's heading const title: string = `Customize ScrewFast's offerings to perfectly suit your hardware and construction needs.`; diff --git a/src/components/sections/FeaturesStatsAlt.astro b/src/components/sections/FeaturesStatsAlt.astro index f336349..123d443 100644 --- a/src/components/sections/FeaturesStatsAlt.astro +++ b/src/components/sections/FeaturesStatsAlt.astro @@ -1,7 +1,7 @@ --- import { Image } from "astro:assets"; -import product5 from "../images/features-image.avif"; +import product5 from "../../images/features-image.avif"; const title: string = "Why Choose ScrewFast?"; diff --git a/src/components/sections/HeroSection.astro b/src/components/sections/HeroSection.astro index d0d5f21..1fc2a4f 100644 --- a/src/components/sections/HeroSection.astro +++ b/src/components/sections/HeroSection.astro @@ -1,7 +1,7 @@ --- // Import the necessary dependencies import { Image } from "astro:assets"; -import heroImage from "../images/hero-image.avif"; +import heroImage from "../../images/hero-image.avif"; import PrimaryCTA from "../ui/buttons/PrimaryCTA.astro"; import SecondaryCTA from "../ui/buttons/SecondaryCTA.astro"; import Avatar from "../ui/avatars/Avatar.astro";