forked from mihomo-party-org/mihomo-party-docs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.tsx
45 lines (43 loc) · 1.02 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
import React from "react";
import Logo from "./components/logo";
import { FaTelegramPlane } from "react-icons/fa";
import { DocsThemeConfig } from "nextra-theme-docs";
const config: DocsThemeConfig = {
useNextSeoProps: () => ({
titleTemplate: "%s - Mihomo Party - 一个更易用的客户端",
}),
logo: <Logo style={{ height: "24px" }} />,
docsRepositoryBase:
"https://github.com/mihomo-party-org/mihomo-party-docs/edit/master",
project: {
link: "https://github.com/mihomo-party-org/mihomo-party",
},
feedback: {
content: undefined,
},
editLink: {
text: "在 GitHub 上编辑此页",
},
toc: {
title: "目录",
},
search: {
placeholder: "搜索文档",
},
themeSwitch: {
useOptions: {
system: "自动",
light: "浅色",
dark: "深色",
},
},
darkMode: true,
chat: {
icon: <FaTelegramPlane style={{ fontSize: 24 }} />,
link: "https://t.me/mihomo_party_group",
},
footer: {
text: "GPL-3.0 © mihomo-party.",
},
};
export default config;