adding in home page router and bunch of other ui starting to develop things but no backend yet
This commit is contained in:
@@ -1,6 +1,9 @@
|
||||
import "./App.css";
|
||||
|
||||
import { HashRouter, Route, Routes } from "react-router-dom";
|
||||
|
||||
import { Button } from "@mui/material";
|
||||
import Home from "./pages/Home";
|
||||
import Login from "./pages/Login";
|
||||
import Logo from "./components/Logo";
|
||||
import React from "react";
|
||||
@@ -12,7 +15,16 @@ testConnection();
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<Login />
|
||||
<HashRouter>
|
||||
<div className="App">
|
||||
<Routes>
|
||||
<Route path="/" element={<Login />} />
|
||||
<Route path="/home" element={<Home />} />
|
||||
{/* <Route exact path="/profile/create" component={Sit} />
|
||||
<Route exact path="/profile/edit" component={Sit} /> */}
|
||||
</Routes>
|
||||
</div>
|
||||
</HashRouter>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user