Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
15 lines
545 B
TypeScript
15 lines
545 B
TypeScript
import type { Metadata } from 'next'
|
|
|
|
import DashboardShell from '@/components/layouts/DashboardShell'
|
|
|
|
// Entire (dashboard) group is the admin panel — auth-gated and already
|
|
// disallowed in robots.ts. `noindex` here is defense in depth so a linked
|
|
// admin URL can never surface in search results even without a crawl.
|
|
export const metadata: Metadata = {
|
|
robots: { index: false, follow: false },
|
|
}
|
|
|
|
const UserLayout = ({ children }: { children: React.ReactNode }) => <DashboardShell>{children}</DashboardShell>
|
|
|
|
export default UserLayout
|