-
Notifications
You must be signed in to change notification settings - Fork 15
/
theme.config.js
80 lines (79 loc) · 2.64 KB
/
theme.config.js
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
import Badge from "./components/Badge";
const theme = {
titleSuffix: " | 100xdocs",
search: true,
unstable_flexsearch: true,
unstable_staticImage: true,
floatTOC: true,
font: false,
github: "https://github.com/thatbeautifuldream/100xdocs",
projectLink: "https://github.com/thatbeautifuldream/100xdocs",
logo: () => (
<>
<Badge text="TS" />
<h1>
100xdocs <span style={{ opacity: 0.2 }}></span>
</h1>
</>
),
head: function Head(props) {
return (
<>
<meta charSet="utf-8" />
<meta name="theme-color" content="#000" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="/typescript.svg" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/typescript.svg"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/typescript.svg"
/>
<link rel="mask-icon" href="/typescript.svg" color="#000000" />
<link rel="shortcut icon" href="/typescript.svg" />
<meta name="msapplication-TileColor" content="#000000" />
<meta
name="description"
content="This website consists of docs related to the 100xdevs Cohort, which is split up into week wise sessions."
/>
<meta
name="description"
content="This website consists of docs related to the 100xdevs Cohort, which is split up into week wise sessions."
/>
<meta name="author" content="Milind Mishra" />
<meta
property="og:url"
content="https://100xdocs.vercel.app/ogimage.png"
/>
<meta property="og:type" content="website" />
<meta property="og:locale" content="en_US" />
<meta property="og:image:width" content="1200" />
<meta property="og:image:height" content="692" />
<meta property="og:title" content={`${props.title} | 100xdocs`} />
<meta
property="og:description"
content="This website consists of docs related to the 100xdevs Cohort, which is split up into week wise sessions."
/>
<meta
property="og:image"
content="https://100xdocs.vercel.app/ogimage.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@milindstwt" />
<meta name="twitter:creator" content="@milindstwt" />
</>
);
},
darkMode: true,
footerText: `${new Date().getFullYear()} © Milind Mishra`,
nextThemes: {
defaultTheme: "dark",
},
};
export default theme;