admin/app/(dashboard)/layout.tsx
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

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