first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
import {Route, Routes} from 'react-router-dom'
|
||||
import {Registration} from './components/Registration'
|
||||
import {ForgotPassword} from './components/ForgotPassword'
|
||||
import {Login} from './components/Login'
|
||||
import {AuthLayout} from './AuthLayout'
|
||||
|
||||
const AuthPage = () => (
|
||||
<Routes>
|
||||
<Route element={<AuthLayout />}>
|
||||
<Route path='login' element={<Login />} />
|
||||
<Route path='registration' element={<Registration />} />
|
||||
<Route path='forgot-password' element={<ForgotPassword />} />
|
||||
<Route index element={<Login />} />
|
||||
</Route>
|
||||
</Routes>
|
||||
)
|
||||
|
||||
export {AuthPage}
|
||||
Reference in New Issue
Block a user