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.
This commit is contained in:
Emil Gulamov 2024-02-19 18:19:29 +04:00
parent 58678ed276
commit a7c3dee7a2
4 changed files with 6 additions and 6 deletions

View file

@ -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.

View file

@ -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 <span class="text-yellow-500 dark:text-yellow-400">ScrewFast</span>'s offerings to perfectly suit your hardware and construction needs.`;

View file

@ -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?";

View file

@ -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";