Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikWhitten67 committed Sep 30, 2023
1 parent a84316b commit 3648441
Show file tree
Hide file tree
Showing 19 changed files with 744 additions and 266 deletions.
5 changes: 3 additions & 2 deletions dist/init.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,12 @@ import { Docs } from "../src/pages/Docs.js";

const app = new VaderRouter('/');

app.get("/", async (req, res)=>{
app.get("/", async (/** @type {any} */ req, /** @type {{ send: (arg0: string, arg1: string) => void; }} */ res)=>{
res.send('#root', await new Home().render())
})
app.get('/docs/:page/*', async (req, res)=>{
app.get('/docs/:page/*', async (/** @type {{ params: any[]; }} */ req, /** @type {{ send: (arg0: string, arg1: string) => void; }} */ res)=>{
console.log(req)
// @ts-ignore
res.send('#root', await new Docs().render(req.params.page, req.params[0]))
})

Expand Down
44 changes: 21 additions & 23 deletions dist/styles/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -7794,9 +7794,15 @@ details.collapse summary::-webkit-details-marker {
.end-5 {
inset-inline-end: 1.25rem;
}
.left-0 {
left: 0px;
}
.left-1\/2 {
left: 50%;
}
.top-0 {
top: 0px;
}
.isolate {
isolation: isolate;
}
Expand Down Expand Up @@ -7863,21 +7869,24 @@ details.collapse summary::-webkit-details-marker {
.mb-2 {
margin-bottom: 0.5rem;
}
.mb-40 {
margin-bottom: 10rem;
}
.mb-5 {
margin-bottom: 1.25rem;
}
.mb-6 {
margin-bottom: 1.5rem;
}
.mt-12 {
margin-top: 3rem;
}
.mt-16 {
margin-top: 4rem;
}
.mt-2 {
margin-top: 0.5rem;
}
.mt-3 {
margin-top: 0.75rem;
}
.mt-32 {
margin-top: 8rem;
}
Expand All @@ -7890,9 +7899,6 @@ details.collapse summary::-webkit-details-marker {
.mt-8 {
margin-top: 2rem;
}
.mt-3 {
margin-top: 0.75rem;
}
.box-border {
box-sizing: border-box;
}
Expand Down Expand Up @@ -8014,6 +8020,10 @@ details.collapse summary::-webkit-details-marker {
.w-\[100vw\] {
width: 100vw;
}
.w-fit {
width: -moz-fit-content;
width: fit-content;
}
.w-full {
width: 100%;
}
Expand Down Expand Up @@ -8435,20 +8445,20 @@ details.collapse summary::-webkit-details-marker {
.justify-items-stretch {
justify-items: stretch;
}
.gap-1 {
gap: 0.25rem;
}
.gap-2 {
gap: 0.5rem;
}
.gap-3 {
gap: 0.75rem;
}
.gap-5 {
gap: 1.25rem;
}
.gap-4 {
gap: 1rem;
}
.gap-1 {
gap: 0.25rem;
.gap-5 {
gap: 1.25rem;
}
.space-x-2 > :not([hidden]) ~ :not([hidden]) {
--tw-space-x-reverse: 0;
Expand Down Expand Up @@ -8819,18 +8829,10 @@ details.collapse summary::-webkit-details-marker {
--tw-bg-opacity: 1;
background-color: hsl(var(--b2) / var(--tw-bg-opacity));
}
.bg-gray-400 {
--tw-bg-opacity: 1;
background-color: rgb(156 163 175 / var(--tw-bg-opacity));
}
.bg-gray-700 {
--tw-bg-opacity: 1;
background-color: rgb(55 65 81 / var(--tw-bg-opacity));
}
.bg-gray-300 {
--tw-bg-opacity: 1;
background-color: rgb(209 213 219 / var(--tw-bg-opacity));
}
.bg-gradient-to-r {
background-image: linear-gradient(to right, var(--tw-gradient-stops));
}
Expand Down Expand Up @@ -9127,10 +9129,6 @@ details.collapse summary::-webkit-details-marker {
.text-transparent {
color: transparent;
}
.text-warning {
--tw-text-opacity: 1;
color: hsl(var(--wa) / var(--tw-text-opacity));
}
.text-white {
--tw-text-opacity: 1;
color: rgb(255 255 255 / var(--tw-text-opacity));
Expand Down
Loading

0 comments on commit 3648441

Please sign in to comment.