33 lines
845 B
TypeScript
33 lines
845 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
name: "家人连线台",
|
|
short_name: "家人连线台",
|
|
description: "给老人设备做绑定、查看留言、追踪陪伴记录的家属端。",
|
|
start_url: "/",
|
|
display: "standalone",
|
|
background_color: "#f6eee1",
|
|
theme_color: "#35548d",
|
|
lang: "zh-CN",
|
|
categories: ["utilities", "lifestyle", "health"],
|
|
icons: [
|
|
{
|
|
src: "/pwa/icon-192x192.png",
|
|
sizes: "192x192",
|
|
type: "image/png",
|
|
},
|
|
{
|
|
src: "/pwa/icon-512x512.png",
|
|
sizes: "512x512",
|
|
type: "image/png",
|
|
},
|
|
{
|
|
src: "/pwa/icon-maskable-512x512.png",
|
|
sizes: "512x512",
|
|
type: "image/png",
|
|
purpose: "maskable",
|
|
},
|
|
],
|
|
};
|
|
} |