Repository navigation
Expand file tree
/
Copy paththeme.config.tsx
More file actions
76 lines (74 loc) · 2.08 KB
/
Copy paththeme.config.tsx
File metadata and controls
76 lines (74 loc) · 2.08 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
import type { DocsThemeConfig } from "nextra-theme-docs";
import { Link } from "./components/link";
import { Embed } from "./components/embed";
import { Columns, Column } from "./components/columns";
const config: DocsThemeConfig = {
components: {
a: Link,
Embed,
Columns,
Column,
} as never,
banner: {
key: "docs-revamp-2026",
dismissible: false,
content: (
<>
These docs are being revamped as part of the platform{" "}
<a
className="prose-link"
href="https://scopelift.co/blog/scopelift-tally-operation"
target="_blank"
rel="noopener noreferrer"
>
transition
</a>{" "}
and may be out of date. Reach out to{" "}
<a
className="prose-link"
href="https://www.tally.xyz/support"
target="_blank"
rel="noopener noreferrer"
>
support
</a>{" "}
if assistance is needed.
</>
),
},
logo: <span style={{ fontWeight: 600 }}>Cactus Docs</span>,
docsRepositoryBase:
"https://github.com/withtally/gov-platform-docs/tree/main",
editLink: { component: null },
feedback: { content: null },
footer: {
content: `© ${new Date().getFullYear()} Cactus`,
},
search: { placeholder: "Search docs..." },
sidebar: {
defaultMenuCollapseLevel: 1,
toggleButton: true,
autoCollapse: true,
},
toc: { float: true },
darkMode: true,
nextThemes: { defaultTheme: "system" },
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta property="og:title" content="Cactus Docs" />
{/* Privacy-friendly analytics by Plausible */}
<script
async
src="https://plausible.io/js/pa-b5cBh6SFnScNFjraTUEZX.js"
/>
<script
dangerouslySetInnerHTML={{
__html:
"window.plausible=window.plausible||function(){(plausible.q=plausible.q||[]).push(arguments)},plausible.init=plausible.init||function(i){plausible.o=i||{}};plausible.init()",
}}
/>
</>
),
};
export default config;