From 7988f477b7ae9e454f32eb2106713adce8cb961b Mon Sep 17 00:00:00 2001 From: Sanjaiyan Parthipan <88643231+sanjaiyan-dev@users.noreply.github.com> Date: Sat, 9 Jul 2022 00:38:38 +0530 Subject: [PATCH 1/2] Adding --- beta/src/components/Seo.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/beta/src/components/Seo.tsx b/beta/src/components/Seo.tsx index 595215751bd..ccd744c084a 100644 --- a/beta/src/components/Seo.tsx +++ b/beta/src/components/Seo.tsx @@ -4,7 +4,7 @@ import React from 'react'; import Head from 'next/head'; -import {withRouter, Router} from 'next/router'; +import { withRouter, Router } from 'next/router'; export interface SeoProps { title: string; @@ -21,11 +21,12 @@ export const Seo = withRouter( image = '/logo-og.png', router, children, - }: SeoProps & {router: Router}) => ( + }: SeoProps & { router: Router }) => ( {/* DEFAULT */} + {title != null && {title}} {description != null && ( From 1f22ec366e31e3a0b95a8b8c3573b25979a7fdc1 Mon Sep 17 00:00:00 2001 From: Sanjaiyan Parthipan <88643231+sanjaiyan-dev@users.noreply.github.com> Date: Sat, 9 Jul 2022 00:41:50 +0530 Subject: [PATCH 2/2] =?UTF-8?q?Adding=20colours=20for=20meta=20theme=20?= =?UTF-8?q?=F0=9F=8E=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- beta/src/components/Seo.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beta/src/components/Seo.tsx b/beta/src/components/Seo.tsx index ccd744c084a..f8bfa67efd8 100644 --- a/beta/src/components/Seo.tsx +++ b/beta/src/components/Seo.tsx @@ -26,7 +26,7 @@ export const Seo = withRouter( {/* DEFAULT */} - + {title != null && {title}} {description != null && (