-
Notifications
You must be signed in to change notification settings - Fork 0
/
theme.config.tsx
69 lines (67 loc) · 1.79 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
64
65
66
67
68
69
import React from "react";
import { DocsThemeConfig } from "nextra-theme-docs";
const config: DocsThemeConfig = {
project: {
link: "https://github.com/chainrule-labs/pesto-contracts",
},
docsRepositoryBase: "https://github.com/chainrule-labs/pesto-docs",
editLink: {
component: null,
},
sidebar: {
defaultMenuCollapseLevel: 1,
},
footer: {
text: "© 2024 Chain Rule, LLC",
},
useNextSeoProps() {
return {
titleTemplate: "Pesto - %s",
description:
"Pesto is a minimalist, on-chain DeFi protocol that enables users to create independent positions with varying degrees of exposure and hedging strategies.",
openGraph: {
title: "Pesto",
description:
"Pesto is a minimalist, on-chain DeFi protocol that enables users to create independent positions with varying degrees of exposure and hedging strategies.",
url: "https://docs.pesto.finance",
type: "website",
images: [
{
url: "https://docs.pesto.finance/seoCard.png",
alt: "og-seo-card-image",
},
],
site_name: "Documentation",
},
twitter: {
title: "Pesto",
description:
"Pesto is a minimalist, on-chain DeFi protocol that enables users to create independent positions with varying degrees of exposure and hedging strategies.",
cardType: "summary_large_image",
images: [
{
url: "https://docs.pesto.finance/seoCard.png",
alt: "twitter-seo-card-image",
},
],
site: "@pestofinance",
},
};
},
head: (
<>
<meta
name="viewport"
content="width=device-width, initial-scale=1.0"
/>
<link rel="icon" href="/favicon.ico" />
</>
),
logo: (
<>
<img src="/iconPesto24x24.svg" alt="Pesto" width={24} height={24} />
<span style={{ marginLeft: ".4em", fontWeight: 800 }}>Pesto</span>
</>
),
};
export default config;