Adds bot documentation to docusaurus and changes for hub (#4409)

* feat: adds bot docs to docu

* fix: file structure

* fix: brings changelog and switch platform button

* adding available options and changing Example text

* fix: detect whether iframe, fix availableoptions component, dynamic update third friday for options component

* fix: updated readme to reflect new changes

* fix: made it so from iframe only shows relevant sidebar

* PLAY BUTTON WOOO - works on discord/charting/chart

* comment

* fix: search bar, improve search

* fix: hijacks ctrl+k from iframe, adds visit to hub link

* about

* setting up play button for all images on Discord

* Bot docs updates

* terminal/faqs

* update main page

* add changelog to terminal

* SDK refactoring

* minor reordering

* bot struct in place

* move bot faqs over

* updating bot index and installation

* add new letterings

* fix: adds new navbar

* fix: new bot images and layouts

* updating installation and flow

* black linter

* spelling

* spelling

* The best commit

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: DidierRLopes <dro.lopes@campus.fct.unl.pt>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
This commit is contained in:
jose-donato
2023-03-16 16:29:57 +00:00
committed by GitHub
parent 1fe786b79b
commit 6e9fefce9e
125 changed files with 11828 additions and 1076 deletions

View File

@@ -59,6 +59,9 @@
}
@layer components {
.card {
@apply w-full rounded-[4px] border border-grey-400 p-6 shadow bg-grey-900;
}
.tw-transition {
@apply transition duration-150 ease-out;
}
@@ -78,8 +81,20 @@
._group-tab {
@apply w-full flex mb-12;
}
.card {
@apply w-full rounded-md border border-white p-9 shadow;
._modal {
@apply card fixed top-1/2 left-1/2 z-50 max-h-[608px] w-[90%] max-w-[568px] -translate-x-1/2 -translate-y-1/2 animate-fade-in overflow-auto bg-grey-900 p-2 duration-300 focus:outline-none md:p-10;
}
._modal-overlay {
@apply bg-grey-900 opacity-60 z-40 inset-0 fixed;
}
._modal-title {
@apply text-white uppercase tracking-widest text-lg font-bold;
}
.input {
@apply text-sm h-12 pl-4 pr-2 w-full border border-grey-600 text-white focus:text-white rounded-md focus:border-white active:border-white focus:ring-0 hover:border-white disabled:border-grey-700 py-3 bg-transparent;
}
._floating-label {
@apply absolute text-sm text-grey-500 duration-300 transform -translate-y-8 scale-75 top-2 z-0 origin-[0] px-1 peer-focus:px-1 peer-focus:text-white peer-placeholder-shown:scale-100 peer-placeholder-shown:-translate-y-1/2 peer-placeholder-shown:top-1/2 peer-focus:-top-2 peer-focus:scale-75 peer-focus:-translate-y-4 left-4;
}
}
@@ -145,11 +160,16 @@
--aa-background-color-rgb: 0, 0, 0 !important;
}
.cls-1,
.cls-2 {
fill: rgb(160, 160, 160) !important;
}
.DocSearch-Button {
border-radius: 4px !important;
border: 1px solid #2e2e2e !important;
border-radius: 4px !important;
border: 1px solid #a2a2a2ff !important;
background-color: #070707ff !important;
border-color: #a2a2a2ff !important;
}
@media (max-width: 440px) {
@@ -159,11 +179,12 @@
}
}
/*
.DocSearch-Button:hover {
outline: none !important;
border-color: white !important;
color: white !important;
}
}*/
[data-theme="dark"] {
/*
@@ -228,6 +249,37 @@
);
}
.header_docs_bot {
background: -moz-linear-gradient(
90deg,
rgb(78, 23, 65) 0%,
rgb(62, 29, 78) 15%,
rgba(55, 29, 76, 1) 45%,
rgb(68, 39, 87) 64%,
rgb(46, 34, 65) 82%,
rgba(16, 9, 0, 1) 100%
) !important;
background: -webkit-linear-gradient(
90deg,
rgb(78, 23, 65) 0%,
rgb(62, 29, 78) 15%,
rgba(55, 29, 76, 1) 45%,
rgb(68, 39, 87) 64%,
rgb(46, 34, 65) 82%,
rgba(16, 9, 0, 1) 100%
) !important;
background: linear-gradient(
90deg,
rgb(78, 23, 65) 0%,
rgb(62, 29, 78) 15%,
rgba(55, 29, 76, 1) 45%,
rgb(68, 39, 87) 64%,
rgb(46, 34, 65) 82%,
rgba(16, 9, 0, 1) 100%
);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#170806",endColorstr="#100900",GradientType=1) !important;
}
.header_docs_sdk {
background: rgb(23, 8, 6);
background: -moz-linear-gradient(