- login page (Supabase email/password sign-in + sign-up) - onboarding: create first tenant, redirects into /dashboard once a membership exists - dashboard shell: sidebar nav, tenant switcher (x-tenant-id header, never in body/query -- matches ceo-api's TenantGuard), sign out - Organizations, Tasks, and Team (members/RBAC) pages wired to ceo-api via a thin apiFetch wrapper that attaches the Supabase bearer token - executive "paper & ink" design tokens (Tailwind) replacing defaults - Dockerfile: declare NEXT_PUBLIC_* as build ARGs so Coolify's existing build-time env vars actually get inlined (was previously silently dropped, which would have crashed prerendering)
8 lines
346 B
TypeScript
8 lines
346 B
TypeScript
import { DashboardShell } from '../../components/dashboard-shell';
|
|
|
|
// Tot ce e sub /dashboard depinde de sesiunea/tenantul curent -- niciodata prerandat static.
|
|
export const dynamic = 'force-dynamic';
|
|
|
|
export default function DashboardLayout({ children }: { children: React.ReactNode }) {
|
|
return <DashboardShell>{children}</DashboardShell>;
|
|
}
|