5a50d77515
Adds sharing (residence share codes, join, user management, .casera file export/import), subscription status with feature comparison, notification preferences with bell icon, profile settings (edit info, change password, theme picker, delete account), onboarding wizard with create/join paths, enhanced dashboard with stats cards, Recharts completion chart, recent activity feed, and task report PDF download. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
26 lines
686 B
TypeScript
26 lines
686 B
TypeScript
"use client";
|
|
|
|
import { Sidebar } from '@/components/layout/sidebar';
|
|
import { TopBar } from '@/components/layout/top-bar';
|
|
import { MobileNav } from '@/components/layout/mobile-nav';
|
|
|
|
export default function AppLayout({ children }: { children: React.ReactNode }) {
|
|
return (
|
|
<div className="min-h-screen bg-background">
|
|
{/* Sidebar - hidden on mobile */}
|
|
<Sidebar />
|
|
|
|
{/* Main content area */}
|
|
<div className="md:ml-16 lg:ml-64 flex flex-col min-h-screen">
|
|
<TopBar />
|
|
<main className="flex-1 p-4 lg:p-6 pb-20 md:pb-6">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
|
|
{/* Mobile bottom nav */}
|
|
<MobileNav />
|
|
</div>
|
|
);
|
|
}
|