nomadro/app/community/layout.tsx
eric 9f8fec1723 Ship portal PC/H5 acceptance, VIP ScrollReader, admin analytics and ops anchors.
Adds /api/health, ntfy notify on config save, /admin/analytics charts, and deploy smoke for miniprogram config/API.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 23:52:00 -05:00

28 lines
758 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 { ModuleBoundary } from "~/components/module-boundary";
import "@community/app/globals.css";
export default function CommunityLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<ModuleBoundary moduleKey="community">
<div className="community-root">
<I18nProvider>
<AuthProvider>
<ToastProvider>
{children}
<PwaRegister />
</ToastProvider>
</AuthProvider>
</I18nProvider>
</div>
</ModuleBoundary>
);
}