From 2712db4559609122351a25f9a67f6fcda9aa35a9 Mon Sep 17 00:00:00 2001 From: Kevin Thomas Date: Fri, 1 Nov 2024 17:48:55 -0700 Subject: [PATCH] chore: add meta tags --- src/components/Header/Header.tsx | 1 + src/pages/401.tsx | 8 ++++++++ src/pages/blog/[id].tsx | 8 ++++++++ src/pages/blog/index.tsx | 8 ++++++++ src/pages/leaderboard.tsx | 8 ++++++++ src/pages/profile.tsx | 5 +++++ 6 files changed, 38 insertions(+) diff --git a/src/components/Header/Header.tsx b/src/components/Header/Header.tsx index ad84af2..6727080 100644 --- a/src/components/Header/Header.tsx +++ b/src/components/Header/Header.tsx @@ -118,6 +118,7 @@ export const Header: React.FC = () => { target="_blank" rel="noreferrer" href="https://lichess.org/@/maia1" + className="uppercase" > Play diff --git a/src/pages/401.tsx b/src/pages/401.tsx index c7e2d56..44b03d9 100644 --- a/src/pages/401.tsx +++ b/src/pages/401.tsx @@ -1,4 +1,5 @@ import Link from 'next/link' +import Head from 'next/head' import { useContext } from 'react' import { useRouter } from 'next/router' import Chessground from '@react-chess/chessground' @@ -15,6 +16,13 @@ export default function Error401Page() { return (
+ + Beta Access – Maia Chess + +
{ return (
+ + Blog – Maia Chess + +
diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx index a30bee6..fb8ebaa 100644 --- a/src/pages/blog/index.tsx +++ b/src/pages/blog/index.tsx @@ -1,3 +1,4 @@ +import Head from 'next/head' import Link from 'next/link' import { Post } from 'src/types' @@ -7,6 +8,13 @@ import { getSortedPostsData } from 'src/blog/posts' export default function Blog({ posts }: { posts: Post[] }) { return (
+ + Blog – Maia Chess + +

Blog

{posts.map((post, index) => ( diff --git a/src/pages/leaderboard.tsx b/src/pages/leaderboard.tsx index 2e3ad67..a1dc443 100644 --- a/src/pages/leaderboard.tsx +++ b/src/pages/leaderboard.tsx @@ -1,3 +1,4 @@ +import Head from 'next/head' import { useCallback, useEffect, useState } from 'react' import { @@ -58,6 +59,13 @@ const Leaderboard: React.FC = () => { return (
+ + Leaderboard – Maia Chess + +

Rating Leaderboards

diff --git a/src/pages/profile.tsx b/src/pages/profile.tsx index f36e119..ed11223 100644 --- a/src/pages/profile.tsx +++ b/src/pages/profile.tsx @@ -1,8 +1,13 @@ +import Head from 'next/head' import { AuthenticatedWrapper, UserProfile } from 'src/components' export default function AuthenticatedProfilePage() { return ( + + Profile – Maia Chess + + )