import type { MetadataRoute } from "next"; /** * What lets the webmail be installed like an app: its own window, its own * icon, and a splash that matches the ground it opens onto. */ export default function manifest(): MetadataRoute.Manifest { return { name: "LambdaMail", short_name: "LambdaMail", description: "Your own mail server, with a webmail that is a pleasure to use.", start_url: "/user/mail/inbox", scope: "/", display: "standalone", background_color: "#0F1218", theme_color: "#0F1218", icons: [ { src: "/icons/icon-192.png", sizes: "192x192", type: "image/png" }, { src: "/icons/icon-512.png", sizes: "512x512", type: "image/png" }, { src: "/icons/maskable-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" }, ], }; }