generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 38
/
Copy paththeme.config.tsx
66 lines (64 loc) · 1.7 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
import React from 'react';
import type { DocsThemeConfig } from 'nextra-theme-docs';
import { Logo } from './components/Logo';
import { Footer } from './components/Footer/Footer';
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/sei-v2-banner.jpg',
width: 1600,
height: 900,
alt: 'Sei V2 Overview',
type: 'image/jpg'
}
]
},
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;