feat(project): init

This commit is contained in:
zhangheng
2026-04-25 11:26:33 +08:00
commit 9bf212f67c
63 changed files with 11141 additions and 0 deletions

45
app/manifest.ts Normal file
View File

@@ -0,0 +1,45 @@
import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "Image Prompt Studio",
short_name: "Prompt Studio",
description: "生成图片、保存历史记录,并在生成成功后发送系统通知。",
start_url: "/studio",
scope: "/",
display: "standalone",
background_color: "#f5f5f7",
theme_color: "#f5f5f7",
lang: "zh-CN",
orientation: "portrait",
categories: ["graphics", "productivity"],
icons: [
{
src: "/pwa-icon.svg",
sizes: "any",
type: "image/svg+xml",
purpose: "any",
},
{
src: "/pwa-icon-maskable.svg",
sizes: "any",
type: "image/svg+xml",
purpose: "maskable",
},
],
shortcuts: [
{
name: "打开生成中心",
short_name: "生成中心",
description: "进入图片生成工作区",
url: "/studio",
},
{
name: "查看历史记录",
short_name: "历史记录",
description: "查看最近生成过的图片",
url: "/history",
},
],
};
}