From 363c7f8f320f7e1b1b05064485d3936225c0f759 Mon Sep 17 00:00:00 2001 From: Abolfazl Jamshidi Date: Tue, 4 Jun 2024 16:13:13 +0330 Subject: [PATCH] update images using absolute path imports --- src/app/(about-me)/_components/AboutMeHero.tsx | 9 +++++---- src/app/(about-me)/_components/Company.tsx | 3 ++- src/app/(home)/_components/HomeHeroSection.tsx | 5 ++--- src/components/Navigation/Navigation.tsx | 7 ++----- src/constants/index.ts | 7 ++++++- tsconfig.json | 3 ++- 6 files changed, 19 insertions(+), 15 deletions(-) diff --git a/src/app/(about-me)/_components/AboutMeHero.tsx b/src/app/(about-me)/_components/AboutMeHero.tsx index f58c55d..d517724 100644 --- a/src/app/(about-me)/_components/AboutMeHero.tsx +++ b/src/app/(about-me)/_components/AboutMeHero.tsx @@ -1,3 +1,4 @@ +import { heroImage } from "@/constants"; import { Fira_Code } from "next/font/google"; import Image from "next/image"; const firaCode = Fira_Code({ @@ -23,7 +24,7 @@ const AboutMeHeroSection = () => {
photo {
photo {
photo {
photo { @@ -6,7 +7,7 @@ const Company = () => {
company name {
arman photo { const { resolvedTheme } = useTheme(); @@ -14,11 +15,7 @@ const Navigation = () => {