Add admin dashboard pages and restructure admin route
Introduces new admin dashboard pages for alerts, bans, invites, orders, settings, status, and vendors under app/dashboard/admin/. Moves the main admin page to the new dashboard structure and adds a shared admin layout. Updates sidebar configuration and adds supporting components and hooks for admin features.
This commit is contained in:
6
app/dashboard/admin/layout.tsx
Normal file
6
app/dashboard/admin/layout.tsx
Normal file
@@ -0,0 +1,6 @@
|
||||
import type React from "react"
|
||||
import Layout from "@/components/layout/layout"
|
||||
|
||||
export default function AdminLayout({ children }: { children: React.ReactNode }) {
|
||||
return <Layout>{children}</Layout>
|
||||
}
|
||||
Reference in New Issue
Block a user