-
Notifications
You must be signed in to change notification settings - Fork 6
/
theme.config.tsx
158 lines (154 loc) · 9.43 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
import React from "react"
import { DocsThemeConfig } from "nextra-theme-docs"
const config: DocsThemeConfig = {
sidebar: {
titleComponent({ title, type }) {
if (type === "separator") {
return <span className="cursor-default">{title}</span>
}
return <>{title}</>
},
defaultMenuCollapseLevel: 1,
toggleButton: true,
},
logo: (
<>
<svg
width="131"
height="29"
viewBox="0 0 1722 311"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M538.107 83.1576L569.79 82.8936L609.129 229.426L650.317 83.1576H679.095L718.963 229.426L758.83 83.1576H789.72L736.916 267.973H701.273L663.518 132.002L626.555 267.973H590.912L538.107 83.1576Z"
fill="currentColor"
/>
<path
d="M805.116 164.212C810.661 153.651 818.317 145.731 828.35 139.922C838.383 134.114 849.736 131.21 862.673 131.21C875.61 131.21 886.963 133.85 896.996 139.13C907.029 144.411 914.685 152.067 920.494 161.572C926.302 171.341 929.207 182.694 929.471 195.631C929.471 199.327 929.207 202.76 928.678 206.456H826.766V208.04C827.294 219.921 830.99 229.162 837.855 236.026C844.455 242.891 853.432 246.323 864.521 246.323C873.234 246.323 880.626 244.475 886.699 240.251C892.507 236.026 896.468 230.218 898.58 222.561H927.094C924.454 236.29 917.854 247.643 907.029 256.356C896.204 265.333 882.739 269.557 866.633 269.557C852.376 269.557 840.231 266.917 829.67 261.108C819.109 255.3 811.189 247.379 805.38 236.818C799.572 226.522 796.931 214.377 796.931 200.647C796.931 186.918 799.572 174.773 805.116 164.212ZM900.428 185.598C899.108 175.829 895.148 168.173 888.547 162.628C881.947 157.084 873.762 154.179 863.729 154.179C854.224 154.179 846.304 157.084 839.439 162.892C832.574 168.701 828.878 176.093 827.822 185.598H900.428Z"
fill="currentColor"
/>
<path
d="M1087.17 243.155V267.973H1072.12C1063.15 267.973 1056.81 266.125 1053.12 262.429C1049.16 258.732 1047.31 253.452 1047.31 246.323C1037.01 261.9 1022.22 269.557 1002.69 269.557C987.374 269.557 975.229 266.125 966.252 258.996C957.011 252.132 952.523 242.363 952.523 229.954C952.523 216.225 957.275 205.4 967.308 198.007C977.077 190.615 991.334 186.654 1010.34 186.654H1044.4V178.47C1044.4 171.077 1041.76 165.004 1036.48 160.78C1031.2 156.556 1023.81 154.179 1014.57 154.179C1006.12 154.179 999.255 156.028 993.974 159.724C988.694 163.42 985.526 168.173 984.47 173.981H956.483C957.803 160.516 963.876 149.955 974.437 142.563C984.998 135.17 998.727 131.21 1015.89 131.21C1033.84 131.21 1047.83 135.434 1057.87 143.883C1067.64 152.331 1072.65 164.476 1072.65 180.318V233.65C1072.65 239.987 1075.56 243.155 1081.63 243.155H1087.17ZM1044.4 207.776H1009.02C1000.05 207.776 993.446 209.624 988.694 213.056C983.942 216.489 981.565 221.505 981.565 228.106C981.565 233.914 983.678 238.667 988.166 242.099C992.654 245.795 998.727 247.379 1006.65 247.379C1018.26 247.379 1027.51 244.211 1034.11 237.874C1040.71 231.538 1044.14 223.089 1044.4 212.528V207.776Z"
fill="currentColor"
/>
<path
d="M1090.4 132.794H1121.02L1158.25 237.346L1194.95 132.794H1225.05L1175.15 267.973H1140.3L1090.4 132.794Z"
fill="currentColor"
/>
<path
d="M1242.77 164.212C1248.32 153.651 1255.98 145.731 1266.01 139.922C1276.04 134.114 1287.39 131.21 1300.33 131.21C1313.27 131.21 1324.62 133.85 1334.65 139.13C1344.69 144.411 1352.34 152.067 1358.15 161.572C1363.96 171.341 1366.86 182.694 1367.13 195.631C1367.13 199.327 1366.86 202.76 1366.34 206.456H1264.42V208.04C1264.95 219.921 1268.65 229.162 1275.51 236.026C1282.11 242.891 1291.09 246.323 1302.18 246.323C1310.89 246.323 1318.28 244.475 1324.36 240.251C1330.17 236.026 1334.13 230.218 1336.24 222.561H1364.75C1362.11 236.29 1355.51 247.643 1344.69 256.356C1333.86 265.333 1320.4 269.557 1304.29 269.557C1290.03 269.557 1277.89 266.917 1267.33 261.108C1256.77 255.3 1248.85 247.379 1243.04 236.818C1237.23 226.522 1234.59 214.377 1234.59 200.647C1234.59 186.918 1237.23 174.773 1242.77 164.212ZM1338.09 185.598C1336.77 175.829 1332.81 168.173 1326.2 162.628C1319.6 157.084 1311.42 154.179 1301.39 154.179C1291.88 154.179 1283.96 157.084 1277.1 162.892C1270.23 168.701 1266.54 176.093 1265.48 185.598H1338.09Z"
fill="currentColor"
/>
<path
d="M1398.37 83.1576H1457.24C1475.99 83.1576 1492.36 87.1179 1506.61 94.7745C1520.61 102.695 1531.43 113.52 1539.09 127.249C1546.48 141.242 1550.44 157.348 1550.44 175.565C1550.44 193.783 1546.48 209.888 1539.09 223.881C1531.43 237.874 1520.61 248.699 1506.61 256.356C1492.36 264.277 1475.99 267.973 1457.24 267.973H1398.37V83.1576ZM1457.24 241.571C1477.04 241.571 1492.36 235.762 1503.18 223.881C1513.74 212 1519.29 195.895 1519.29 175.565C1519.29 155.5 1513.74 139.394 1503.18 127.513C1492.36 115.632 1477.04 109.56 1457.24 109.56H1428.73V241.571H1457.24Z"
fill="currentColor"
/>
<path
d="M1650.18 83.1576C1670.24 83.1576 1686.09 87.3819 1697.17 95.8306C1708.26 104.279 1714.07 116.16 1714.07 131.21C1714.07 142.299 1710.9 151.539 1705.09 158.668C1699.29 165.796 1690.84 170.549 1679.75 172.925C1707.21 177.677 1721.2 192.199 1721.2 216.489C1721.2 232.594 1715.13 245.267 1703.25 254.244C1691.37 263.485 1674.47 267.973 1652.55 267.973H1582.32V83.1576H1650.18ZM1612.69 161.572H1650.97C1661.27 161.572 1669.19 159.196 1675 154.444C1680.81 149.691 1683.71 143.355 1683.71 134.906C1683.71 126.721 1680.81 120.385 1675 115.632C1669.19 110.88 1661.27 108.504 1650.97 108.504H1612.69V161.572ZM1612.69 242.363H1652.82C1664.7 242.363 1673.94 239.987 1680.28 235.234C1686.61 230.482 1690.05 223.617 1690.05 214.905C1690.05 205.928 1686.61 199.063 1680.28 194.047C1673.68 189.294 1664.44 186.654 1652.82 186.654H1612.69V242.363Z"
fill="currentColor"
/>
<rect
y="68.3887"
width="95.7993"
height="95.7993"
transform="rotate(-45 0 68.3887)"
fill="#9C89F6"
/>
<rect
x="87.0938"
y="155.483"
width="95.7993"
height="95.7993"
transform="rotate(-45 87.0938 155.483)"
fill="#9C89F6"
/>
<rect
x="174.189"
y="68.3887"
width="95.7993"
height="95.7993"
transform="rotate(-45 174.189 68.3887)"
fill="#9C89F6"
/>
<rect
x="174.189"
y="242.577"
width="95.7993"
height="95.7993"
transform="rotate(-45 174.189 242.577)"
fill="#5137C5"
/>
<rect
x="261.285"
y="155.483"
width="95.7993"
height="95.7993"
transform="rotate(-45 261.285 155.483)"
fill="#5137C5"
/>
<rect
x="348.379"
y="68.3887"
width="95.7993"
height="95.7993"
transform="rotate(-45 348.379 68.3887)"
fill="#5137C5"
/>
</svg>
</>
),
project: {
link: "https://twitter.com/weave_db",
icon: (
<svg width="25" height="20" viewBox="0 0 25 20" fill="none">
<path
d="M8.05016 19.75C17.1045 19.75 22.0583 12.2468 22.0583 5.74192C22.0583 5.53098 22.0536 5.31536 22.0442 5.10442C23.0079 4.40752 23.8395 3.54432 24.5 2.55536C23.6025 2.95466 22.6496 3.21544 21.6739 3.3288C22.7013 2.71297 23.4705 1.74553 23.8391 0.605828C22.8726 1.17862 21.8156 1.58267 20.7134 1.80067C19.9708 1.01162 18.989 0.489177 17.9197 0.314112C16.8504 0.139047 15.7532 0.321111 14.7977 0.832157C13.8423 1.3432 13.0818 2.15477 12.6338 3.14137C12.1859 4.12798 12.0754 5.23468 12.3195 6.29036C10.3625 6.19215 8.44794 5.68377 6.69998 4.79816C4.95203 3.91255 3.40969 2.6695 2.17297 1.14958C1.5444 2.2333 1.35206 3.51571 1.63503 4.73615C1.918 5.9566 2.65506 7.02351 3.69641 7.72005C2.91463 7.69523 2.14998 7.48474 1.46563 7.10598V7.16692C1.46492 8.30421 1.8581 9.40665 2.57831 10.2868C3.29852 11.167 4.30132 11.7706 5.41625 11.995C4.69206 12.1932 3.93198 12.2221 3.19484 12.0794C3.50945 13.0575 4.12157 13.913 4.94577 14.5264C5.76997 15.1398 6.76512 15.4807 7.79234 15.5013C6.04842 16.8712 3.89417 17.6142 1.67656 17.6107C1.28329 17.6101 0.890399 17.586 0.5 17.5385C2.75286 18.9838 5.37353 19.7514 8.05016 19.75Z"
fill="currentColor"
/>
</svg>
),
},
chat: {
link: "https://discord.com/invite/YMe3eqf69M",
},
docsRepositoryBase: "https://github.com/drumfeet/nextra-test/blob/main",
primaryHue: 300,
footer: {
component: <></>,
},
useNextSeoProps() {
return {
titleTemplate: "%s – WeaveDB",
description: "NoSQL Database as a Smart Contract",
}
},
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" href="/favicon.svg" />
<meta property="og:url" content="https://docs.weavedb.dev/" />
<meta property="og:type" content="website" />
<meta property="og:title" content="WeaveDB Documentation" />
<meta
property="og:description"
content="NoSQL Database as a Smart Contract"
/>
<meta
property="og:image"
content="https://weavedb.dev/twitterImage.png"
/>
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="WeaveDB Documentation" />
<meta
name="twitter:description"
content="NoSQL Database as a Smart Contract"
/>
<meta
name="twitter:image"
content="https://weavedb.dev/twitterImage.png"
/>
</>
),
}
export default config