-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.jsx
57 lines (54 loc) · 1.28 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
import { SITE } from "./config";
import { useConfig } from "nextra-theme-docs";
import Footer from "./components/Footer";
import Logo from "./components/Logo.svg";
/** @type {import('nextra-theme-docs').DocsThemeConfig} */
export default {
logo: <Logo />,
sidebar: {
defaultMenuCollapseLevel: 1,
},
docsRepositoryBase: `${SITE.github}/docs/tree/main`,
project: {
link: SITE.github,
},
footer: {
text: <Footer />,
},
navigation: {
prev: true,
next: true,
},
feedback: {
useLink: () => SITE.github,
},
head: (
<script defer src="https://unmani-vercel.vercel.app/script.js" data-website-id="5aa79a6c-9caf-4649-a641-512c273fbe98"></script>
),
useNextSeoProps() {
const { frontMatter } = useConfig();
return {
additionalLinkTags: [
{
href: "/V-removebg-preview.png",
rel: "icon",
},
],
titleTemplate: "%s - V3cn",
description:
frontMatter.description || "V3cn a modern portfolio component ui library",
openGraph: {
titleTemplate: "%s - V3cn",
images: [
{
url: frontMatter.image || "/V.png",
},
],
},
twitter: {
cardType: "summary_large_image",
site: SITE.url,
},
};
},
};