-
Notifications
You must be signed in to change notification settings - Fork 1
/
theme.config.jsx
50 lines (48 loc) · 1.46 KB
/
theme.config.jsx
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
import LOGO from "./src/logo.tsx";
/**@type {import('nextra-theme-docs').DocsThemeConfig}*/
const config = {
logo: LOGO,
project: {
link: 'https://github.com/NarraLeaf/narraleaf-react'
},
docsRepositoryBase: 'https://github.com/NarraLeaf/react.narraleaf.com/tree/master',
head() {
return (
<>
<link rel="icon" href="/static/leaf.svg" />
</>
);
},
primaryHue: 192.73,
useNextSeoProps() {
return {
titleTemplate: '%s – NarraLeaf React',
}
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="NarraLeaf-React" />
<meta property="og:description" content="A new definition of the visual novel" />
</>
),
i18n: [
{ locale: 'en-US', text: 'English' },
{ locale: 'zh-CN', text: '中文' }
],
footer: {
text: (
<span>
Copyright © {new Date().getFullYear()} NarraLeaf. Licensed under the MPL-2.0 License.{' '}
<a href="https://github.com/NarraLeaf" target="_blank">
GitHub
</a>
.
</span>
),
},
components: {
h4: (props) => <h4 className="nx-font-semibold nx-tracking-tight text-slate-300 dark:nx-text-slate-100 nx-mt-8 nx-text-xl" {...props} />,
},
};
export default config;