Redesign UI with zen cards, split AI panel, and PWA install support.

Learn uses 64-gua card grid; liuyao/bazi/combined use two input cards plus sticky right AI panel; add manifest, service worker, and install prompt.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
dekun
2026-06-10 23:24:55 +08:00
parent 206673fd90
commit 6265e56a7f
20 changed files with 682 additions and 423 deletions
+5
View File
@@ -2,6 +2,7 @@ import "./globals.css";
import type { Metadata, Viewport } from "next";
import React from "react";
import Umami from "@/components/umami";
import PwaProvider from "@/components/pwa/pwa-provider";
import { ThemeProvider } from "next-themes";
export const metadata: Metadata = {
@@ -9,8 +10,11 @@ export const metadata: Metadata = {
description:
"知命阁 — 融合周易智慧与人工智能,提供易经学习、六爻算卦、生辰八字排盘、综合测算等服务",
appleWebApp: {
capable: true,
title: "知命阁",
statusBarStyle: "default",
},
manifest: "/manifest.webmanifest",
};
export const viewport: Viewport = {
@@ -45,6 +49,7 @@ export default function RootLayout({
disableTransitionOnChange
>
{children}
<PwaProvider />
</ThemeProvider>
<Umami />
</body>