2024-08-28 09:33:00 +00:00
|
|
|
import { BrowserRouter, Routes, Route } from "react-router-dom";
|
|
|
|
import Home from "./components/Home";
|
2024-08-28 14:34:35 +00:00
|
|
|
import About from "./components/About";
|
|
|
|
import Contact from "./components/Contact";
|
2024-08-31 05:04:34 +00:00
|
|
|
import Register from "./components/Register";
|
2024-08-26 14:03:54 +00:00
|
|
|
|
|
|
|
|
2024-08-28 09:33:00 +00:00
|
|
|
const App = () => {
|
2024-08-26 14:03:54 +00:00
|
|
|
return (
|
2024-08-28 09:33:00 +00:00
|
|
|
<BrowserRouter>
|
|
|
|
<Routes>
|
|
|
|
<Route path="/" element={<Home />}></Route>
|
2024-08-28 14:34:35 +00:00
|
|
|
<Route path="/about" element={<About />}></Route>
|
|
|
|
<Route path="/contact" element={<Contact/>}></Route>
|
2024-08-31 05:04:34 +00:00
|
|
|
<Route path="/register" element={<Register/>}></Route>
|
2024-08-28 09:33:00 +00:00
|
|
|
</Routes>
|
|
|
|
</BrowserRouter>
|
2024-08-26 14:03:54 +00:00
|
|
|
)
|
|
|
|
}
|
|
|
|
|
2024-08-28 09:33:00 +00:00
|
|
|
export default App
|