-
Notifications
You must be signed in to change notification settings - Fork 19
/
theme.config.js
90 lines (90 loc) · 2.72 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
87
88
89
90
const theme = {
docsRepositoryBase: "https://github.com/marcysutton/frontend-masters-web-accessibility-v3",
project: {
link: "https://github.com/marcysutton/frontend-masters-web-accessibility-v3"
},
logo: () => (
<>
<img
alt=""
src="/universal-access-icon.png"
height="25"
width="25"
style={{ marginRight: "1em" }}
/>
<h1>
Web Accessibility, V3
</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="/universal-access-icon.png" />
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/universal-access-icon.png"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/universal-access-icon.png"
/>
<link rel="mask-icon" href="/universal-access-icon.png" color="#000000" />
<link rel="shortcut icon" href="/universal-access-icon.png" />
<meta name="msapplication-TileColor" content="#000000" />
<meta
name="description"
content="Website created for the FrontendMasters course on Web Accessibility by Marcy Sutton Todd"
/>
<meta name="author" content="Marcy Sutton Todd" />
<meta
property="og:url"
content="https://web-accessibility.vercel.app/topics"
/>
<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} | Web Accessibility`}
/>
<meta
property="og:description"
content="Website created for the FrontendMasters course on Web Accessibility by Marcy Sutton Todd"
/>
<meta
property="og:image"
content="https://web-accessibility.vercel.app/ogimage1.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@marcysutton" />
<meta name="twitter:creator" content="@marcysutton" />
</>
);
},
sidebar: {
defaultMenuCollapseLevel: 1,
autoCollapse: true
},
darkMode: true,
footer: {
text: `${new Date().getFullYear()} © Marcy Sutton Todd`
},
nextThemes: {
defaultTheme: "dark",
},
useNextSeoProps() {
return {
titleTemplate: '%s – Web Accessibility, V3'
}
}
};
export default theme;