From d641dd30a8418b8439fa41bfe9248293ff0dca39 Mon Sep 17 00:00:00 2001 From: Yash Khandelwal Date: Fri, 23 Sep 2022 19:35:54 +0530 Subject: [PATCH] fix headers for individual pages (#76) --- pages/connect.tsx | 5 +++++ pages/projects.tsx | 5 +++++ pages/work.tsx | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/pages/connect.tsx b/pages/connect.tsx index f693a7b..6decc8f 100644 --- a/pages/connect.tsx +++ b/pages/connect.tsx @@ -3,6 +3,7 @@ import { PersonalDetailsContext } from '@utils/contexts'; import { PersonalDetails } from '@utils/types'; import { Footer, Loader, Navbar } from '@shared-components'; import dynamic from 'next/dynamic'; +import Head from 'next/head'; type Props = { personalDetails: PersonalDetails; @@ -16,6 +17,10 @@ const ConnectPage = dynamic(() => import('../components/connect/index'), { const Contact = ({ personalDetails }: Props): JSX.Element => { return ( <> + + Harsh Goel | Contact + + diff --git a/pages/projects.tsx b/pages/projects.tsx index 6fee883..2bf745d 100644 --- a/pages/projects.tsx +++ b/pages/projects.tsx @@ -3,6 +3,7 @@ import { getPersonalDetails, getProjectDetails } from '@utils/apiService'; import { PersonalDetailsContext, ProjectDetailsContext } from '@utils/contexts'; import { PersonalDetails, Project } from '@utils/types'; import { Footer, Loader, Navbar, SocialBar } from '@shared-components'; +import Head from 'next/head'; const ProjectsPage = dynamic(() => import('../components/projects/index'), { ssr: false, @@ -16,6 +17,10 @@ type Props = { const Projects = ({ personalDetails, projectDetails }: Props): JSX.Element => { return ( <> + + Harsh Goel | Projects + + diff --git a/pages/work.tsx b/pages/work.tsx index 1a5e9b8..e60f9fd 100644 --- a/pages/work.tsx +++ b/pages/work.tsx @@ -3,6 +3,7 @@ import { Footer, Loader, Navbar } from '@shared-components'; import { getPersonalDetails, getCompanyDetails } from '@utils/apiService'; import { Company, PersonalDetails } from '@utils/types'; import { CompanyDetailsContext, PersonalDetailsContext } from '@utils/contexts'; +import Head from 'next/head'; const WorkPage = dynamic(() => import('../components/work/index'), { ssr: false, @@ -17,6 +18,10 @@ type Props = { const Work = ({ personalDetails, companyDetails }: Props): JSX.Element => { return ( <> + + Harsh Goel | Work + +