Update canonical links for seo

This commit is contained in:
Hazem Krimi
2021-01-19 00:45:43 +01:00
parent e9fe3421e3
commit bf70d7f2c7
3 changed files with 7 additions and 7 deletions
+3 -3
View File
@@ -63,7 +63,7 @@ const Index: FC<Props> = ({ portfolioProjects }) => {
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
/>
<link rel='shortcut icon' href='favicon.ico' type='image/x-icon' />
<link rel='canonical' href='https://hazemkrimi.tech' />
<link rel='canonical' href='https://hazemkrimi.tech/portfolio' />
<meta property='og:image' content='/logo.jpg' />
<meta
property='og:description'
@@ -98,11 +98,11 @@ const Index: FC<Props> = ({ portfolioProjects }) => {
export default Index;
export async function getStaticProps() {
export const getStaticProps = async () => {
const portfolioProjects = getPortfolioProjects();
return {
props: {
portfolioProjects
}
};
}
};