Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions beta/src/components/Seo.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -21,11 +21,12 @@ export const Seo = withRouter(
image = '/logo-og.png',
router,
children,
}: SeoProps & {router: Router}) => (
}: SeoProps & { router: Router }) => (
<Head>
{/* DEFAULT */}

<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content={(typeof window !== "undefined") ? window?.__theme === "dark" ? '#23272F' : '#F6F7F9' : "#23272F"} />

{title != null && <title key="title">{title}</title>}
{description != null && (
Expand Down