From c788c3da0cc4d541a31e8f56fbeedd6a0f3d554b Mon Sep 17 00:00:00 2001 From: dev-madhurendra Date: Tue, 16 Apr 2024 10:40:20 +0530 Subject: [PATCH] :green_heart: fix : broken links --- frontend/index.html | 2 +- frontend/src/pages/Home/index.tsx | 7 +++---- frontend/src/utils/constants.ts | 1 + 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/frontend/index.html b/frontend/index.html index eb18fd5d..c4e31521 100644 --- a/frontend/index.html +++ b/frontend/index.html @@ -4,7 +4,7 @@ - 👋 | Madhurendra's Tech Odyssey + 👋 | Madhurendra's Portfolio
diff --git a/frontend/src/pages/Home/index.tsx b/frontend/src/pages/Home/index.tsx index 3653ba1b..89ec6bb5 100644 --- a/frontend/src/pages/Home/index.tsx +++ b/frontend/src/pages/Home/index.tsx @@ -1,7 +1,7 @@ import React, { useEffect } from 'react' import Typed from 'typed.js'; import { typeAttributes } from '../../services/mocks/mocks'; -import { HERO_SECTION_IMAGE, RESUME_LINK } from '../../utils/constants'; +import { HERO_SECTION_IMAGE, HIRE_ME_HREF, RESUME_LINK } from '../../utils/constants'; import { ButtonHomeDiv, CapsuleButton, GreetHomeDiv, HomeDiv, IntroDiv, LeftHomeDiv, RightHomeDiv, TypedHomeDiv } from '../../utils/styled'; import SocialMediaIcons from '../../components/molecules/SocialMediaIcons'; import HeroSectionImage from '../../../public/gif/Video-Call.gif' @@ -10,8 +10,6 @@ import { faDownload, faUser } from '@fortawesome/free-solid-svg-icons'; import AnimatedName from '../../components/molecules/AnimatedName'; import './style.css' - - const HomeSection = () => { const el = React.useRef(null); useEffect(() => { @@ -46,7 +44,8 @@ const HomeSection = () => { } + icon={faUser} />} + href={HIRE_ME_HREF} > Hire Me diff --git a/frontend/src/utils/constants.ts b/frontend/src/utils/constants.ts index f47ea1a6..26f85d5e 100644 --- a/frontend/src/utils/constants.ts +++ b/frontend/src/utils/constants.ts @@ -59,3 +59,4 @@ export const TEXTAREA = "textarea" export const SUBMIT = 'submit' export const POST = 'post' export const MULTI_PART_FORM_DATA = "multipart/form-data"; +export const HIRE_ME_HREF = '#contact'; \ No newline at end of file