Files
spsays-training/app/manifest.ts
T
2026-06-08 17:17:50 +05:30

31 lines
991 B
TypeScript

import type { MetadataRoute } from "next";
/**
* Web App Manifest — makes the site installable as a standalone PWA. This is
* what lets iOS (16.4+) deliver Web Push: notifications only work once the
* site is added to the Home Screen and launched standalone. Next serves this
* at /manifest.webmanifest and links it automatically.
*/
export default function manifest(): MetadataRoute.Manifest {
return {
name: "Prabhupāda Says",
short_name: "Prabhupāda",
description:
"Browse the books and teachings of His Divine Grace A.C. Bhaktivedanta Swami Prabhupāda",
start_url: "/",
display: "standalone",
background_color: "#fdf7ee",
theme_color: "#fdf7ee",
icons: [
{ src: "/icon-192.png", sizes: "192x192", type: "image/png" },
{ src: "/icon-512.png", sizes: "512x512", type: "image/png" },
{
src: "/icon-512.png",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
};
}