This repository was archived by the owner on Nov 28, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy paththeme.config.tsx
More file actions
79 lines (77 loc) · 1.91 KB
/
theme.config.tsx
File metadata and controls
79 lines (77 loc) · 1.91 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
77
78
79
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,
banner: {
key: "pyth-pro-banner",
dismissible: true,
text: (
<a
href="/price-feeds/pro"
target="_blank"
className="flex items-center justify-center gap-2 text-white hover:text-white/90 transition-colors"
>
<span className="text-lg">⚡</span>
<span className="font-semibold">
Trade in real time: Pyth Pro introduces 1 ms updates
</span>
<span className="text-sm opacity-90">→</span>
</a>
),
},
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;