-
Notifications
You must be signed in to change notification settings - Fork 11
/
theme.config.tsx
73 lines (72 loc) · 2.19 KB
/
theme.config.tsx
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
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
import { Home } from 'lucide-react'
const config: DocsThemeConfig = {
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Rig Crate Documentation" />
<meta name="author" content="0xPlaygrounds" />
<meta name="keywords" content="Rig, Docs, 0xPlaygrounds" />
<meta name="robots" content="index, follow" />
<link rel="icon" href={`/favicon.ico`} />
</>
),
logo: (
<>
<img src={`/rig-dark.svg`} style={{ height: '2.5rem' }} alt="Rig Logo" className="dark-mode-logo" />
<img src={`/rig-light.svg`} style={{ height: '2.5rem' }} alt="Rig Logo" className="light-mode-logo" />
<style jsx>{`
.dark-mode-logo {
display: none;
}
.light-mode-logo {
display: none;
}
@media (prefers-color-scheme: dark) {
.dark-mode-logo {
display: block;
}
}
@media (prefers-color-scheme: light) {
.light-mode-logo {
display: block;
}
}
`}</style>
</>
),
project: {
link: 'https://github.com/0xPlaygrounds/rig',
},
chat: {
link: 'https://discord.gg/playgrounds',
},
editLink: {
content: 'Edit this page on GitHub →'
},
feedback: {
content: '💡 Question? Give us feedback →',
labels: 'feedback'
},
docsRepositoryBase: 'https://github.com/0xPlaygrounds/rig-docs',
footer: {
content: (
<div className="flex w-full flex-col items-center sm:items-start">
<div>
<a
className="nextra-focus flex items-center gap-1 text-current"
target="_blank"
rel="noreferrer"
title="Playgrounds homepage"
href="https://playgrounds.network"
>
<span>Powered by </span>
<img src="https://playgrounds.network/assets/PG-Logo.png" style={{ height: '1.5rem', display: 'inline', position: 'relative', top: '0.22rem' }} alt="Playgrounds Logo" />
</a>
</div>
</div>
)
}
}
export default config