adding in home page router and bunch of other ui starting to develop things but no backend yet

This commit is contained in:
talksik
2022-03-14 00:14:18 -04:00
parent 6a8268eacb
commit 381eb9ce2f
12 changed files with 192 additions and 12 deletions
+13 -1
View File
@@ -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>
</>
);
}