Files
image-prompt-studio/app/layout.tsx
2026-04-25 11:26:33 +08:00

40 lines
915 B
TypeScript

import type { Metadata, Viewport } from "next";
import type { ReactNode } from "react";
import "@/app/globals.css";
const applicationName = "Image Prompt Studio";
export const metadata: Metadata = {
title: applicationName,
description: "Next.js + SQLite powered image generation workspace",
applicationName,
manifest: "/manifest.webmanifest",
appleWebApp: {
capable: true,
statusBarStyle: "default",
title: applicationName,
},
formatDetection: {
telephone: false,
},
icons: {
icon: [{ url: "/pwa-icon.svg", type: "image/svg+xml" }],
apple: [{ url: "/pwa-icon.svg", type: "image/svg+xml" }],
shortcut: ["/pwa-icon.svg"],
},
};
export const viewport: Viewport = {
themeColor: "#f5f5f7",
};
export default function RootLayout({
children,
}: Readonly<{ children: ReactNode }>) {
return (
<html lang="zh-CN">
<body>{children}</body>
</html>
);
}