mirror of
https://github.com/hazemKrimi/personal-website.git
synced 2026-05-01 18:00:26 +00:00
Update canonical links for seo
This commit is contained in:
+1
-1
@@ -75,7 +75,7 @@ const About: FC = () => {
|
|||||||
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
|
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='shortcut icon' href='favicon.ico' type='image/x-icon' />
|
||||||
<link rel='canonical' href='https://hazemkrimi.tech' />
|
<link rel='canonical' href='https://hazemkrimi.tech/about' />
|
||||||
<meta property='og:image' content='/logo.jpg' />
|
<meta property='og:image' content='/logo.jpg' />
|
||||||
<meta
|
<meta
|
||||||
property='og:description'
|
property='og:description'
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ const Index: FC<Props> = ({ blogPosts }) => {
|
|||||||
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
|
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='shortcut icon' href='favicon.ico' type='image/x-icon' />
|
||||||
<link rel='canonical' href='https://hazemkrimi.tech' />
|
<link rel='canonical' href='https://hazemkrimi.tech/blog' />
|
||||||
<meta property='og:image' content='/logo.jpg' />
|
<meta property='og:image' content='/logo.jpg' />
|
||||||
<meta
|
<meta
|
||||||
property='og:description'
|
property='og:description'
|
||||||
@@ -99,11 +99,11 @@ const Index: FC<Props> = ({ blogPosts }) => {
|
|||||||
|
|
||||||
export default Index;
|
export default Index;
|
||||||
|
|
||||||
export async function getStaticProps() {
|
export const getStaticProps = async () => {
|
||||||
const blogPosts = getBlogPosts();
|
const blogPosts = getBlogPosts();
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
blogPosts
|
blogPosts
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|||||||
@@ -63,7 +63,7 @@ const Index: FC<Props> = ({ portfolioProjects }) => {
|
|||||||
content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast'
|
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='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:image' content='/logo.jpg' />
|
||||||
<meta
|
<meta
|
||||||
property='og:description'
|
property='og:description'
|
||||||
@@ -98,11 +98,11 @@ const Index: FC<Props> = ({ portfolioProjects }) => {
|
|||||||
|
|
||||||
export default Index;
|
export default Index;
|
||||||
|
|
||||||
export async function getStaticProps() {
|
export const getStaticProps = async () => {
|
||||||
const portfolioProjects = getPortfolioProjects();
|
const portfolioProjects = getPortfolioProjects();
|
||||||
return {
|
return {
|
||||||
props: {
|
props: {
|
||||||
portfolioProjects
|
portfolioProjects
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user