-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme.config.jsx
More file actions
175 lines (174 loc) · 4.68 KB
/
theme.config.jsx
File metadata and controls
175 lines (174 loc) · 4.68 KB
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
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
// import { DiscordIcon } from './components/icons/discord'
export default {
logo: (
<span style={{
fontWeight: '600',
fontSize: '1.5rem',
color: 'white'
}}>
Handit.ai
</span>
),
project: {
link: 'https://github.com/Handit-AI/handit.ai',
},
docsRepositoryBase: 'https://github.com/Handit-AI/handit.ai-docs/tree/main',
useNextSeoProps() {
return {
titleTemplate: '%s – Handit.ai',
description: 'Documentation for Handit.ai - Build and deploy AI models at scale',
openGraph: {
images: [
{
url: 'https://handit.ai/og.png',
width: 1200,
height: 630,
alt: 'Handit.ai Documentation'
}
]
}
}
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta property="og:title" content="Handit.ai Documentation" />
<meta property="og:description" content="Documentation for Handit.ai - Build and deploy AI models at scale" />
<link rel="icon" href="/favicon.ico" />
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png" />
</>
),
navbar: {
extraContent: (
<div style={{ display: 'flex', alignItems: 'center', gap: '16px' }}>
<a
href="https://discord.gg/wZbW9Bu5"
target="_blank"
rel="noopener noreferrer"
style={{
display: 'flex',
alignItems: 'center',
justifyContent: 'center',
width: '40px',
height: '40px',
borderRadius: '8px',
background: 'var(--nextra-colors-gray-100)',
color: 'var(--nextra-colors-gray-900)',
textDecoration: 'none',
transition: 'all 0.2s ease',
}}
className="dark:bg-gray-800 dark:text-white hover:scale-105 hover:shadow-md"
>
{/* <DiscordIcon style={{ width: '24px', height: '24px' }} /> */}
</a>
<a
href="https://dashboard.handit.ai/auth/custom/sign-up"
target="_blank"
rel="noopener noreferrer"
style={{
padding: '10px 20px',
background: 'linear-gradient(135deg, #0070f3 0%, #0051a8 100%)',
color: 'white',
borderRadius: '8px',
textDecoration: 'none',
fontWeight: '600',
fontSize: '14px',
transition: 'all 0.2s ease',
boxShadow: '0 2px 4px rgba(0, 0, 0, 0.1)',
}}
className="hover:scale-105 hover:shadow-lg"
>
Sign Up
</a>
</div>
)
},
footer: {
text: (
<div style={{
display: 'flex',
flexDirection: 'column',
alignItems: 'center',
gap: '8px',
padding: '24px 0'
}}>
<span>
{new Date().getFullYear()} ©{' '}
<a
href="https://handit.ai"
target="_blank"
style={{
color: 'var(--nextra-colors-primary)',
textDecoration: 'none',
fontWeight: '500'
}}
className="hover:underline"
>
Handit.ai
</a>
</span>
<div style={{
display: 'flex',
gap: '16px',
fontSize: '14px',
color: 'var(--nextra-colors-gray-500)'
}}>
<a href="/privacy" className="hover:text-primary">Privacy</a>
<a href="/terms" className="hover:text-primary">Terms</a>
<a href="/contact" className="hover:text-primary">Contact</a>
</div>
</div>
)
},
sidebar: {
defaultMenuCollapseLevel: 1,
toggleButton: true,
titleComponent: ({ title, type }) => (
<span style={{
fontWeight: '600',
fontSize: type === 'separator' ? '0.9rem' : '1rem',
color: type === 'separator' ? 'var(--nextra-colors-gray-500)' : 'inherit'
}}>
{title}
</span>
)
},
toc: {
float: true,
title: 'On This Page',
backToTop: true
},
navigation: {
prev: true,
next: true
},
editLink: {
text: 'Edit this page on GitHub',
component: ({ children, ...props }) => (
<a
{...props}
style={{
color: 'var(--nextra-colors-primary)',
textDecoration: 'none',
fontWeight: '500'
}}
className="hover:underline"
>
{children}
</a>
)
},
feedback: {
content: 'Questions? Give us feedback →',
labels: 'feedback'
},
search: {
placeholder: 'Search documentation...'
},
banner: {
key: 'handit-ai-docs',
text: '🎉 Welcome to handit.ai Documentation!'
},
primaryHue: 210,
primarySaturation: 100
}