2026-04-18 12:12:16 +08:00

57 lines
1.3 KiB
TypeScript

import type { Metadata, Viewport } from "next";
import "./globals.css";
import { NavigationProgressProvider } from "@/components/navigation-progress";
export const metadata: Metadata = {
metadataBase: new URL("https://digital-human.xn--876a.net"),
title: "安智伴 家人连线台",
description: "随时了解长辈的近况,查看留言、使用动态,给长辈写问候。",
manifest: "/manifest.webmanifest",
icons: {
icon: [
{
url: "/pwa/icon-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
url: "/pwa/icon-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
apple: [
{
url: "/pwa/apple-touch-icon.png",
sizes: "180x180",
type: "image/png",
},
],
shortcut: "/pwa/icon-192x192.png",
},
appleWebApp: {
capable: true,
statusBarStyle: "default",
title: "安智伴 家人连线台",
},
};
export const viewport: Viewport = {
themeColor: "#FBFAF6",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="zh-CN">
<body className="min-h-screen">
<NavigationProgressProvider>{children}</NavigationProgressProvider>
</body>
</html>
);
}