Files
zhimingge/app/layout.tsx
T
dekun fff77dac3f Implement three divination modes, learn pages, and PM2 deploy on port 3130.
Add liuyao/bazi/combined flows with shared calc and AI infrastructure, 64-gua learn routes, and update Ubuntu PM2 deployment docs for port 3130.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 20:19:49 +08:00

54 lines
1.3 KiB
TypeScript

import "./globals.css";
import type { Metadata, Viewport } from "next";
import React from "react";
import Umami from "@/components/umami";
import { ThemeProvider } from "next-themes";
export const metadata: Metadata = {
title: "知命阁 - 易经学习 · 六爻算卦 · 生辰八字",
description:
"知命阁 — 融合周易智慧与人工智能,提供易经学习、六爻算卦、生辰八字排盘、综合测算等服务",
appleWebApp: {
title: "知命阁",
},
};
export const viewport: Viewport = {
viewportFit: "cover",
width: "device-width",
initialScale: 1,
maximumScale: 1,
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "#f5f5f4" },
{ media: "(prefers-color-scheme: dark)", color: "#333333" },
],
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="cn" suppressHydrationWarning>
<head>
<link
rel="stylesheet"
href="https://registry.npmmirror.com/lxgw-wenkai-screen-web/latest/files/lxgwwenkaiscreen/result.css"
/>
</head>
<body>
<ThemeProvider
enableSystem
attribute="class"
defaultTheme="system"
disableTransitionOnChange
>
{children}
</ThemeProvider>
<Umami />
</body>
</html>
);
}