import AdminShell from './components/AdminShell.js'; import AdminPageClient from './AdminPage.client.js'; import { protectAdmin } from './protect.js'; import { buildNavigationSections } from './navigation.js'; import { collectWidgetData } from './registry.js'; import { logoutAction } from '@zen/core/features/auth/actions'; import { getAppName } from '@zen/core'; import './widgets/index.server.js'; export default async function AdminPage({ params }) { const resolvedParams = await params; const session = await protectAdmin(); const appName = getAppName(); const widgetData = await collectWidgetData(); const navigationSections = buildNavigationSections('/'); return ( ); }