generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 2
/
theme.config.tsx
81 lines (70 loc) · 1.67 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
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import Image from "next/image";
// import { Balsamiq_Sans } from "next/font/google";
// const balsamiq = Balsamiq_Sans({
// weight: "400",
// subsets: ["latin"],
// });
export default {
logo: (
<>
{/* <Image
src="/images/amigrant.png"
alt="logo"
width={38}
height={38}
style={{ marginLeft: ".4em" }}
/> */}
<span
// className={`${balsamiq.className} logo`}
// style={{ marginLeft: ".4em", marginTop: fontSize: "1.5em"}}
style={{fontSize: "1.5em"}}
>
{" "}
Amigrant
</span>
</>
),
project: {
link: "https://github.com/asetalias/amigrant-docs",
},
docsRepositoryBase: "https://github.com/asetalias/amigrant-docs/blob/main",
sidebar: {
defaultMenuCollapseLevel: 1,
toggleButton: true,
},
useNextSeoProps() {
return {
titleTemplate: "%s - Amigrant",
};
},
nextThemes: {
defaultTheme: "dark",
},
chat: {
link: "https://discord.gg/vdYYXPmpBh",
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Amigrant Documentation" />
<meta property="og:description" content="Amigrant Documentation" />
<link rel="icon" href="/images/favicon.ico" />
</>
),
footer: {
text: (
<>
<span style={{ marginLeft: "1em", marginTop: ".2em" }}>
<a href="https://asetalias.in" target="_blank">
Made with ❤️ by ALiAS
</a>
</span>
</>
),
},
search: {
placeholder: "Search",
},
};