forked from ethereum/portal-website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy paththeme.config.tsx
More file actions
30 lines (26 loc) · 807 Bytes
/
theme.config.tsx
File metadata and controls
30 lines (26 loc) · 807 Bytes
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
import { DocsThemeConfig, Navbar } from 'nextra-theme-docs'
import { portalLogo } from './components/logo'
const config: DocsThemeConfig = {
logo: portalLogo,
project: {
link: 'https://github.com/ethereum/portal-network-specs',
},
chat: {
link: 'https://discord.gg/rHruRsbgeY',
},
docsRepositoryBase: 'https://github.com/ethereum/portal-website/tree/master',
footer: {
text: 'Portal Network docs',
},
sidebar: {
defaultMenuCollapseLevel: 1
}
};
const CustomHead: React.FC = () => (
<>
<meta name="og:title" content="Portal network" />
<meta name="og:description" content="Portal Network: lightweight access to Ethereum" />
<meta name="og:image" content="public/logos/EthPortalNetworkLogo.png" />
</>
);
export default { ...config, head: CustomHead };