nomadro/app/community/layout.tsx
eric 9928c5185b Mount nav/book/community as native App Router routes in one Next process.
Replace reverse-proxy/iframe approach with @ebook/@community/@navmini imports under /nav /book /community so localhost:3000 serves all three products directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 03:49:16 -05:00

25 lines
610 B
TypeScript

import { AuthProvider } from "@community/lib/auth";
import { ToastProvider } from "@community/lib/toast";
import { I18nProvider } from "@community/lib/i18n";
import PwaRegister from "@community/components/PwaRegister";
import "@community/app/globals.css";
export default function CommunityLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<div className="community-root">
<I18nProvider>
<AuthProvider>
<ToastProvider>
{children}
<PwaRegister />
</ToastProvider>
</AuthProvider>
</I18nProvider>
</div>
);
}