-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.config.tsx
53 lines (51 loc) · 1.16 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
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import { Analytics } from "@vercel/analytics/react"
const config: DocsThemeConfig = {
logo: (
<div
style={{
display: "flex",
alignItems: "center",
justifyContent: "center",
}}
>
<div>
<img src={"/images/raettu_logo_rot.svg"} height={64} width={64} />
</div>
<div style={{ fontSize: "1.5em", marginTop: "5px", marginLeft: "10px" }}>
Ratrac Wiki
</div>
</div>
),
project: {
link: "https://github.com/bihorco36/ratrac-wiki",
},
primaryHue: 360,
primarySaturation: { light: 90, dark: 60 },
docsRepositoryBase: "https://github.com/bihorco36/ratrac-wiki/tree/main",
useNextSeoProps() {
return {
titleTemplate: '%s – Ratrac Wiki',
noindex: true,
nofollow: true,
}
},
sidebar: {
defaultMenuCollapseLevel: 1,
toggleButton: true
},
footer: {
text: (<><Analytics /> Ratrac Wiki</>),
},
head: (
<>
<link
rel="shortcut icon"
type="image/x-icon"
href={"/images/red_r.svg"}
/>
</>
),
};
export default config;