Skip to content

Commit

Permalink
fix: trial 3
Browse files Browse the repository at this point in the history
  • Loading branch information
shriram-sg committed May 22, 2024
1 parent 02ea8bf commit 73c4344
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"private": true,
"version": "0.0.0",
"type": "module",
"homepage": "https://uowd-tech-club.github.io/tech-club-website",
"homepage": "http://localhost:5173/",
"scripts": {
"dev": "vite",
"build": "vite build",
Expand Down
13 changes: 6 additions & 7 deletions frontend/src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { BrowserRouter, Routes, Route, HashRouter } from "react-router-dom";
import { BrowserRouter, HashRouter, Routes, Route, createHashRouter, RouterProvider } from "react-router-dom";

import "./App.css";
import Homepage from "./pages/Homepage";
Expand All @@ -14,14 +14,13 @@ function App() {
return (
<>
<HashRouter>

<Navbar />
<Routes>
<Route path='/tech-club-website/' element={<Homepage />} />
<Route path='/tech-club-website/dubot' element={<Dubot />} />
<Route path='/tech-club-website/wehead' element={<Wehead />} />
<Route path='/tech-club-website/vr' element={<VR />} />
<Route path='/tech-club-website/robodog' element={<Robodog />} />
<Route path='/' element={<Homepage />} />
<Route path='/dubot' element={<Dubot />} />
<Route path='/wehead' element={<Wehead />} />
<Route path='/vr' element={<VR />} />
<Route path='/robodog' element={<Robodog />} />
</Routes>
<Footer />
</HashRouter>
Expand Down

0 comments on commit 73c4344

Please sign in to comment.