修改title
This commit is contained in:
parent
4e68054984
commit
3469f53d79
@ -16,7 +16,7 @@ const displayFont = Noto_Serif_SC({
|
||||
|
||||
export const metadata: Metadata = {
|
||||
metadataBase: new URL("https://digital-human.xn--876a.net"),
|
||||
title: "家人连线台",
|
||||
title: "安智伴 - 家人连线台",
|
||||
description: "随时了解长辈的近况,查看留言、使用动态,给长辈写问候。",
|
||||
manifest: "/manifest.webmanifest",
|
||||
icons: {
|
||||
@ -44,7 +44,7 @@ export const metadata: Metadata = {
|
||||
appleWebApp: {
|
||||
capable: true,
|
||||
statusBarStyle: "default",
|
||||
title: "家人连线台",
|
||||
title: "安智伴 - 家人连线台",
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
@ -2,8 +2,8 @@ import type { MetadataRoute } from "next";
|
||||
|
||||
export default function manifest(): MetadataRoute.Manifest {
|
||||
return {
|
||||
name: "家人连线台",
|
||||
short_name: "家人连线台",
|
||||
name: "安智伴 - 家人连线台",
|
||||
short_name: "安智伴 - 家人连线台",
|
||||
description: "随时了解长辈的近况,查看留言、使用动态,给长辈写问候。",
|
||||
start_url: "/",
|
||||
display: "standalone",
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
self.addEventListener("push", (event) => {
|
||||
let data = {
|
||||
title: "家人连线台",
|
||||
title: "安智伴 - 家人连线台",
|
||||
body: "收到一条新的家人留言。",
|
||||
url: "/",
|
||||
icon: "/pwa/icon-192x192.png",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user