a07ba77c5a
更新对话气泡星芒标识,提供SVG、ICO与多尺寸PNG,修复标签页旧图标缓存并同步PWA元数据。
25 lines
722 B
TypeScript
25 lines
722 B
TypeScript
/** 数字人空间 PWA 元数据,保留原有安装机制。 */
|
|
import type { MetadataRoute } from "next";
|
|
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
name: "星港 · 数字人空间",
|
|
short_name: "星港",
|
|
description: "你的私人数字人空间",
|
|
start_url: "/discover",
|
|
scope: "/",
|
|
display: "standalone",
|
|
background_color: "#141218",
|
|
theme_color: "#141218",
|
|
icons: [
|
|
{ src: "/stellar-icon-192-v2.png", sizes: "192x192", type: "image/png" },
|
|
{ src: "/stellar-icon-512-v2.png", sizes: "512x512", type: "image/png" },
|
|
{
|
|
src: "/stellar-icon-v2.svg",
|
|
sizes: "any",
|
|
type: "image/svg+xml",
|
|
},
|
|
],
|
|
};
|
|
}
|