-
Notifications
You must be signed in to change notification settings - Fork 5
/
theme.config.tsx
61 lines (55 loc) · 9.85 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
import React from 'react'
import { DocsThemeConfig } from 'nextra-theme-docs'
const config: DocsThemeConfig = {
logo: <span>
<svg width="117" height="33" viewBox="0 0 353 98" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M26 81.0005C22.6863 81.0005 20 78.3142 20 75.0005L20 49.0005H52V81.0005H26Z" fill="#171717"/>
<path d="M52 49.0005V17.0005H78C81.3137 17.0005 84 19.6868 84 23.0005V49.0005H52Z" fill="#171717"/>
<path d="M49.1699 49.0005C49.1699 49.0005 50.5841 49.0005 51.2912 48.2934C51.9983 47.5863 51.9983 46.1721 51.9983 46.1721L54.8268 49.0005C54.8268 49.0005 53.4126 49.0005 52.7055 49.7076C51.9983 50.4147 51.9983 51.8289 51.9983 51.8289L49.1699 49.0005Z" fill="#171717"/>
<path d="M104.02 72V40.62H108.76L109.48 44.58H109.78C110.66 43.18 111.76 42.18 113.08 41.58C114.4 40.94 116 40.62 117.88 40.62H121.36V46.08H118.06C116.46 46.08 115.02 46.42 113.74 47.1C112.5 47.74 111.52 48.66 110.8 49.86C110.12 51.02 109.78 52.36 109.78 53.88V72H104.02ZM137.129 72.6C134.169 72.6 131.569 71.96 129.329 70.68C127.129 69.4 125.409 67.56 124.169 65.16C122.969 62.72 122.369 59.76 122.369 56.28C122.369 52.88 122.969 49.96 124.169 47.52C125.409 45.04 127.129 43.18 129.329 41.94C131.529 40.66 134.069 40.02 136.949 40.02C139.989 40.02 142.589 40.74 144.749 42.18C146.949 43.58 148.609 45.44 149.729 47.76C150.849 50.08 151.409 52.52 151.409 55.08C151.409 55.68 151.369 56.26 151.289 56.82C151.249 57.38 151.189 57.84 151.109 58.2H126.269V53.4H145.709C145.509 51.96 145.069 50.62 144.389 49.38C143.709 48.1 142.729 47.08 141.449 46.32C140.209 45.56 138.709 45.18 136.949 45.18C134.989 45.18 133.349 45.66 132.029 46.62C130.709 47.54 129.729 48.8 129.089 50.4C128.449 52 128.129 53.86 128.129 55.98C128.129 58.42 128.469 60.5 129.149 62.22C129.869 63.94 130.909 65.24 132.269 66.12C133.629 67 135.249 67.44 137.129 67.44C138.849 67.44 140.289 67.1 141.449 66.42C142.609 65.7 143.609 64.66 144.449 63.3H150.629C149.989 65.22 149.049 66.88 147.809 68.28C146.569 69.64 145.049 70.7 143.249 71.46C141.449 72.22 139.409 72.6 137.129 72.6ZM165.552 72.6C163.392 72.6 161.472 72.18 159.792 71.34C158.152 70.5 156.892 69.34 156.012 67.86C155.132 66.38 154.692 64.72 154.692 62.88C154.692 61.04 155.152 59.4 156.072 57.96C156.992 56.48 158.332 55.32 160.092 54.48C161.892 53.64 164.052 53.22 166.572 53.22H176.652V58.02H166.692C164.612 58.02 163.052 58.44 162.012 59.28C160.972 60.12 160.452 61.26 160.452 62.7C160.452 64.18 160.952 65.36 161.952 66.24C162.992 67.08 164.432 67.5 166.272 67.5C167.992 67.5 169.492 67.16 170.772 66.48C172.092 65.8 173.092 64.88 173.772 63.72C174.492 62.52 174.852 61.18 174.852 59.7V51.3C174.852 49.42 174.232 47.94 172.992 46.86C171.752 45.74 170.112 45.18 168.072 45.18C166.432 45.18 165.052 45.54 163.932 46.26C162.852 46.94 162.092 47.88 161.652 49.08H155.652C156.372 46.28 157.812 44.08 159.972 42.48C162.132 40.84 164.872 40.02 168.192 40.02C170.752 40.02 172.972 40.48 174.852 41.4C176.732 42.32 178.172 43.64 179.172 45.36C180.172 47.08 180.672 49.1 180.672 51.42V72H175.872L175.152 67.98H174.852C174.172 69.18 172.992 70.26 171.312 71.22C169.672 72.14 167.752 72.6 165.552 72.6ZM199.827 72.6C197.187 72.6 194.847 71.98 192.807 70.74C190.767 69.46 189.167 67.6 188.007 65.16C186.847 62.68 186.267 59.72 186.267 56.28C186.267 52.84 186.847 49.9 188.007 47.46C189.167 45.02 190.767 43.18 192.807 41.94C194.847 40.66 197.187 40.02 199.827 40.02C201.987 40.02 203.867 40.42 205.467 41.22C207.067 41.98 208.367 43 209.367 44.28H209.667V30H215.427V72H210.627L209.967 67.98H209.667C208.587 69.42 207.227 70.56 205.587 71.4C203.947 72.2 202.027 72.6 199.827 72.6ZM200.847 67.32C202.567 67.32 204.087 66.92 205.407 66.12C206.727 65.28 207.767 64.04 208.527 62.4C209.287 60.72 209.667 58.68 209.667 56.28C209.667 53.92 209.287 51.92 208.527 50.28C207.767 48.6 206.727 47.36 205.407 46.56C204.087 45.72 202.567 45.3 200.847 45.3C199.087 45.3 197.547 45.72 196.227 46.56C194.907 47.36 193.867 48.6 193.107 50.28C192.387 51.92 192.027 53.92 192.027 56.28C192.027 59.84 192.827 62.58 194.427 64.5C196.067 66.38 198.207 67.32 200.847 67.32ZM227.343 84L232.143 72L219.243 40.62H225.423L235.023 64.32H235.323L244.503 40.62H250.623L233.403 84H227.343ZM263.747 72.6C261.467 72.6 259.427 72.22 257.627 71.46C255.867 70.7 254.427 69.62 253.307 68.22C252.187 66.82 251.427 65.18 251.027 63.3H257.207C257.567 64.58 258.327 65.6 259.487 66.36C260.687 67.08 262.107 67.44 263.747 67.44C265.987 67.44 267.667 67.06 268.787 66.3C269.947 65.54 270.527 64.54 270.527 63.3C270.527 62.38 270.207 61.64 269.567 61.08C268.967 60.52 268.187 60.1 267.227 59.82C266.307 59.5 265.047 59.16 263.447 58.8C261.047 58.28 259.087 57.74 257.567 57.18C256.047 56.58 254.747 55.64 253.667 54.36C252.587 53.04 252.047 51.26 252.047 49.02C252.047 47.38 252.507 45.88 253.427 44.52C254.347 43.12 255.687 42.02 257.447 41.22C259.247 40.42 261.347 40.02 263.747 40.02C265.827 40.02 267.707 40.34 269.387 40.98C271.107 41.62 272.527 42.58 273.647 43.86C274.767 45.14 275.527 46.68 275.927 48.48H269.747C269.347 47.48 268.647 46.68 267.647 46.08C266.687 45.48 265.387 45.18 263.747 45.18C261.827 45.18 260.367 45.52 259.367 46.2C258.407 46.88 257.927 47.82 257.927 49.02C257.927 49.98 258.247 50.76 258.887 51.36C259.527 51.92 260.307 52.38 261.227 52.74C262.187 53.06 263.507 53.42 265.187 53.82C267.547 54.34 269.467 54.88 270.947 55.44C272.467 56 273.747 56.92 274.787 58.2C275.867 59.44 276.407 61.14 276.407 63.3C276.407 65.06 275.887 66.66 274.847 68.1C273.847 69.5 272.387 70.6 270.467 71.4C268.547 72.2 266.307 72.6 263.747 72.6ZM294.969 72.6C292.009 72.6 289.409 71.96 287.169 70.68C284.969 69.4 283.249 67.56 282.009 65.16C280.809 62.72 280.209 59.76 280.209 56.28C280.209 52.88 280.809 49.96 282.009 47.52C283.249 45.04 284.969 43.18 287.169 41.94C289.369 40.66 291.909 40.02 294.789 40.02C297.829 40.02 300.429 40.74 302.589 42.18C304.789 43.58 306.449 45.44 307.569 47.76C308.689 50.08 309.249 52.52 309.249 55.08C309.249 55.68 309.209 56.26 309.129 56.82C309.089 57.38 309.029 57.84 308.949 58.2H284.109V53.4H303.549C303.349 51.96 302.909 50.62 302.229 49.38C301.549 48.1 300.569 47.08 299.289 46.32C298.049 45.56 296.549 45.18 294.789 45.18C292.829 45.18 291.189 45.66 289.869 46.62C288.549 47.54 287.569 48.8 286.929 50.4C286.289 52 285.969 53.86 285.969 55.98C285.969 58.42 286.309 60.5 286.989 62.22C287.709 63.94 288.749 65.24 290.109 66.12C291.469 67 293.089 67.44 294.969 67.44C296.689 67.44 298.129 67.1 299.289 66.42C300.449 65.7 301.449 64.66 302.289 63.3H308.469C307.829 65.22 306.889 66.88 305.649 68.28C304.409 69.64 302.889 70.7 301.089 71.46C299.289 72.22 297.249 72.6 294.969 72.6ZM325.072 72C323.392 72 321.912 71.66 320.632 70.98C319.352 70.26 318.352 69.28 317.632 68.04C316.952 66.8 316.612 65.36 316.612 63.72V45.96H311.692V40.62H316.612L317.392 32.22H322.372V40.62H330.292V45.96H322.372V63.24C322.372 64.2 322.692 65 323.332 65.64C323.972 66.28 324.792 66.6 325.792 66.6H330.292V72H325.072Z" fill="black"/>
</svg>
</span>,
head: (
<>
<meta name="theme-color" content="#ffffff" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta httpEquiv="Content-Language" content="en" />
<meta name="description" content="Readyset Documentation" />
<meta name="og:description" content="Readyset Documentation" />
<meta name="og:title" content="Readyset Documentation" />g
<meta name="google-site-verification" content="YqIu2mCiGAIik--xb2ehQQgwE0IaZKA831UKV33IwCg" />
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QHKR2RLDNK"></script>
<script src="gtag.js"></script>
</>
),
project: {
link: 'https://github.com/readysettech/readyset',
},
chat: {
link: 'https://join.slack.com/t/readysetcommunity/shared_invite/zt-2272gtiz4-0024xeRJUPGWlRETQrGkFw',
icon: (
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
<path d="M5.44225 15.5671C5.44225 16.9547 4.3087 18.0882 2.92108 18.0882C1.53345 18.0882 0.399902 16.9547 0.399902 15.5671C0.399902 14.1794 1.53345 13.0459 2.92108 13.0459H5.44225V15.5671Z" fill="black" />
<path d="M6.7124 15.5671C6.7124 14.1794 7.84595 13.0459 9.23358 13.0459C10.6212 13.0459 11.7547 14.1794 11.7547 15.5671V21.8798C11.7547 23.2674 10.6212 24.4009 9.23358 24.4009C7.84595 24.4009 6.7124 23.2674 6.7124 21.8798V15.5671Z" fill="black" />
<path d="M9.23358 5.44274C7.84595 5.44274 6.7124 4.30919 6.7124 2.92156C6.7124 1.53394 7.84595 0.400391 9.23358 0.400391C10.6212 0.400391 11.7547 1.53394 11.7547 2.92156V5.44274H9.23358Z" fill="black" />
<path d="M9.23378 6.71289C10.6214 6.71289 11.755 7.84644 11.755 9.23406C11.755 10.6217 10.6214 11.7552 9.23378 11.7552H2.92108C1.53345 11.7552 0.399902 10.6217 0.399902 9.23406C0.399902 7.84644 1.53345 6.71289 2.92108 6.71289H9.23378Z" fill="black" />
<path d="M19.3574 9.23406C19.3574 7.84644 20.491 6.71289 21.8786 6.71289C23.2662 6.71289 24.3998 7.84644 24.3998 9.23406C24.3998 10.6217 23.2662 11.7552 21.8786 11.7552H19.3574V9.23406Z" fill="black" />
<path d="M18.0873 9.23427C18.0873 10.6219 16.9537 11.7554 15.5661 11.7554C14.1785 11.7554 13.0449 10.6219 13.0449 9.23427V2.92156C13.0449 1.53394 14.1785 0.400391 15.5661 0.400391C16.9537 0.400391 18.0873 1.53394 18.0873 2.92156V9.23427Z" fill="black" />
<path d="M15.5661 19.3584C16.9537 19.3584 18.0873 20.4919 18.0873 21.8796C18.0873 23.2672 16.9537 24.4007 15.5661 24.4007C14.1785 24.4007 13.0449 23.2672 13.0449 21.8796V19.3584H15.5661Z" fill="black" />
<path d="M15.5661 18.0882C14.1785 18.0882 13.0449 16.9547 13.0449 15.5671C13.0449 14.1794 14.1785 13.0459 15.5661 13.0459H21.8788C23.2664 13.0459 24.4 14.1794 24.4 15.5671C24.4 16.9547 23.2664 18.0882 21.8788 18.0882H15.5661Z" fill="black" />
</svg>
)
},
darkMode: false,
docsRepositoryBase: 'https://github.com/readysettech/docs/tree/main',
footer: {
text: 'Readyset Documentation',
},
primaryHue: 194,
useNextSeoProps() {
return {
titleTemplate: '%s – Readyset'
}
},
}
export default config