-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
87 lines (85 loc) · 2.2 KB
/
theme.config.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
import React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
const config: DocsThemeConfig = {
head: (
<>
<meta charSet='utf-8' />
<meta name='viewport' content='width=device-width, initial-scale=1' />
<meta property='og:title' content='Haruki Murakami Database' />
<meta
name='description'
content='Website to find all pop culture references mentioned in Haruki Murakami works.'
/>
<meta name='author' content='Sara Makishti' />
<meta
property='og:url'
content='https://haruki-murakami-database.vercel.app/'
/>
<meta property='og:type' content='website' />
<meta property='og:locale' content='en_US' />
<script
async
src='https://www.googletagmanager.com/gtag/js?id=G-8TXCP6MZHB'
/>
<script
dangerouslySetInnerHTML={{
__html: `
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-8TXCP6MZHB', {
page_path: window.location.pathname,
});
`,
}}
/>
</>
),
useNextSeoProps() {
return {
titleTemplate: '%s | Haruki Murakami Database',
};
},
logo: <span>Haruki Murakami | Complete References Collection</span>,
banner: {
key: '1.0-release',
dismissible: true,
text: (
<a href='/status'>
🎉 Recently Launched! Go to Status to see added references →
</a>
),
},
project: {
link: 'https://github.com/saramakishti/haruki-murakami-database',
},
chat: {},
docsRepositoryBase:
'https://github.com/saramakishti/haruki-murakami-database',
footer: {
text: (
<span>
<a href='/novels/kafka_on_the_shore' target='_blank'>
<i>
If you remember me, then I don't care if everyone else forgets. -
Kafka on the Shore
</i>
</a>
</span>
),
},
search: {
placeholder: 'Search database...',
},
sidebar: {
toggleButton: true,
defaultMenuCollapseLevel: 1,
},
toc: {
float: true,
},
editLink: {
text: null,
},
};
export default config;