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>
27 lines
781 B
TypeScript
27 lines
781 B
TypeScript
import type { Metadata } from "next";
|
|
import "./globals.css";
|
|
import { ThemeProvider } from "./providers/ThemeProvider";
|
|
import { httpsUpgradeScript } from "./https-upgrade";
|
|
import { themeInitScript } from "./theme-init";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "nomadro VIP",
|
|
description: "私域会员 · 全模块解锁 · 抱团出海",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="zh-CN" suppressHydrationWarning>
|
|
<body className="antialiased">
|
|
<script dangerouslySetInnerHTML={{ __html: httpsUpgradeScript }} />
|
|
<script dangerouslySetInnerHTML={{ __html: themeInitScript }} />
|
|
<ThemeProvider>{children}</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|