-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththeme.config.tsx
63 lines (55 loc) · 1.58 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
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
import { Button } from "nextra/components";
const config: DocsThemeConfig = {
logo: (
<>
<img src="/logo.svg" width="40px" alt="QuickFrame Logo" />
<span className="nx-text-primary nx-font-medium nx-ml-2">
QuickFrame Documentation
</span>
</>
),
docsRepositoryBase: "https://support.ui-lib.com",
feedback: { content: null },
editLink: { component: () => null },
sidebar: { defaultMenuCollapseLevel: 1 },
footer: {
text: <p className="nx-mx-auto">{new Date().getFullYear()} © UI Lib</p>,
},
useNextSeoProps() {
return {
titleTemplate: "%s – QuickFrame Admin Template",
};
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<link rel="icon" type="image/png" sizes="32x32" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="96x96" href="/favicon.ico" />
<link rel="icon" type="image/png" sizes="16x16" href="/favicon.ico" />
<title>QuickFrame - Client & Admin Dashboard Documentation</title>
</>
),
navbar: {
extraContent: (
<a
target="_blank"
href="https://quickframe-react.vercel.app"
style={{
fontSize: 14,
padding: ".6rem .8rem",
background: "#6950E8",
border: "none",
color: "#fff",
borderRadius: 8,
lineHeight: 1,
}}
>
View Demo
</a>
),
},
};
export default config;