-
Notifications
You must be signed in to change notification settings - Fork 7
/
theme.config.jsx
33 lines (32 loc) · 1.14 KB
/
theme.config.jsx
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
import { useConfig } from 'nextra-theme-docs'
export default {
logo: <div className="nx-flex nx-items-center">
<img alt="XELIS Logo" src="/green_background_black_logo.png" style={{ borderRadius: `2em`, width: `6em` }} />
</div>,
project: {
link: 'https://github.com/xelis-project'
},
docsRepositoryBase: 'https://github.com/xelis-project/xelis-docs/blob/master',
useNextSeoProps() {
return {
titleTemplate: '%s – XELIS Documentation'
}
},
head: () => {
const { frontMatter } = useConfig()
return <>
<meta property="og:title" content={frontMatter.title || 'XELIS Documentation'} />
<meta property="og:description" content={frontMatter.description || 'Detailed information on the core features and functionality of XELIS'} />
<meta name="theme-color" content="#7afad3" />
{frontMatter.image && <meta name="og:image" content={frontMatter.image} />}
<link rel="icon" href="/favicon.ico" sizes="any" />
</>
},
footer: {
text: <span>
{new Date().getFullYear()} © <a href="https://xelis.io" target="_blank">XELIS</a>
</span>
},
primaryHue: 162,
primarySaturation: 92,
}