start creating dashboard
This commit is contained in:
@@ -3,6 +3,7 @@ import { LoginPage } from './pages/Login'
|
||||
import { SignUp } from './pages/SignUp'
|
||||
import { AuthLayout } from './layouts/AuthLayout'
|
||||
import { Routes, Route, Navigate } from 'react-router'
|
||||
import MenuDockVertical from './layouts/DashLayout'
|
||||
|
||||
|
||||
function App() {
|
||||
@@ -18,6 +19,11 @@ function App() {
|
||||
<Route path="signup" element={<SignUp />} />
|
||||
</Route>
|
||||
|
||||
<Route path="/dashboard" element={
|
||||
// <div className="min-h-svh bg-background flex justify-start items-start">
|
||||
<MenuDockVertical />
|
||||
// </div>
|
||||
} />
|
||||
<Route path="*" element={<Navigate to="/auth/login" replace />} />
|
||||
</Routes>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user