feat(auth): implement role-based dashboard redirect
This commit is contained in:
8
apps/web/src/features/dashboard/AdminDashboard.tsx
Normal file
8
apps/web/src/features/dashboard/AdminDashboard.tsx
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
const AdminDashboard = () => {
|
||||
return (
|
||||
<div>Dashboard</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default AdminDashboard
|
||||
9
apps/web/src/features/dashboard/ClientDashboard.tsx
Normal file
9
apps/web/src/features/dashboard/ClientDashboard.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
const ClientDashboard = () => {
|
||||
return (
|
||||
<div>ClientDashboard</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default ClientDashboard
|
||||
@@ -1,8 +0,0 @@
|
||||
|
||||
const Dashboard = () => {
|
||||
return (
|
||||
<div>Dashboard</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default Dashboard
|
||||
9
apps/web/src/features/dashboard/VendorDashboard.tsx
Normal file
9
apps/web/src/features/dashboard/VendorDashboard.tsx
Normal file
@@ -0,0 +1,9 @@
|
||||
|
||||
|
||||
const VendorDashboard = () => {
|
||||
return (
|
||||
<div>VendorDashboard</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default VendorDashboard
|
||||
Reference in New Issue
Block a user