generated from shuding/nextra-docs-template
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.config.tsx
53 lines (47 loc) · 1.24 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
import React from 'react';
import { DocsThemeConfig } from 'nextra-theme-docs';
import Image from 'next/image';
const github = 'https://github.com/poseidon-zkp'
const config: DocsThemeConfig = {
logo: <Image src="/images/logo.png" alt="logo" width={40} height={40} />,
project: {
link: github,
},
chat: {
link: 'https://discord.gg/vp4A6BUtct',
},
docsRepositoryBase: `https://github.com/Poseidon-ZKP/Poseidon-docs`,
footer: {
text: 'Poseidon SDK document',
},
editLink: {
text() {
return <></>
},
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<link rel="icon" type="image/x-icon" href="/favicons/favicon.ico" />
</>
),
useNextSeoProps() {
const defaultSeoProps = {
description: 'TODO',
openGraph: {
description: 'TODO',
title: 'Poseidon-Docs docs',
// images: [{ url: 'https://wagmi.sh/og.png' }],
},
themeColor: '#ffffff',
twitter: {
cardType: 'TODO',
handle: 'TODO',
site: 'TODO',
},
} as const;
return { ...defaultSeoProps, titleTemplate: '%s – Poseidon-Docs' };
},
};
export default config;