working before adding toastify

This commit is contained in:
QkoSad
2022-11-30 16:31:09 +02:00
parent 7d4e2d1b69
commit 98d2d372e8
38 changed files with 2822 additions and 98 deletions
+21 -18
View File
@@ -1,24 +1,27 @@
import logo from './logo.svg';
import './App.css';
import Navbar from './components/Navbar'
import {BrowserRouter as Router,Routes, Route} from 'react-router-dom'
import Explore from './pages/Explore'
import Profile from './pages/Profile'
import ForgotPassword from './pages/ForgotPassword'
import Offers from './pages/Offers'
import Signin from './pages/Signin'
import Signup from './pages/Signup'
function App() {
return (
<div className="App">
<header className="App-header">
<img src={logo} className="App-logo" alt="logo" />
<p>
Edit <code>src/App.js</code> and save to reload.
</p>
<a
className="App-link"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
>
Learn React
</a>
</header>
</div>
<>
<Router>
<Routes>
<Route path='/' element={<Explore />}/>
<Route path='/offers' element={<Offers />}/>
<Route path='/profile' element={<Profile />}/>
<Route path='/sign-in' element={<Signin />}/>
<Route path='/sign-up' element={<Signup />}/>
<Route path='/forgot-password' element={<ForgotPassword />}/>
</Routes>
<Navbar/>
</Router>
</>
);
}