-
Notifications
You must be signed in to change notification settings - Fork 178
/
theme.config.js
86 lines (86 loc) · 2.73 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
81
82
83
84
85
86
const theme = {
titleSuffix: " | JavaScript Patterns",
search: true,
unstable_flexsearch: true,
unstable_staticImage: true,
floatTOC: true,
font: false,
github: "https://github.com/lydiahallie/javascript-react-patterns",
projectLink: "https://github.com/lydiahallie/javascript-react-patterns",
logo: () => (
<>
<img
src="/logo.svg"
height="25"
width="25"
style={{ marginRight: "1em" }}
/>
<h1>
JavaScript Patterns <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="/javascript.svg" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/javascript.svg"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/javascript.svg"
/>
<link rel="mask-icon" href="/javascript.svg" color="#000000" />
<link rel="shortcut icon" href="/javascript.svg" />
<meta name="msapplication-TileColor" content="#000000" />
<meta
name="description"
content="Website created for the FrontendMasters course on JavaScript Patterns by Lydia Hallie"
/>
<meta
name="description"
content="Website for the FrontendMasters course on JavaScript Patterns by Lydia Hallie"
/>
<meta name="author" content="Lydia Hallie" />
<meta
property="og:url"
content="https://javascriptpatterns.vercel.app/patterns"
/>
<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} | JavaScript Patterns`}
/>
<meta
property="og:description"
content="Website created for the FrontendMasters course on JavaScript Patterns by Lydia Hallie"
/>
<meta
property="og:image"
content="https://javascriptpatterns.vercel.app/ogimage1.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@lydiahallie" />
<meta name="twitter:creator" content="@lydiahallie" />
</>
);
},
darkMode: true,
footerText: `${new Date().getFullYear()} © Lydia Hallie`,
nextThemes: {
defaultTheme: "dark",
},
};
export default theme;