Files
zhimingge/app/manifest.ts
T
dekun 98b83a5f75 Fix narrow PWA layout on tablet with standalone width rules.
Allow any orientation in manifest, widen content and enable dual-column mode in installed apps on tablet viewports, with iOS display-mode fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-11 09:07:48 +08:00

37 lines
851 B
TypeScript

import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "知命阁",
short_name: "知命阁",
description:
"融合周易智慧与人工智能 — 易经学习、六爻算卦、生辰八字、综合测算",
start_url: "/",
display: "standalone",
orientation: "any",
background_color: "#f5f5f4",
theme_color: "#525252",
lang: "zh-CN",
icons: [
{
src: "/apple-icon.png",
sizes: "180x180",
type: "image/png",
purpose: "any",
},
{
src: "/apple-icon.png",
sizes: "192x192",
type: "image/png",
purpose: "maskable",
},
{
src: "/apple-icon.png",
sizes: "512x512",
type: "image/png",
purpose: "any",
},
],
};
}