File tree 6 files changed +38
-0
lines changed
6 files changed +38
-0
lines changed Original file line number Diff line number Diff line change @@ -118,6 +118,7 @@ export const Header: React.FC = () => {
118
118
target = "_blank"
119
119
rel = "noreferrer"
120
120
href = "https://lichess.org/@/maia1"
121
+ className = "uppercase"
121
122
>
122
123
Play
123
124
</ a >
Original file line number Diff line number Diff line change 1
1
import Link from 'next/link'
2
+ import Head from 'next/head'
2
3
import { useContext } from 'react'
3
4
import { useRouter } from 'next/router'
4
5
import Chessground from '@react-chess/chessground'
@@ -15,6 +16,13 @@ export default function Error401Page() {
15
16
16
17
return (
17
18
< div className = "absolute flex h-full w-full flex-col items-center justify-center gap-8 px-4 md:flex-row md:px-0" >
19
+ < Head >
20
+ < title > Beta Access – Maia Chess</ title >
21
+ < meta
22
+ name = "description"
23
+ content = "Maia Chess is in beta! Sign up to get access"
24
+ />
25
+ </ Head >
18
26
< div
19
27
style = { {
20
28
width : 'min(40vw, 40vh)' ,
Original file line number Diff line number Diff line change
1
+ import Head from 'next/head'
1
2
import Link from 'next/link'
2
3
import { useRouter } from 'next/router'
3
4
import { GetStaticPaths , GetStaticProps } from 'next'
@@ -20,6 +21,13 @@ const BlogPost = ({ post }: BlogPostProps) => {
20
21
21
22
return (
22
23
< div className = { styles . page } >
24
+ < Head >
25
+ < title > Blog – Maia Chess</ title >
26
+ < meta
27
+ name = "description"
28
+ content = "Maia Chess is in beta! Sign up to get access"
29
+ />
30
+ </ Head >
23
31
< div className = "flex w-full flex-col items-center justify-start overflow-x-hidden" >
24
32
< div className = "flex flex-col gap-2 md:w-8/12" >
25
33
< Link href = "/blog" >
Original file line number Diff line number Diff line change
1
+ import Head from 'next/head'
1
2
import Link from 'next/link'
2
3
3
4
import { Post } from 'src/types'
@@ -7,6 +8,13 @@ import { getSortedPostsData } from 'src/blog/posts'
7
8
export default function Blog ( { posts } : { posts : Post [ ] } ) {
8
9
return (
9
10
< div className = { styles . page } >
11
+ < Head >
12
+ < title > Blog – Maia Chess</ title >
13
+ < meta
14
+ name = "description"
15
+ content = "Maia Chess is in beta! Sign up to get access"
16
+ />
17
+ </ Head >
10
18
< h1 className = "text-4xl font-bold" > Blog</ h1 >
11
19
< div className = "flex w-full flex-col gap-6 overflow-x-hidden overflow-y-scroll" >
12
20
{ posts . map ( ( post , index ) => (
Original file line number Diff line number Diff line change
1
+ import Head from 'next/head'
1
2
import { useCallback , useEffect , useState } from 'react'
2
3
3
4
import {
@@ -58,6 +59,13 @@ const Leaderboard: React.FC = () => {
58
59
59
60
return (
60
61
< div className = "flex h-full w-full flex-col items-start justify-center gap-8 px-[4%] py-[2%]" >
62
+ < Head >
63
+ < title > Leaderboard – Maia Chess</ title >
64
+ < meta
65
+ name = "description"
66
+ content = "Top users across all Maia Chess leaderboards"
67
+ />
68
+ </ Head >
61
69
< div className = "flex flex-col" >
62
70
< h1 className = "text-4xl font-bold" > Rating Leaderboards</ h1 >
63
71
< p >
Original file line number Diff line number Diff line change
1
+ import Head from 'next/head'
1
2
import { AuthenticatedWrapper , UserProfile } from 'src/components'
2
3
3
4
export default function AuthenticatedProfilePage ( ) {
4
5
return (
5
6
< AuthenticatedWrapper >
7
+ < Head >
8
+ < title > Profile – Maia Chess</ title >
9
+ < meta name = "description" content = "User profile and statistics" />
10
+ </ Head >
6
11
< UserProfile />
7
12
</ AuthenticatedWrapper >
8
13
)
You can’t perform that action at this time.
0 commit comments