Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
adnanwahab committed Oct 20, 2024
1 parent c38dc06 commit 50b373e
Show file tree
Hide file tree
Showing 5 changed files with 28 additions and 22 deletions.
2 changes: 1 addition & 1 deletion web-ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
<div id="root"></div>
<div id="app"></div>

<script type="module" src="js/main.jsx"></script>
<script type="module" src="js/vite-frontend.jsx"></script>

</body>
</html>
Expand Down
6 changes: 3 additions & 3 deletions web-ui/js/robotics-odyssey.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ function RoboticsOdyssey() {
{/* <PowerPoint />
<Box /> */}
{/* <UseDirectImport /> */}
<Pricing />
{/* <Footer /> */}
{/* <Pricing /> */}
<Footer />
{/* <Hardware_Picker></Hardware_Picker> */}
</main>
</div>
Expand Down Expand Up @@ -109,7 +109,7 @@ function Pricing() {
<div class="bg-gray-700 p-4 rounded-full"></div>
</div>
</div>
<img src="https://nanosaur.ai/assets/images/nanosaur-wireframe-bw.png" />
{/* <img style={{width: "500px"}} src="https://nanosaur.ai/assets/images/nanosaur-wireframe-bw.png" /> */}
</div>
);
}
Expand Down
32 changes: 17 additions & 15 deletions web-ui/js/main.jsx → web-ui/js/vite-frontend.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,21 +73,23 @@ function RoamResearch () {

const root = ReactDOM.createRoot(document.getElementById("app"));
root.render(
<StrictMode>
<BrowserRouter>
<Routes>
<Route path="/" element={<RoboticsOdyssey />} />
<Route path="/docs" element={<Documentation />} />
<Route path="/cgi" element={<CGI_Tools />} />
<Route path="/llama" element={<LLAMA_Tools />} />
<Route path="/hardware" element={<Hardware_Tools />} />
<Route path="/math" element={<Math_Tools />} />
{/* <Route path="/blag" element={<Blog />} /> */}

{/* <Route path="/course_content" element={<iframe width="1920" height="1080" src="http://localhost:3000" />} /> */}
</Routes>
</BrowserRouter>
</StrictMode>,
<RoboticsOdyssey />

// <StrictMode>
// <BrowserRouter>
// <Routes>
// <Route path="/" element={} />
// {/* <Route path="/docs" element={<Documentation />} />
// <Route path="/cgi" element={<CGI_Tools />} />
// <Route path="/llama" element={<LLAMA_Tools />} />
// <Route path="/hardware" element={<Hardware_Tools />} />
// <Route path="/math" element={<Math_Tools />} /> */}
// {/* <Route path="/blag" element={<Blog />} /> */}

// {/* <Route path="/course_content" element={<iframe width="1920" height="1080" src="http://localhost:3000" />} /> */}
// </Routes>
// </BrowserRouter>
// </StrictMode>,
);


Expand Down
6 changes: 3 additions & 3 deletions web-ui/views/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,20 +74,20 @@
</style>


<script type="text/javascript">
<!-- <script type="text/javascript">
(function(c,l,a,r,i,t,y){
c[a]=c[a]||function(){(c[a].q=c[a].q||[]).push(arguments)};
t=l.createElement(r);t.async=1;t.src="https://www.clarity.ms/tag/"+i;
y=l.getElementsByTagName(r)[0];y.parentNode.insertBefore(t,y);
})(window, document, "clarity", "script", "ok8h7h9e0q");
</script>
</script> -->
</head>
<body >

<div id="root"></div>
<div id="app"></div>

<script type="module" src="main.jsx"></script>
<script type="module" src="vite-frontend.jsx"></script>

</body>
</html>
Expand Down
4 changes: 4 additions & 0 deletions web-ui/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,11 @@ export default defineConfig({
}
},
input: {
<<<<<<< HEAD
// voiceReactiveParticles: 'views/cgi-tools/voice_reactive_particles.html',
=======
//voiceReactiveParticles: 'views/cgi-tools/voice_reactive_particles.html',
>>>>>>> 655eae1 (asdf)
},
},
target: 'esnext', // Add this line to target the latest ECMAScript version
Expand Down

0 comments on commit 50b373e

Please sign in to comment.