generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 33
/
theme.config.tsx
70 lines (68 loc) · 1.35 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 React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
import { Logo } from './components/Logo';
const config: DocsThemeConfig = {
logo: <Logo />,
project: {
link: 'https://github.com/sei-protocol'
},
chat: {
link: 'https://discord.gg/sei'
},
docsRepositoryBase: 'https://github.com/sei-protocol/sei-docs/tree/main',
footer: {
text: 'Sei Docs © 2024'
},
head: <></>,
sidebar: {
defaultMenuCollapseLevel: 1
},
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'
},
{
href: '/favicon-16x16.png',
rel: 'icon',
sizes: '16x16',
type: 'image/png'
},
{
href: '/favicon-32x32.png',
rel: 'icon',
sizes: '32x32',
type: 'image/png'
},
{
href: '/apple-touch-icon.png',
rel: 'apple-touch-icon',
sizes: '180x180'
}
]
};
}
};
export default config;