Skip to content

armgit / dub

Public Imported from GitHub
0

The modern link attribution platform. Loved by world-class engineering teams at Twilio, Zillow, Jobber, Vercel, Raycast, and more.

added docs folder

Steven Tey96e29dd2fc95
diff --git a/.gitignore b/.gitignore
index e1168450b6..d3d3271eba 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,12 +1,7 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# dependencies
-/node_modules
-/.pnp
-.pnp.js
-
-# testing
-/coverage
+node_modules
# next.js
/.next/
diff --git a/docs/api-reference/endpoint/create-a-new-link.mdx b/docs/api-reference/endpoint/create-a-new-link.mdx
new file mode 100644
index 0000000000..d752d6cbaf
--- /dev/null
+++ b/docs/api-reference/endpoint/create-a-new-link.mdx
@@ -0,0 +1,3 @@
+---
+openapi: post /links
+---
diff --git a/docs/api-reference/endpoint/delete-a-link.mdx b/docs/api-reference/endpoint/delete-a-link.mdx
new file mode 100644
index 0000000000..65fe792665
--- /dev/null
+++ b/docs/api-reference/endpoint/delete-a-link.mdx
@@ -0,0 +1,3 @@
+---
+openapi: delete /links/{key}
+---
\ No newline at end of file
diff --git a/docs/api-reference/endpoint/retrieve-a-link.mdx b/docs/api-reference/endpoint/retrieve-a-link.mdx
new file mode 100644
index 0000000000..ca4cf85c04
--- /dev/null
+++ b/docs/api-reference/endpoint/retrieve-a-link.mdx
@@ -0,0 +1,3 @@
+---
+openapi: get /links/{key}
+---
diff --git a/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx b/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx
new file mode 100644
index 0000000000..2bc6ffea29
--- /dev/null
+++ b/docs/api-reference/endpoint/retrieve-a-list-of-links.mdx
@@ -0,0 +1,3 @@
+---
+openapi: get /links
+---
\ No newline at end of file
diff --git a/docs/api-reference/errors.mdx b/docs/api-reference/errors.mdx
new file mode 100644
index 0000000000..530eb543cb
--- /dev/null
+++ b/docs/api-reference/errors.mdx
@@ -0,0 +1,22 @@
+---
+title: "Errors"
+description: "Example overview page before API endpoints"
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas et eros iaculis tortor dapibus cursus. Curabitur quis sapien nec tortor dictum gravida.
+
+```bash
+'Authorization': 'Token <team_token>'
+```
+
+## API Tokens
+
+Nullam convallis mauris at nunc consectetur, ac imperdiet leo rutrum. Maecenas cursus purus a pellentesque blandit. Pellentesque vitae lacinia libero, non mollis metus.
+
+Nam id ullamcorper urna, at rutrum enim. [Maecenas vulputate](/introduction) vehicula libero, vitae sodales augue pretium nec. Quisque a magna tempor, semper risus vel, fermentum nunc. Pellentesque fermentum interdum ex, eu convallis massa blandit sed. Aliquam bibendum ipsum vel laoreet auctor.
+
+### Permissions
+
+Etiam lobortis ut odio ut fermentum. Nunc odio velit, sollicitudin at consectetur id, tristique eget turpis. Aliquam at risus vitae dolor sodales venenatis. In hac habitasse platea dictumst.
+
+Aenean consequat diam eget mollis fermentum. [Quisque eu malesuada](/introduction) felis, non dignissim libero.
diff --git a/docs/api-reference/introduction.mdx b/docs/api-reference/introduction.mdx
new file mode 100644
index 0000000000..b258b7410e
--- /dev/null
+++ b/docs/api-reference/introduction.mdx
@@ -0,0 +1,22 @@
+---
+title: "Introduction"
+description: "Example overview page before API endpoints"
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas et eros iaculis tortor dapibus cursus. Curabitur quis sapien nec tortor dictum gravida.
+
+```bash
+'Authorization': 'Token <team_token>'
+```
+
+## API Tokens
+
+Nullam convallis mauris at nunc consectetur, ac imperdiet leo rutrum. Maecenas cursus purus a pellentesque blandit. Pellentesque vitae lacinia libero, non mollis metus.
+
+Nam id ullamcorper urna, at rutrum enim. [Maecenas vulputate](/introduction) vehicula libero, vitae sodales augue pretium nec. Quisque a magna tempor, semper risus vel, fermentum nunc. Pellentesque fermentum interdum ex, eu convallis massa blandit sed. Aliquam bibendum ipsum vel laoreet auctor.
+
+### Permissions
+
+Etiam lobortis ut odio ut fermentum. Nunc odio velit, sollicitudin at consectetur id, tristique eget turpis. Aliquam at risus vitae dolor sodales venenatis. In hac habitasse platea dictumst.
+
+Aenean consequat diam eget mollis fermentum. [Quisque eu malesuada](/introduction) felis, non dignissim libero.
diff --git a/docs/api-reference/rate-limits.mdx b/docs/api-reference/rate-limits.mdx
new file mode 100644
index 0000000000..7a082a8547
--- /dev/null
+++ b/docs/api-reference/rate-limits.mdx
@@ -0,0 +1,22 @@
+---
+title: "Rate Limits"
+description: "Example overview page before API endpoints"
+---
+
+Lorem ipsum dolor sit amet, consectetur adipiscing elit. Maecenas et eros iaculis tortor dapibus cursus. Curabitur quis sapien nec tortor dictum gravida.
+
+```bash
+'Authorization': 'Token <team_token>'
+```
+
+## API Tokens
+
+Nullam convallis mauris at nunc consectetur, ac imperdiet leo rutrum. Maecenas cursus purus a pellentesque blandit. Pellentesque vitae lacinia libero, non mollis metus.
+
+Nam id ullamcorper urna, at rutrum enim. [Maecenas vulputate](/introduction) vehicula libero, vitae sodales augue pretium nec. Quisque a magna tempor, semper risus vel, fermentum nunc. Pellentesque fermentum interdum ex, eu convallis massa blandit sed. Aliquam bibendum ipsum vel laoreet auctor.
+
+### Permissions
+
+Etiam lobortis ut odio ut fermentum. Nunc odio velit, sollicitudin at consectetur id, tristique eget turpis. Aliquam at risus vitae dolor sodales venenatis. In hac habitasse platea dictumst.
+
+Aenean consequat diam eget mollis fermentum. [Quisque eu malesuada](/introduction) felis, non dignissim libero.
diff --git a/docs/images/hero-dark.svg b/docs/images/hero-dark.svg
new file mode 100644
index 0000000000..59ab097581
--- /dev/null
+++ b/docs/images/hero-dark.svg
@@ -0,0 +1,136 @@
+<svg width="700" height="320" viewBox="0 0 700 320" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_39_1471)">
+<rect width="700" height="320" rx="16" fill="#090014"/>
+<rect width="700" height="320" rx="16" fill="url(#paint0_linear_39_1471)"/>
+<g opacity="0.8" filter="url(#filter0_f_39_1471)">
+<circle cx="660" cy="-60" r="160" fill="#7000FF" fill-opacity="0.31"/>
+</g>
+<g opacity="0.8" filter="url(#filter1_f_39_1471)">
+<circle cx="20" cy="213" r="160" fill="#C01BDB" fill-opacity="0.33"/>
+</g>
+<g opacity="0.8" filter="url(#filter2_f_39_1471)">
+<circle cx="660" cy="480" r="160" fill="#B010B4" fill-opacity="0.52"/>
+</g>
+<g opacity="0.8" filter="url(#filter3_f_39_1471)">
+<circle cx="20" cy="413" r="160" fill="#FF0000" fill-opacity="0.22"/>
+</g>
+<path d="M386.015 53.2223L392.803 66.8421C395.854 72.9431 402.943 75.8647 409.43 73.7164L438.474 64.0064C439.076 63.7916 439.72 63.7057 440.365 63.7057C443.63 63.7057 446.294 66.3695 446.294 69.6348C446.294 70.2793 446.208 70.9237 445.993 71.5252L436.326 100.569C434.135 107.057 437.1 114.146 443.201 117.197L456.777 123.985C458.754 124.973 460 126.992 460 129.227C460 131.246 458.969 133.136 457.25 134.211L415.188 160.462C412.223 162.309 413.555 166.821 416.992 166.821H433.448C436.713 166.821 439.377 169.484 439.377 172.75C439.377 173.394 439.291 174.039 439.076 174.64L435.424 185.596C433.662 190.881 435.252 196.724 439.506 200.376L454.285 213.008C455.746 214.253 456.606 216.101 456.606 218.034C456.606 220.44 455.317 222.632 453.254 223.792L440.838 230.881C435.854 233.716 433.147 239.388 434.092 245.059L435.897 255.843C435.94 256.101 435.983 256.402 435.983 256.66C435.983 259.925 432.889 262.288 429.71 261.472L363.115 244.114C359.635 243.169 356.025 245.145 354.865 248.582L351.213 259.495C350.483 261.643 348.507 263.104 346.23 263.104C344.296 263.104 342.578 262.073 341.632 260.397L313.964 210.603L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029C238.99 262.932 238.99 256.402 243.029 252.406L299.357 196.057L249.602 168.41C247.927 167.465 246.896 165.704 246.896 163.813C246.896 161.536 248.356 159.56 250.505 158.829L261.418 155.177C264.855 154.06 266.788 150.451 265.886 146.928L248.528 80.333C247.669 77.1536 250.075 74.0602 253.34 74.0602C253.598 74.0602 253.899 74.1031 254.157 74.1461L264.941 75.9076C270.612 76.8528 276.283 74.189 279.162 69.1622L286.208 56.7454C287.411 54.7261 289.602 53.4372 291.965 53.4372C293.899 53.4372 295.746 54.2965 296.992 55.7573L309.581 70.4941C313.233 74.7046 319.076 76.3373 324.361 74.5757L335.317 70.9237C335.961 70.7089 336.563 70.623 337.207 70.623C340.472 70.623 343.136 73.2868 343.136 76.5521V93.0075C343.136 96.4447 347.647 97.7336 349.495 94.812L375.789 52.7497C376.863 51.0311 378.754 50 380.773 50C383.007 50 385.027 51.246 386.015 53.2223Z" fill="url(#paint1_radial_39_1471)"/>
+<path d="M386.015 53.2223L392.803 66.8421C395.854 72.9431 402.943 75.8647 409.43 73.7164L438.474 64.0064C439.076 63.7916 439.72 63.7057 440.365 63.7057C443.63 63.7057 446.294 66.3695 446.294 69.6348C446.294 70.2793 446.208 70.9237 445.993 71.5252L436.326 100.569C434.135 107.057 437.1 114.146 443.201 117.197L456.777 123.985C458.754 124.973 460 126.992 460 129.227C460 131.246 458.969 133.136 457.25 134.211L415.188 160.462C412.223 162.309 413.555 166.821 416.992 166.821H433.448C436.713 166.821 439.377 169.484 439.377 172.75C439.377 173.394 439.291 174.039 439.076 174.64L435.424 185.596C433.662 190.881 435.252 196.724 439.506 200.376L454.285 213.008C455.746 214.253 456.606 216.101 456.606 218.034C456.606 220.44 455.317 222.632 453.254 223.792L440.838 230.881C435.854 233.716 433.147 239.388 434.092 245.059L435.897 255.843C435.94 256.101 435.983 256.402 435.983 256.66C435.983 259.925 432.889 262.288 429.71 261.472L363.115 244.114C359.635 243.169 356.025 245.145 354.865 248.582L351.213 259.495C350.483 261.643 348.507 263.104 346.23 263.104C344.296 263.104 342.578 262.073 341.632 260.397L313.964 210.603L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029C238.99 262.932 238.99 256.402 243.029 252.406L299.357 196.057L249.602 168.41C247.927 167.465 246.896 165.704 246.896 163.813C246.896 161.536 248.356 159.56 250.505 158.829L261.418 155.177C264.855 154.06 266.788 150.451 265.886 146.928L248.528 80.333C247.669 77.1536 250.075 74.0602 253.34 74.0602C253.598 74.0602 253.899 74.1031 254.157 74.1461L264.941 75.9076C270.612 76.8528 276.283 74.189 279.162 69.1622L286.208 56.7454C287.411 54.7261 289.602 53.4372 291.965 53.4372C293.899 53.4372 295.746 54.2965 296.992 55.7573L309.581 70.4941C313.233 74.7046 319.076 76.3373 324.361 74.5757L335.317 70.9237C335.961 70.7089 336.563 70.623 337.207 70.623C340.472 70.623 343.136 73.2868 343.136 76.5521V93.0075C343.136 96.4447 347.647 97.7336 349.495 94.812L375.789 52.7497C376.863 51.0311 378.754 50 380.773 50C383.007 50 385.027 51.246 386.015 53.2223Z" fill="url(#paint2_radial_39_1471)"/>
+<path d="M243.029 266.971C238.99 262.932 238.99 256.402 243.029 252.406L360.279 135.113C364.318 131.074 370.849 131.074 374.844 135.113C378.84 139.151 378.883 145.682 374.844 149.678L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029Z" fill="url(#paint3_linear_39_1471)"/>
+<circle opacity="0.5" cx="350" cy="160" r="111" stroke="url(#paint4_radial_39_1471)"/>
+<circle opacity="0.5" cx="350" cy="160" r="79" stroke="url(#paint5_radial_39_1471)"/>
+<path opacity="0.4" d="M511 321L189 -1" stroke="url(#paint6_radial_39_1471)"/>
+<path opacity="0.6" d="M189 321L511 -1" stroke="url(#paint7_radial_39_1471)"/>
+<path opacity="0.4" d="M0 160H700" stroke="url(#paint8_radial_39_1471)"/>
+<path opacity="0.2" d="M271 0L271 320" stroke="url(#paint9_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M461 0L461 320" stroke="url(#paint10_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M350 0L350 320" stroke="url(#paint11_radial_39_1471)"/>
+<path opacity="0.2" d="M429 0L429 320" stroke="url(#paint12_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M239 0L239 320" stroke="url(#paint13_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M0 50H700" stroke="url(#paint14_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M0 82H700" stroke="url(#paint15_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M0 271H700" stroke="url(#paint16_radial_39_1471)" stroke-dasharray="4 4"/>
+<path opacity="0.2" d="M0 239H700" stroke="url(#paint17_radial_39_1471)" stroke-dasharray="4 4"/>
+</g>
+<defs>
+<filter id="filter0_f_39_1471" x="260" y="-460" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1471"/>
+</filter>
+<filter id="filter1_f_39_1471" x="-380" y="-187" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1471"/>
+</filter>
+<filter id="filter2_f_39_1471" x="260" y="80" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1471"/>
+</filter>
+<filter id="filter3_f_39_1471" x="-380" y="13" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1471"/>
+</filter>
+<linearGradient id="paint0_linear_39_1471" x1="1.04308e-05" y1="320" x2="710.784" y2="26.0793" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F3003A" stop-opacity="0.09"/>
+<stop offset="0.729167" stop-color="#951168" stop-opacity="0.08"/>
+</linearGradient>
+<radialGradient id="paint1_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(240 270) rotate(-47.3279) scale(870.459 870.459)">
+<stop stop-color="#AA82FF"/>
+<stop offset="0.168642" stop-color="#AA82FF"/>
+<stop offset="0.386895" stop-color="#7E42FF" stop-opacity="0"/>
+<stop offset="1" stop-color="#7E42FF" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint2_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(250 255) rotate(-41.7108) scale(308.099 308.099)">
+<stop offset="0.218594" stop-color="#FF7246" stop-opacity="0.73"/>
+<stop offset="1" stop-color="#A073FF" stop-opacity="0"/>
+</radialGradient>
+<linearGradient id="paint3_linear_39_1471" x1="384" y1="144" x2="252" y2="270" gradientUnits="userSpaceOnUse">
+<stop offset="0.0717997" stop-color="#672191"/>
+<stop offset="0.45027" stop-color="#C963CB"/>
+<stop offset="0.675676" stop-color="#FB695F"/>
+<stop offset="1" stop-color="#EB0331"/>
+</linearGradient>
+<radialGradient id="paint4_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(263 76) rotate(47.663) scale(243.508)">
+<stop stop-color="#7219B7"/>
+<stop offset="1" stop-color="#CD07AD"/>
+</radialGradient>
+<radialGradient id="paint5_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(288.081 100.216) rotate(47.663) scale(173.307)">
+<stop stop-color="#FD22D9"/>
+<stop offset="1" stop-color="#FFDDF9" stop-opacity="0.47"/>
+</radialGradient>
+<radialGradient id="paint6_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(-135) scale(258.996 182)">
+<stop offset="0.0989011" stop-color="#770064"/>
+<stop offset="1" stop-color="#510404" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint7_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(-45) scale(258.996 182)">
+<stop offset="0.0989011" stop-color="#770064"/>
+<stop offset="1" stop-color="#510404" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint8_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) scale(398.125 182)">
+<stop offset="0.0989011" stop-color="#770064"/>
+<stop offset="1" stop-color="#510404" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint9_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(271 160) rotate(90) scale(182 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint10_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(461 160) rotate(90) scale(182 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint11_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(90) scale(182 182)">
+<stop offset="0.0989011" stop-color="#770064"/>
+<stop offset="1" stop-color="#510404" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint12_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(429 160) rotate(90) scale(182 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint13_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(239 160) rotate(90) scale(182 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint14_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 50) scale(398.125 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint15_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 82) scale(398.125 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint16_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 271) scale(398.125 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint17_radial_39_1471" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 239) scale(398.125 182)">
+<stop offset="0.348958" stop-color="#FF8E8E"/>
+<stop offset="0.880208" stop-color="#FFC6F6" stop-opacity="0"/>
+</radialGradient>
+<clipPath id="clip0_39_1471">
+<rect width="700" height="320" rx="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/docs/images/hero-light.svg b/docs/images/hero-light.svg
new file mode 100644
index 0000000000..9db54d9c07
--- /dev/null
+++ b/docs/images/hero-light.svg
@@ -0,0 +1,139 @@
+<svg width="700" height="320" viewBox="0 0 700 320" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_39_1494)">
+<rect width="700" height="320" rx="16" fill="white"/>
+<rect width="700" height="320" rx="16" fill="url(#paint0_linear_39_1494)"/>
+<g opacity="0.8" filter="url(#filter0_f_39_1494)">
+<circle cx="660" cy="-60" r="160" fill="#7000FF" fill-opacity="0.31"/>
+</g>
+<g opacity="0.8" filter="url(#filter1_f_39_1494)">
+<circle cx="20" cy="213" r="160" fill="#C01BDB" fill-opacity="0.33"/>
+</g>
+<g opacity="0.8" filter="url(#filter2_f_39_1494)">
+<circle cx="660" cy="480" r="160" fill="#B010B4" fill-opacity="0.52"/>
+</g>
+<g opacity="0.8" filter="url(#filter3_f_39_1494)">
+<circle cx="20" cy="413" r="160" fill="#FF0000" fill-opacity="0.22"/>
+</g>
+<path d="M386.015 53.2223L392.803 66.8421C395.854 72.9431 402.943 75.8647 409.43 73.7164L438.474 64.0064C439.076 63.7916 439.72 63.7057 440.365 63.7057C443.63 63.7057 446.294 66.3695 446.294 69.6348C446.294 70.2793 446.208 70.9237 445.993 71.5252L436.326 100.569C434.135 107.057 437.1 114.146 443.201 117.197L456.777 123.985C458.754 124.973 460 126.992 460 129.227C460 131.246 458.969 133.136 457.25 134.211L415.188 160.462C412.223 162.309 413.555 166.821 416.992 166.821H433.448C436.713 166.821 439.377 169.484 439.377 172.75C439.377 173.394 439.291 174.039 439.076 174.64L435.424 185.596C433.662 190.881 435.252 196.724 439.506 200.376L454.285 213.008C455.746 214.253 456.606 216.101 456.606 218.034C456.606 220.44 455.317 222.632 453.254 223.792L440.838 230.881C435.854 233.716 433.147 239.388 434.092 245.059L435.897 255.843C435.94 256.101 435.983 256.402 435.983 256.66C435.983 259.925 432.889 262.288 429.71 261.472L363.115 244.114C359.635 243.169 356.025 245.145 354.865 248.582L351.213 259.495C350.483 261.643 348.507 263.104 346.23 263.104C344.296 263.104 342.578 262.073 341.632 260.397L313.964 210.603L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029C238.99 262.932 238.99 256.402 243.029 252.406L299.357 196.057L249.602 168.41C247.927 167.465 246.896 165.704 246.896 163.813C246.896 161.536 248.356 159.56 250.505 158.829L261.418 155.177C264.855 154.06 266.788 150.451 265.886 146.928L248.528 80.333C247.669 77.1536 250.075 74.0602 253.34 74.0602C253.598 74.0602 253.899 74.1031 254.157 74.1461L264.941 75.9076C270.612 76.8528 276.283 74.189 279.162 69.1622L286.208 56.7454C287.411 54.7261 289.602 53.4372 291.965 53.4372C293.899 53.4372 295.746 54.2965 296.992 55.7573L309.581 70.4941C313.233 74.7046 319.076 76.3373 324.361 74.5757L335.317 70.9237C335.961 70.7089 336.563 70.623 337.207 70.623C340.472 70.623 343.136 73.2868 343.136 76.5521V93.0075C343.136 96.4447 347.647 97.7336 349.495 94.812L375.789 52.7497C376.863 51.0311 378.754 50 380.773 50C383.007 50 385.027 51.246 386.015 53.2223Z" fill="white"/>
+<path d="M386.015 53.2223L392.803 66.8421C395.854 72.9431 402.943 75.8647 409.43 73.7164L438.474 64.0064C439.076 63.7916 439.72 63.7057 440.365 63.7057C443.63 63.7057 446.294 66.3695 446.294 69.6348C446.294 70.2793 446.208 70.9237 445.993 71.5252L436.326 100.569C434.135 107.057 437.1 114.146 443.201 117.197L456.777 123.985C458.754 124.973 460 126.992 460 129.227C460 131.246 458.969 133.136 457.25 134.211L415.188 160.462C412.223 162.309 413.555 166.821 416.992 166.821H433.448C436.713 166.821 439.377 169.484 439.377 172.75C439.377 173.394 439.291 174.039 439.076 174.64L435.424 185.596C433.662 190.881 435.252 196.724 439.506 200.376L454.285 213.008C455.746 214.253 456.606 216.101 456.606 218.034C456.606 220.44 455.317 222.632 453.254 223.792L440.838 230.881C435.854 233.716 433.147 239.388 434.092 245.059L435.897 255.843C435.94 256.101 435.983 256.402 435.983 256.66C435.983 259.925 432.889 262.288 429.71 261.472L363.115 244.114C359.635 243.169 356.025 245.145 354.865 248.582L351.213 259.495C350.483 261.643 348.507 263.104 346.23 263.104C344.296 263.104 342.578 262.073 341.632 260.397L313.964 210.603L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029C238.99 262.932 238.99 256.402 243.029 252.406L299.357 196.057L249.602 168.41C247.927 167.465 246.896 165.704 246.896 163.813C246.896 161.536 248.356 159.56 250.505 158.829L261.418 155.177C264.855 154.06 266.788 150.451 265.886 146.928L248.528 80.333C247.669 77.1536 250.075 74.0602 253.34 74.0602C253.598 74.0602 253.899 74.1031 254.157 74.1461L264.941 75.9076C270.612 76.8528 276.283 74.189 279.162 69.1622L286.208 56.7454C287.411 54.7261 289.602 53.4372 291.965 53.4372C293.899 53.4372 295.746 54.2965 296.992 55.7573L309.581 70.4941C313.233 74.7046 319.076 76.3373 324.361 74.5757L335.317 70.9237C335.961 70.7089 336.563 70.623 337.207 70.623C340.472 70.623 343.136 73.2868 343.136 76.5521V93.0075C343.136 96.4447 347.647 97.7336 349.495 94.812L375.789 52.7497C376.863 51.0311 378.754 50 380.773 50C383.007 50 385.027 51.246 386.015 53.2223Z" fill="url(#paint1_radial_39_1494)"/>
+<path d="M386.015 53.2223L392.803 66.8421C395.854 72.9431 402.943 75.8647 409.43 73.7164L438.474 64.0064C439.076 63.7916 439.72 63.7057 440.365 63.7057C443.63 63.7057 446.294 66.3695 446.294 69.6348C446.294 70.2793 446.208 70.9237 445.993 71.5252L436.326 100.569C434.135 107.057 437.1 114.146 443.201 117.197L456.777 123.985C458.754 124.973 460 126.992 460 129.227C460 131.246 458.969 133.136 457.25 134.211L415.188 160.462C412.223 162.309 413.555 166.821 416.992 166.821H433.448C436.713 166.821 439.377 169.484 439.377 172.75C439.377 173.394 439.291 174.039 439.076 174.64L435.424 185.596C433.662 190.881 435.252 196.724 439.506 200.376L454.285 213.008C455.746 214.253 456.606 216.101 456.606 218.034C456.606 220.44 455.317 222.632 453.254 223.792L440.838 230.881C435.854 233.716 433.147 239.388 434.092 245.059L435.897 255.843C435.94 256.101 435.983 256.402 435.983 256.66C435.983 259.925 432.889 262.288 429.71 261.472L363.115 244.114C359.635 243.169 356.025 245.145 354.865 248.582L351.213 259.495C350.483 261.643 348.507 263.104 346.23 263.104C344.296 263.104 342.578 262.073 341.632 260.397L313.964 210.603L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029C238.99 262.932 238.99 256.402 243.029 252.406L299.357 196.057L249.602 168.41C247.927 167.465 246.896 165.704 246.896 163.813C246.896 161.536 248.356 159.56 250.505 158.829L261.418 155.177C264.855 154.06 266.788 150.451 265.886 146.928L248.528 80.333C247.669 77.1536 250.075 74.0602 253.34 74.0602C253.598 74.0602 253.899 74.1031 254.157 74.1461L264.941 75.9076C270.612 76.8528 276.283 74.189 279.162 69.1622L286.208 56.7454C287.411 54.7261 289.602 53.4372 291.965 53.4372C293.899 53.4372 295.746 54.2965 296.992 55.7573L309.581 70.4941C313.233 74.7046 319.076 76.3373 324.361 74.5757L335.317 70.9237C335.961 70.7089 336.563 70.623 337.207 70.623C340.472 70.623 343.136 73.2868 343.136 76.5521V93.0075C343.136 96.4447 347.647 97.7336 349.495 94.812L375.789 52.7497C376.863 51.0311 378.754 50 380.773 50C383.007 50 385.027 51.246 386.015 53.2223Z" fill="url(#paint2_radial_39_1494)"/>
+<path d="M243.029 266.971C238.99 262.932 238.99 256.402 243.029 252.406L360.279 135.113C364.318 131.074 370.849 131.074 374.844 135.113C378.84 139.151 378.883 145.682 374.844 149.678L257.637 266.971C253.598 271.01 247.068 271.01 243.072 266.971H243.029Z" fill="url(#paint3_linear_39_1494)"/>
+<circle opacity="0.3" cx="350" cy="160" r="111" stroke="url(#paint4_radial_39_1494)"/>
+<circle opacity="0.3" cx="350" cy="160" r="79" stroke="url(#paint5_radial_39_1494)"/>
+<path opacity="0.3" d="M511 321L189 -1" stroke="url(#paint6_radial_39_1494)"/>
+<path opacity="0.3" d="M189 321L511 -1" stroke="url(#paint7_radial_39_1494)"/>
+<path opacity="0.2" d="M0 160H700" stroke="url(#paint8_radial_39_1494)"/>
+<path opacity="0.4" d="M271 0L271 320" stroke="url(#paint9_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M461 0L461 320" stroke="url(#paint10_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.3" d="M350 0L350 320" stroke="url(#paint11_radial_39_1494)"/>
+<path opacity="0.3" d="M429 0L429 320" stroke="url(#paint12_radial_39_1494)"/>
+<path opacity="0.4" d="M239 0L239 320" stroke="url(#paint13_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M0 50H700" stroke="url(#paint14_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M0 82H700" stroke="url(#paint15_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M0 271H700" stroke="url(#paint16_radial_39_1494)" stroke-dasharray="4 4"/>
+<path opacity="0.4" d="M0 239H700" stroke="url(#paint17_radial_39_1494)" stroke-dasharray="4 4"/>
+</g>
+<defs>
+<filter id="filter0_f_39_1494" x="260" y="-460" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1494"/>
+</filter>
+<filter id="filter1_f_39_1494" x="-380" y="-187" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1494"/>
+</filter>
+<filter id="filter2_f_39_1494" x="260" y="80" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1494"/>
+</filter>
+<filter id="filter3_f_39_1494" x="-380" y="13" width="800" height="800" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="120" result="effect1_foregroundBlur_39_1494"/>
+</filter>
+<linearGradient id="paint0_linear_39_1494" x1="1.04308e-05" y1="320" x2="710.784" y2="26.0793" gradientUnits="userSpaceOnUse">
+<stop stop-color="#F3003A" stop-opacity="0.09"/>
+<stop offset="0.729167" stop-color="#951168" stop-opacity="0.08"/>
+</linearGradient>
+<radialGradient id="paint1_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(240 270) rotate(-47.3279) scale(870.459 870.459)">
+<stop stop-color="#AA82FF"/>
+<stop offset="1" stop-color="#7E42FF" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint2_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(250 255) rotate(-41.7108) scale(308.099 308.099)">
+<stop offset="0.185199" stop-color="#FF7246"/>
+<stop offset="1" stop-color="#A073FF" stop-opacity="0"/>
+</radialGradient>
+<linearGradient id="paint3_linear_39_1494" x1="384" y1="144" x2="252" y2="270" gradientUnits="userSpaceOnUse">
+<stop offset="0.0717997" stop-color="#953EC9"/>
+<stop offset="0.45027" stop-color="#C963CB"/>
+<stop offset="0.675676" stop-color="#FB695F"/>
+<stop offset="1" stop-color="#FF5577"/>
+</linearGradient>
+<radialGradient id="paint4_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(263 76) rotate(47.663) scale(243.508)">
+<stop stop-color="#7F06DD"/>
+<stop offset="1" stop-color="#7B1AF6"/>
+</radialGradient>
+<radialGradient id="paint5_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(288.081 100.216) rotate(34.7708) scale(139.899)">
+<stop stop-color="#AE46FF"/>
+<stop offset="1" stop-color="#9240FB"/>
+</radialGradient>
+<radialGradient id="paint6_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(-135) scale(258.996 182)">
+<stop offset="0.155621" stop-color="#750EC7"/>
+<stop offset="0.583333" stop-color="#FA2B2B" stop-opacity="0.57"/>
+<stop offset="1" stop-color="#FA762B" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint7_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(-45) scale(258.996 182)">
+<stop offset="0.155621" stop-color="#750EC7"/>
+<stop offset="0.583333" stop-color="#FA2B2B" stop-opacity="0.57"/>
+<stop offset="1" stop-color="#FA762B" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint8_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) scale(398.125 182)">
+<stop offset="0.155621" stop-color="#750EC7"/>
+<stop offset="0.583333" stop-color="#FA2B2B" stop-opacity="0.57"/>
+<stop offset="1" stop-color="#FA762B" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint9_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(271 160) rotate(90) scale(182 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint10_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(461 160) rotate(90) scale(182 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint11_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 160) rotate(90) scale(182 182)">
+<stop offset="0.155621" stop-color="#750EC7"/>
+<stop offset="0.583333" stop-color="#FA2B2B" stop-opacity="0.57"/>
+<stop offset="1" stop-color="#FA762B" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint12_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(429 160) rotate(90) scale(182 182)">
+<stop offset="0.453125" stop-color="#750EC7"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint13_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(239 160) rotate(90) scale(182 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint14_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 50) scale(398.125 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint15_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 82) scale(398.125 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint16_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 271) scale(398.125 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<radialGradient id="paint17_radial_39_1494" cx="0" cy="0" r="1" gradientUnits="userSpaceOnUse" gradientTransform="translate(350 239) scale(398.125 182)">
+<stop offset="0.453125" stop-color="#9215F5"/>
+<stop offset="1" stop-color="#F983E6" stop-opacity="0"/>
+</radialGradient>
+<clipPath id="clip0_39_1494">
+<rect width="700" height="320" rx="16" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/docs/logos/favicon.png b/docs/logos/favicon.png
new file mode 100644
index 0000000000..1653c4e3cd
Binary files /dev/null and b/docs/logos/favicon.png differ
diff --git a/docs/logos/logo.svg b/docs/logos/logo.svg
new file mode 100644
index 0000000000..1176ff7b04
--- /dev/null
+++ b/docs/logos/logo.svg
@@ -0,0 +1,17 @@
+<svg width="191" height="191" viewBox="0 0 191 191" fill="none" xmlns="http://www.w3.org/2000/svg">
+<g clip-path="url(#clip0_36_30)">
+<path d="M191 95.5C191 148.243 148.243 191 95.5 191C42.7568 191 0 148.243 0 95.5C0 42.7568 42.7568 0 95.5 0C148.243 0 191 42.7568 191 95.5Z" fill="black"/>
+<mask id="mask0_36_30" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="191" height="191">
+<path d="M191 95.5C191 148.243 148.243 191 95.5 191C42.7568 191 0 148.243 0 95.5C0 42.7568 42.7568 0 95.5 0C148.243 0 191 42.7568 191 95.5Z" fill="black"/>
+</mask>
+<g mask="url(#mask0_36_30)">
+<circle cx="95" cy="100" r="49" fill="white"/>
+<path d="M122 -14H144V148H122V-14Z" fill="white"/>
+</g>
+</g>
+<defs>
+<clipPath id="clip0_36_30">
+<rect width="191" height="191" fill="white"/>
+</clipPath>
+</defs>
+</svg>
diff --git a/docs/logos/logotype-dark.svg b/docs/logos/logotype-dark.svg
new file mode 100644
index 0000000000..3391cca397
--- /dev/null
+++ b/docs/logos/logotype-dark.svg
@@ -0,0 +1,6 @@
+<svg width="834" height="236" viewBox="0 0 834 236" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z" fill="white"/>
+<path d="M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z" fill="white"/>
+<path d="M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z" fill="white"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M186.634 8.44615C176.589 5.55113 165.976 4 155 4C92.0395 4 41 55.0395 41 118C41 180.96 92.0395 232 155 232C217.96 232 269 180.96 269 118C269 76.1745 246.476 39.6099 212.895 19.7745V180.67H186.634V172.191C177.392 178.304 166.313 181.864 154.403 181.864C122.099 181.864 95.911 155.676 95.911 123.372C95.911 91.0674 122.099 64.8796 154.403 64.8796C166.313 64.8796 177.392 68.4393 186.634 74.5528V8.44615Z" fill="white"/>
+</svg>
diff --git a/docs/logos/logotype.svg b/docs/logos/logotype.svg
new file mode 100644
index 0000000000..62391b75fc
--- /dev/null
+++ b/docs/logos/logotype.svg
@@ -0,0 +1,6 @@
+<svg width="834" height="236" viewBox="0 0 834 236" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path fill-rule="evenodd" clip-rule="evenodd" d="M186.634 8.44615C176.589 5.55113 165.976 4 155 4C92.0395 4 41 55.0395 41 118C41 180.96 92.0395 232 155 232C217.96 232 269 180.96 269 118C269 76.1745 246.476 39.6099 212.895 19.7745V180.67H186.634V172.191C177.392 178.304 166.313 181.864 154.403 181.864C122.099 181.864 95.911 155.676 95.911 123.372C95.911 91.0674 122.099 64.8796 154.403 64.8796C166.313 64.8796 177.392 68.4393 186.634 74.5528V8.44615Z" fill="black"/>
+<path d="M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z" fill="black"/>
+<path d="M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z" fill="black"/>
+<path d="M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z" fill="black"/>
+</svg>
diff --git a/docs/mint.json b/docs/mint.json
new file mode 100644
index 0000000000..feec4209d9
--- /dev/null
+++ b/docs/mint.json
@@ -0,0 +1,74 @@
+{
+ "$schema": "https://mintlify.com/schema.json",
+ "name": "Docs",
+ "logo": {
+ "dark": "/logos/logotype-dark.svg",
+ "light": "/logos/logotype.svg"
+ },
+ "favicon": "/logos/favicon.png",
+ "colors": {
+ "primary": "#9563FF",
+ "light": "#AE87FF",
+ "dark": "#0D001D",
+ "background": {
+ "dark": "#090014"
+ },
+ "anchors": {
+ "from": "#FF7F57",
+ "to": "#9563FF"
+ }
+ },
+ "topbarLinks": [
+ {
+ "name": "Support",
+ "url": "mailto:[email protected]"
+ }
+ ],
+ "topbarCtaButton": {
+ "name": "Dashboard",
+ "url": "https://app.dub.co"
+ },
+ "openapi": "https://api.dub.sh",
+ "anchors": [
+ {
+ "name": "Help Center",
+ "icon": "question",
+ "url": "https://dub.co/help"
+ },
+ {
+ "name": "Blog",
+ "icon": "newspaper",
+ "url": "https://dub.co/blog"
+ },
+ {
+ "name": "GitHub",
+ "icon": "github",
+ "url": "https://dub.sh/github"
+ }
+ ],
+ "navigation": [
+ {
+ "group": "API Reference",
+ "pages": [
+ "api-reference/introduction",
+ "api-reference/rate-limits",
+ "api-reference/errors"
+ ]
+ },
+ {
+ "group": "Links",
+ "pages": [
+ "api-reference/endpoint/create-a-new-link",
+ "api-reference/endpoint/retrieve-a-link",
+ "api-reference/endpoint/delete-a-link",
+ "api-reference/endpoint/retrieve-a-list-of-links"
+ ]
+ }
+ ],
+ "footerSocials": {
+ "twitter": "https://twitter.com/dubdotco",
+ "github": "https://github.com/steven-tey/dub",
+ "linkedin": "https://www.linkedin.com/company/dubhq",
+ "website": "https://dub.co"
+ }
+}
diff --git a/middleware.ts b/middleware.ts
index ca05535c9c..6aa535d2dc 100644
--- a/middleware.ts
+++ b/middleware.ts
@@ -31,9 +31,13 @@ export const config = {
};
export default async function middleware(req: NextRequest, ev: NextFetchEvent) {
- const { domain, path, key } = parse(req);
+ const { domain, path, fullPath, key } = parse(req);
if (isHomeHostname(domain)) {
+ // for docs via Mintlify
+ if (fullPath.startsWith("/docs")) {
+ return NextResponse.rewrite(`https://dub.mintlify.dev/docs${fullPath}`);
+ }
return NextResponse.rewrite(
new URL(`/dub.co${path === "/" ? "" : path}`, req.url),
);
diff --git a/package.json b/package.json
index f07c408d90..d9fdeb5ad6 100644
--- a/package.json
+++ b/package.json
@@ -2,7 +2,7 @@
"private": true,
"license": "AGPL-3.0-or-later",
"scripts": {
- "dev": "concurrently --kill-others \"prisma migrate && next dev --port 8888\" \"prisma studio --browser none\" \"email dev --port 3333\"",
+ "dev": "concurrently --kill-others \"prisma generate && next dev --port 8888\" \"prisma studio --browser none\" \"email dev --port 3333\" \"cd docs && mintlify dev --port 3334\"",
"build": "prisma generate & next build",
"format:write": "prettier --write \"**/*.{css,js,json,jsx,ts,tsx}\"",
"format": "prettier \"**/*.{css,js,json,jsx,ts,tsx}\"",