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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user