import { AdminLayout } from '@/components/admin/AdminLayout';
import { AdminDashboardPage } from '@/components/admin/AdminDashboardPage';
import { RouteGuard } from '@/lib/gateways/RouteGuard';

export default function AdminPage() {
  return (
    <RouteGuard config={{ requiredRoles: ['owner', 'admin'] }}>
      <AdminLayout>
        <AdminDashboardPage />
      </AdminLayout>
    </RouteGuard>
  );
}