generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy paththeme.config.tsx
70 lines (68 loc) · 1.72 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
import type { DocsThemeConfig } from "nextra-theme-docs";
import React from "react";
import { Footer } from "./components/Footer/Footer";
import { Logo } from "./components/Logo";
const config: DocsThemeConfig = {
logo: <Logo />,
navigation: true,
primaryHue: { dark: 0, light: 0 },
search: { placeholder: "Search documentation..." },
project: { link: "https://github.com/sei-protocol" },
chat: { link: "https://discord.gg/sei" },
navbar: { extraContent: null },
feedback: {
content: "Question? Give us feedback →",
useLink: () => "https://github.com/sei-protocol/sei-docs/issues/new",
},
editLink: { text: "Edit this page" },
sidebar: { defaultMenuCollapseLevel: 1, toggleButton: true },
darkMode: true,
footer: {
component: <Footer />,
},
docsRepositoryBase: "https://github.com/sei-protocol/sei-docs/tree/main",
useNextSeoProps() {
return {
titleTemplate: "%s - Sei Docs",
description: "Documentation for Sei Network",
openGraph: {
type: "website",
locale: "en_US",
siteName: "Sei Docs",
description: "Documentation for Sei Network",
images: [
{
url: "https://www.docs.sei.io/assets/docs-banner.png",
width: 1600,
height: 900,
alt: "Sei Docs",
type: "image/png",
},
],
},
twitter: { site: "@SeiNetwork" },
additionalLinkTags: [
{ rel: "icon", href: "/favicon.ico" },
{
rel: "icon",
type: "image/png",
sizes: "16x16",
href: "/favicon-16x16.png",
},
{
rel: "icon",
type: "image/png",
sizes: "32x32",
href: "/favicon-32x32.png",
},
{
rel: "apple-touch-icon",
sizes: "180x180",
href: "/apple-touch-icon.png",
},
],
};
},
head: <></>,
};
export default config;