forked from pyth-network/documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.tsx
62 lines (60 loc) · 1.42 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
import { DocsThemeConfig } from "nextra-theme-docs";
import { Logo } from "./components/Logo";
// TODO: populate this properly
const config: DocsThemeConfig = {
logo: <Logo className="w-[24px] h-[30px] fill-dark dark:fill-light" />,
logoLink: "/",
primaryHue: {
dark: 267,
light: 265,
},
primarySaturation: {
dark: 95,
light: 100,
},
project: {
link: "https://github.com/pyth-network/",
},
chat: {
link: "https://discord.gg/invite/PythNetwork",
},
docsRepositoryBase: "https://github.com/pyth-network/documentation",
footer: {
text: "Pyth Network Documentation",
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
editLink: {
component: null,
},
feedback: {
content: null,
},
navigation: false,
useNextSeoProps() {
return {
titleTemplate: "%s – Pyth Network Documentation",
openGraph: {
url: "https://docs.pyth.network/",
title: "Pyth Network Documentation",
description: "Pyth Network Documentation",
images: [
{
url: "https://docs.pyth.network/og-image.png",
width: 1200,
height: 630,
alt: "Pyth Network Documentation OG Image",
type: "image/png",
},
],
},
twitter: {
handle: "@PythNetwork",
site: "https://pyth.network/",
cardType: "summary_large_image",
},
};
},
};
export default config;