From bf70d7f2c7792bf34dd80b50ae77b45ce9128ee2 Mon Sep 17 00:00:00 2001 From: Hazem Krimi Date: Tue, 19 Jan 2021 00:45:43 +0100 Subject: [PATCH] Update canonical links for seo --- pages/about.tsx | 2 +- pages/blog/index.tsx | 6 +++--- pages/portfolio/index.tsx | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/pages/about.tsx b/pages/about.tsx index 1514e87..e7a55f1 100644 --- a/pages/about.tsx +++ b/pages/about.tsx @@ -75,7 +75,7 @@ const About: FC = () => { content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast' /> - + = ({ blogPosts }) => { content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast' /> - + = ({ blogPosts }) => { export default Index; -export async function getStaticProps() { +export const getStaticProps = async () => { const blogPosts = getBlogPosts(); return { props: { blogPosts } }; -} +}; diff --git a/pages/portfolio/index.tsx b/pages/portfolio/index.tsx index 46769bc..3b47487 100644 --- a/pages/portfolio/index.tsx +++ b/pages/portfolio/index.tsx @@ -63,7 +63,7 @@ const Index: FC = ({ portfolioProjects }) => { content='Hazem Krimi is a Full Stack JavaScript Developer and a Software Engineering Enthusiast' /> - + = ({ portfolioProjects }) => { export default Index; -export async function getStaticProps() { +export const getStaticProps = async () => { const portfolioProjects = getPortfolioProjects(); return { props: { portfolioProjects } }; -} +};