App.js 723 Bytes
//import React, {useState} from "react";
import {BrowserRouter as Router, Route, Routes, Link} from "react-router-dom";
import MainPage from "./component/views/LandingPage/MainPage";
import LoginPage from "./component/views/LoginPage/LoginPage";
import RegisterPage from "./component/views/RegisterPage/RegisterPage";
import "./static/fonts/font.css";
function App () {
  return (
      <Router>
        <div>
          {}
          <Routes>
            <Route exact path = "/main" element={<MainPage/>}/>
            <Route exact path = "/login" element={<LoginPage/>}/>
            <Route exact path = "/register" element={<RegisterPage/>}/>
          </Routes>
        </div>
      </Router>
  );
}

export default App;