feat(project): init
This commit is contained in:
39
app/layout.tsx
Normal file
39
app/layout.tsx
Normal file
@@ -0,0 +1,39 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user