feat(auth): Added authentication
This commit is contained in:
parent
d85d4334f8
commit
5e100c75ed
39 changed files with 704 additions and 86 deletions
|
|
@ -5,6 +5,7 @@ import Index from './index.tsx'
|
|||
import { BrowserRouter, Route, Routes } from 'react-router-dom'
|
||||
import Navbar from './Components/Navbar/Navbar.tsx'
|
||||
import Search from './Pages/Search/Search.tsx';
|
||||
import Login from './Pages/Login/Login.tsx';
|
||||
|
||||
createRoot(document.getElementById('root')!).render(
|
||||
<StrictMode>
|
||||
|
|
@ -13,6 +14,7 @@ createRoot(document.getElementById('root')!).render(
|
|||
<Routes>
|
||||
<Route path="/" element={<Index />} />
|
||||
<Route path="/search" element={<Search />} />
|
||||
<Route path="/login" element={<Login />} />
|
||||
</Routes>
|
||||
</BrowserRouter>
|
||||
</StrictMode>,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue