Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
MalikWhitten67 committed Jan 21, 2024
1 parent 3ef1db3 commit 0bbcc80
Showing 1 changed file with 16 additions and 16 deletions.
32 changes: 16 additions & 16 deletions pages/docs/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
let { Component, useState } = await await import(Vader.root + '//vader.js')
let { Component, useState } = await import(Vader.root + '//vader.js')
let { Nav } = await import(Vader.root + '/src/Nav.js')
let { Home } = await import(Vader.root + '/src/pages/docs/overview/index.js')

Expand All @@ -22,8 +22,8 @@ class Index extends Component {
let p = this.request.query.page ? `/docs/${this.request.query.page}` : '/docs/getting-started'
this.request.query.subpage ? p = p + '/' + this.request.query.subpage : ''

let [/** @type {*} */path, setPath] = this.useState('path', p)

let [/** @type {*} */path, setPath] = this.useState('path', p)




Expand All @@ -40,35 +40,35 @@ class Index extends Component {
<li><a
class='font-semibold'
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started' }); `, false, false, 'ba4mq3dohq', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="ba4mq3dohq",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started' }); `, false, false, '7e9ft6xt9zw', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="7e9ft6xt9zw",
>Getting Started</a></li>
<li class='p-1'><a
class="${`
${path == '/docs/getting-started/installation' ? 'font-semibold text-blue-500 font-sans' : ''
}
`}",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'installation' }); `, false, false, '30lzaadjz0i', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="30lzaadjz0i",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'installation' }); `, false, false, 't6nuo93rhdg', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="t6nuo93rhdg",
>Installation</a></li>
<li class='p-1'><a
class="${`
cursor-pointer
${path == '/docs/getting-started/project-structure' ? 'font-semibold text-blue-500 font-sans' : ''
}
`}",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'project-structure' }); `, false, false, 'ht7dppuhot', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="ht7dppuhot",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'project-structure' }); `, false, false, 'cs717gicbe4', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="cs717gicbe4",
>Project Structure</a></li>
<li class="p-1">
<a
class="${`${path == '/docs/getting-started/routing' ? 'font-semibold text-blue-500 font-sans' : ''}`}",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'routing' }); `, false, false, '0ye1yd81gmda', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="0ye1yd81gmda",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'routing' }); `, false, false, 'tylzvx3x4a', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="tylzvx3x4a",
>Routing</a></li>
<li class="p-1">
<a
class="${`${path == '/docs/getting-started/deployment' ? 'font-semibold text-blue-500 font-sans' : ''}`}",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'deployment' }); `, false, false, 'vkqbif0zgua', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="vkqbif0zgua",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'deployment' }); `, false, false, 'j6191rzrjgk', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="j6191rzrjgk",
>Deployment</a></li>
Expand Down Expand Up @@ -106,7 +106,7 @@ class Index extends Component {
<ul class='p-5 fixed flex flex-col text-sm gap-5'>
<li
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started' }); `, false, false, 'j6qmzevm17q', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="j6qmzevm17q",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started' }); `, false, false, 'gunqq3kan57', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="gunqq3kan57",
class='cursor-pointer'
>
<a class='flex gap-2 hero'>
Expand Down Expand Up @@ -177,7 +177,7 @@ class Index extends Component {
${
path.includes('getting-started') ? `
<li
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'installation' }); `, false, false, 'wi3j5ir65vh', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="wi3j5ir65vh",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'installation' }); `, false, false, 'xxmioatfrfb', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="xxmioatfrfb",
class='cursor-pointer'
>
<a
Expand All @@ -197,7 +197,7 @@ class Index extends Component {
</a>
</li>
<li
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'project-structure' }); `, false, false, 'rv7cy0gzmud', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="rv7cy0gzmud",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'project-structure' }); `, false, false, 'fs48mk0m2fo', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="fs48mk0m2fo",
class='cursor-pointer'
>
<a class='flex gap-2 hero'>
Expand All @@ -212,7 +212,7 @@ class Index extends Component {
</a>
</li>
<li
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'routing' }); `, false, false, 'jscxt805id', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="jscxt805id",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'routing' }); `, false, false, 'yfzkf135nd', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="yfzkf135nd",
class='cursor-pointer'
>
<a class='flex gap-2 hero'>
Expand All @@ -229,7 +229,7 @@ class Index extends Component {
</a>
</li>
<li
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'deployment' }); `, false, false, 'qx1qvlqu9mi', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="qx1qvlqu9mi",
onClick="${this.bind(`this.response.setQuery({ page: 'getting-started', subpage: 'deployment' }); `, false, false, '0mvl52irugjq', "setPath,", setPath)}", usesEvent="true", eventType="onClick",data-ref="0mvl52irugjq",
class='cursor-pointer'
>
<a class='flex gap-2 hero'>
Expand Down Expand Up @@ -259,6 +259,6 @@ class Index extends Component {

}

export default Index

//wascompiled
export default Index

//wascompiled

0 comments on commit 0bbcc80

Please sign in to comment.