-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy paththeme.config.jsx
88 lines (87 loc) · 2.26 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
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
import { useEffect } from 'react';
import { useTheme } from 'next-themes';
import { CustomFooter } from './components/customFooter';
import { CustomNavbar } from './components/customNavbar';
export default {
head: (
<>
<script
src="https://widget.kapa.ai/kapa-widget.bundle.js"
data-website-id="125444e5-cd06-4812-b4e2-3cf33cd3f6fa"
data-project-name="Autonomys Network"
data-project-color="#f2f2f5"
data-project-logo="https://i.postimg.cc/BQjSkRPy/Autonomys-small-light.png"
data-modal-disclaimer="This is a custom LLM for Autonomys Network with access to all documentation, forum and discord threads. Since this is AI technology please use your best judgment."
async
/>
</>
),
project: {
link: 'https://autonomys.xyz',
icon: (
<img
src="/logo-black.png"
alt="Autonomys Network Logo"
style={{
height: '32px',
marginRight: '0.5rem',
}}
/>
)
},
sidebar: {
defaultMenuCollapsed: false,
hiddenPages: ['/'], // Hide the sidebar only on the landing page
},
docsRepositoryBase: 'https://github.com/autonomys/developer_docs/blob/main',
useNextSeoProps() {
return {
titleTemplate: '%s - Autonomys Network Developer Documentation',
defaultTitle: 'Autonomys Network Developer Documentation'
};
},
logo: (
<>
<img
src="/logo-black.png"
alt="Autonomys Network Logo"
style={{
height: '32px',
marginRight: '0.5rem',
}}
/>
<span
style={{
fontSize: '1.25rem',
fontWeight: '600',
color: '#374151',
cursor: 'pointer',
transition: 'color 0.3s ease',
}}
onMouseEnter={(e) => (e.currentTarget.style.color = '#6366F1')}
onMouseLeave={(e) => (e.currentTarget.style.color = '#374151')}
>
Developer Documentation
</span>
</>
),
darkMode: true,
nextThemes: {
defaultTheme: 'dark',
storageKey: 'theme',
forcedTheme: undefined,
},
primaryHue: {
light: 220,
dark: 220,
},
themeSwitch: {
useToggleTheme: true,
},
navbar: {
extraContent: <CustomNavbar />,
},
footer: {
component: CustomFooter
},
};