-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.config.jsx
44 lines (37 loc) · 1018 Bytes
/
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
34
35
36
37
38
39
40
41
42
43
44
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import { useRouter } from 'next/router'
import Image from './components/Image';
export default {
// logo: <span>Camelina-hub documentation</span>,
logo: (
<>
<Image src='/FAV-32.png' alt="Hello" width={20} height={20} />
<span style={{marginLeft : '0.3em', fontWeight: 1000, fontSize : 25 }}>
Plant Adaptation Hub documentation
</span>
</>
),
project: {
link: 'https://github.com/usadellab/untwistApp',
},
useNextSeoProps() {
const { asPath } = useRouter()
if (asPath !== '/') {
return {
titleTemplate: '%s ' //replaced the default 'Nextra' text with empty string
}
}
},
chat: {
// link: 'https://discord.com',
},
docsRepositoryBase: 'https://github.com/usadellab/untwistApp/tree/documentation',
footer: {
text: 'Plant Adaptation Hub documentation',
},
mdxComponents: {
img: Image
}
}
// export default config