-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
64 lines (62 loc) · 1.37 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
import React from 'react'
import {Card as NavCard, Cards as NavCards, Steps, DocsThemeConfig} from 'nextra-theme-docs'
import { Logo } from "@components/Logo";
import { Card, Cards } from "@markdown/Cards";
import {Footer} from "@components/Footer";
import {DarkOnly, LightOnly} from "@markdown/ThemeContent";
import {Head} from "@components/Head";
import {SEO} from "@components/SEO";
import {Info, Note, Warning, Tip, Important, Check} from "@markdown/Callouts";
import {titleRenderer} from "@components/TopNav";
import { GithubMenuBadge } from '@/components/GitHubBadge';
const config: DocsThemeConfig = {
primaryHue: 165,
primarySaturation: {dark: 100, light: 85},
logo: (
<Logo />
),
search: {
placeholder: "Search...",
},
chat: {
link: 'https://discord.gg/K2CqmBhk4Z',
},
docsRepositoryBase: "https://github.com/EinStack/glide-docs",
footer: {
text: (
<Footer />
)
},
navbar: {
extraContent: <GithubMenuBadge />
},
sidebar: {
toggleButton: true,
titleComponent: titleRenderer,
},
editLink: {
text: "Edit this page on GitHub",
},
toc: {
backToTop: true
},
components: {
Card,
Cards,
NavCard,
NavCards,
LightOnly,
DarkOnly,
Steps,
Info,
Warning,
Note,
Tip,
Important,
Check,
},
// SEO
useNextSeoProps: SEO,
head: Head
}
export default config