Skip to content

Commit 3b2eb9d

Browse files
committed
update relative path with '#' prefix
1 parent e77aac6 commit 3b2eb9d

13 files changed

+46
-45
lines changed

src/components/AltHeroSection.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import heroImage from '../assets/images/hero-alt.webp';
2-
// import HeroIllustration from '../assets/images/hero-illustration.webp';
1+
import heroImage from '#assets/images/hero-alt.webp';
2+
// import HeroIllustration from '#assets/images/hero-illustration.webp';
33

44
const AltHeroSection = () => {
55
return (

src/components/Contact.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
import { useSelector } from 'react-redux';
22

3-
import connectImg from '../assets/images/connect1.svg';
4-
import { RootState } from '../store/store';
3+
import connectImg from '#assets/images/connect1.svg';
4+
import { RootState } from '#store/store';
5+
56
import ContactForm from './ContactForm';
67
import MessageSent from './MessageSent';
78

src/components/ContactForm.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ import { useDispatch, useSelector } from 'react-redux';
66
import { twJoin } from 'tailwind-merge';
77
import validator from 'validator';
88

9-
import { setFormData, setFormStatus } from '../store/reducer/FormSlice';
10-
import { AppDispatch, RootState } from '../store/store';
9+
import { setFormData, setFormStatus } from '#store/reducer/FormSlice';
10+
import { AppDispatch, RootState } from '#store/store';
1111
import Button from './Button';
1212
import Spinner from './Spinner';
1313

src/components/ImageModal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { faGithub } from '@fortawesome/free-brands-svg-icons';
22
import { faClose, faEye } from '@fortawesome/free-solid-svg-icons';
33
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
44

5-
import { ProjectType } from '../data/Projects';
5+
import { ProjectType } from '#data/Projects';
66

77
const ImageModal = ({
88
onClick,

src/components/LanguageAndTool.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
import CodeIcon from '../assets/images/icons/code.svg?react';
2-
import ToolsIcon from '../assets/images/icons/tools.svg?react';
3-
import { languages, tools } from '../data/Skills';
1+
import CodeIcon from '#assets/images/icons/code.svg?react';
2+
import ToolsIcon from '#assets/images/icons/tools.svg?react';
3+
import { languages, tools } from '#data/Skills';
44

55
const LanguageAndTool = () => {
66
return (

src/components/MessageSent.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { useSelector } from 'react-redux';
22

3-
import sendIcon from '../assets/images/message_send.svg';
4-
import { RootState } from '../store/store';
3+
import sendIcon from '#assets/images/message_send.svg';
4+
import { RootState } from '#store/store';
55

66
const MessageSent = () => {
77
const {

src/components/ProjectCard.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { faEye } from '@fortawesome/free-solid-svg-icons';
33
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
44
import { useState } from 'react';
55

6-
import { ProjectType } from '../data/Projects';
6+
import { ProjectType } from '#data/Projects';
77
import ImageModal from './ImageModal';
88

99
const ProjectCard = ({ project }: { project: ProjectType }) => {

src/components/RecentWork.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import Projects from '../data/Projects';
1+
import Projects from '#data/Projects';
22
import ProjectCard from './ProjectCard';
33

44
const featuredProject = Projects.filter(project => project.featured);

src/components/SocialLinks.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
22
import { twJoin } from 'tailwind-merge';
33

4-
import { SocialLink, socialLinks } from '../data/Social';
4+
import { SocialLink, socialLinks } from '#data/Social';
55

66
const SocialLinks = ({ inverted }: { inverted?: boolean }) => {
77
return (

src/components/ThemeSwitcher.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
import { useEffect } from 'react';
22
import { useDispatch, useSelector } from 'react-redux';
33

4-
import { toggleTheme } from '../store/reducer/ThemeReducer';
5-
import { RootState } from '../store/store';
4+
import { toggleTheme } from '#store/reducer/ThemeReducer';
5+
import { RootState } from '#store/store';
66
import ToggleButton from './ToggleButton';
77

88
const ThemeSwitcher = ({ className }: { className?: string }) => {

0 commit comments

Comments
 (0)