66 < title > BlockifyVR | Project Gallery</ title >
77 < link href ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha3/dist/css/bootstrap.min.css " rel ="stylesheet " integrity ="sha384-KK94CHFLLe+nY2dmCWGMq91rCGa5gtU4mk92HdvYe+M/SXH301p5ILy+dN9+nJOZ " crossorigin ="anonymous ">
88 < script src ="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/js/bootstrap.bundle.min.js "> </ script >
9- < link rel ="icon " type ="image/svg+xml " href ="/Website/Resources /favicon.svg ">
10- < link rel ="stylesheet " href ="/Resources /styles.css ">
9+ < link rel ="icon " type ="image/svg+xml " href ="/docs/resources /favicon.svg ">
10+ < link rel ="stylesheet " href ="/docs/resources /styles.css ">
1111 < script >
1212 const id = new URLSearchParams ( window . location . search ) . get ( "q" ) ;
1313
14- fetch ( '/projects/projects.json' )
14+ fetch ( '/docs/ projects/projects.json' )
1515 . then ( response => response . json ( ) )
1616 . then ( data => {
1717 if ( id ) {
1818 if ( ! data [ id ] ) {
19- window . location . href = '/404.html' ;
19+ window . location . href = '/docs/ 404.html' ;
2020 } else {
2121 loadProject ( id , data ) ;
2222 }
@@ -62,9 +62,9 @@ <h1>Project Gallery</h1>
6262 data . forEach ( element => {
6363 let card =
6464 `<div id="${ data . indexOf ( element ) } " class="col project">
65- <a href="/projects?q=${ data . indexOf ( element ) } ">
65+ <a href="/docs/ projects?q=${ data . indexOf ( element ) } ">
6666 <div class="card" style="width: auto; border-radius: 8px;">
67- <img src="/projects/${ element } /thumbnail.png" class="card-img-top" style="padding: 10px; border-radius: 15px">
67+ <img src="/docs/ projects/${ element } /thumbnail.png" class="card-img-top" style="padding: 10px; border-radius: 15px">
6868 <div class="card-body">
6969 <h5 class="card-title text-truncate" style="margin-bottom: 0; color: darkgreen;">${ element . slice ( element . indexOf ( "/" ) + 1 , element . lastIndexOf ( "/" ) ) } </h5>
7070 </div>
@@ -80,7 +80,7 @@ <h5 class="card-title text-truncate" style="margin-bottom: 0; color: darkgreen;"
8080 const html = `
8181 <h1>${ data [ id ] . slice ( data [ id ] . indexOf ( "/" ) + 1 , data [ id ] . lastIndexOf ( "/" ) ) } </h1>
8282 <h5 style="padding-bottom: 25px;">${ data [ id ] . slice ( 0 , data [ id ] . indexOf ( "/" ) ) } </h5>
83- <iframe style="border-radius: 8px; border: none;" src="/projects/${ data [ id ] } /index.html"></iframe>` ;
83+ <iframe style="border-radius: 8px; border: none;" src="/docs/ projects/${ data [ id ] } /index.html"></iframe>` ;
8484
8585 document . getElementById ( "projectContainer" ) . appendChild ( document . createRange ( ) . createContextualFragment ( html ) ) ;
8686 }
@@ -131,7 +131,7 @@ <h5 style="padding-bottom: 25px;">${data[id].slice(0, data[id].indexOf("/"))}</h
131131 < body class ="d-flex flex-column min-vh-100 " style ="height: 100%; ">
132132 < nav class ="navbar navbar-expand-lg " data-bs-theme ="dark " style ="background-color:#128211; ">
133133 < div class ="container-fluid ">
134- < a class ="navbar-brand disabled "> < img src ="../../Resources /logo.svg " class ="img-fluid position-relative " alt ="scratch vr extension header image " style ="width: 50px; "> </ a >
134+ < a class ="navbar-brand disabled "> < img src ="/docs/resources /logo.svg " class ="img-fluid position-relative " alt ="scratch vr extension header image " style ="width: 50px; "> </ a >
135135 < button class ="navbar-toggler " type ="button " data-bs-toggle ="collapse " data-bs-target ="#navbarNavDropdown " aria-controls ="navbarNavDropdown " aria-expanded ="false " aria-label ="Toggle navigation ">
136136 < span class ="navbar-toggler-icon "> </ span >
137137 </ button >
@@ -141,10 +141,10 @@ <h5 style="padding-bottom: 25px;">${data[id].slice(0, data[id].indexOf("/"))}</h
141141 < a class ="nav-link " href ="/ "> Home</ a >
142142 </ li >
143143 < li class ="nav-item ">
144- < a class ="nav-link " href ="/documentation/ "> Documentation</ a >
144+ < a class ="nav-link " href ="/docs/ documentation/ "> Documentation</ a >
145145 </ li >
146146 < li class ="nav-item ">
147- < a class ="nav-link active " aria-current ="page " href ="/projects/ "> Project Gallery</ a >
147+ < a class ="nav-link active " aria-current ="page " href ="/docs/ projects/ "> Project Gallery</ a >
148148 </ li >
149149 </ ul >
150150 </ div >
0 commit comments