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>
28 lines
758 B
TypeScript
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>
|
|
);
|
|
}
|