lingjing/app/layout.jsx
2026-02-23 09:51:43 +00:00

40 lines
999 B
JavaScript

import './globals.css';
export const metadata = {
title: '灵镜',
description: '一场温柔但有穿透力的对话,帮你看见自己。',
manifest: '/manifest.json',
appleWebApp: {
capable: true,
statusBarStyle: 'black-translucent',
title: '灵镜',
},
other: {
'mobile-web-app-capable': 'yes',
},
};
export const viewport = {
themeColor: '#0a0a0a',
width: 'device-width',
initialScale: 1,
maximumScale: 1,
userScalable: false,
viewportFit: 'cover',
};
export default function RootLayout({ children }) {
return (
<html lang="zh-CN">
<head>
<link rel="manifest" href="/manifest.json" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="灵镜" />
<meta name="theme-color" content="#0a0a0a" />
</head>
<body>{children}</body>
</html>
);
}