feat: app shell, UI kit, data loading, recurring sync

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
YugonitoandClaude Opus 5.5 committed 2026-10-27 18:14:57 +01:00
1 parent 23f3192cd0
commit 08f23f909f
14 files changed
+493 -7

No files matched your search

+18
View File
@@ -0,0 +1,18 @@
import { MobileNav } from "@/components/MobileNav";
import { Sidebar } from "@/components/Sidebar";
import { requireUser } from "@/server/auth";
import { syncRecurrings } from "@/server/sync";
export const dynamic = "force-dynamic";
export default async function AppLayout({ children }: { children: React.ReactNode }) {
const user = await requireUser();
await syncRecurrings();
return (
<div className="min-h-dvh md:flex">
<Sidebar user={user} />
<main className="mx-auto w-full max-w-[1200px] flex-1 px-4 pb-28 pt-5 md:px-7 md:pb-8 md:pt-6">{children}</main>
<MobileNav />
</div>
);
}