40 lines
918 B
TypeScript
40 lines
918 B
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
name: "Homarr",
|
|
short_name: "Homarr",
|
|
description: "Your dashboard for managing your server.",
|
|
start_url: "/",
|
|
display: "standalone",
|
|
background_color: "#fff",
|
|
theme_color: "#fff",
|
|
icons: [
|
|
{
|
|
src: "/images/pwa/192.maskable.png",
|
|
sizes: "192x192",
|
|
type: "image/png",
|
|
purpose: "any",
|
|
},
|
|
{
|
|
src: "/images/pwa/192.maskable.png",
|
|
sizes: "192x192",
|
|
type: "image/png",
|
|
purpose: "maskable",
|
|
},
|
|
{
|
|
src: "/images/pwa/512.maskable.png",
|
|
sizes: "512x512",
|
|
type: "image/png",
|
|
purpose: "any",
|
|
},
|
|
{
|
|
src: "/images/pwa/512.maskable.png",
|
|
sizes: "512x512",
|
|
type: "image/png",
|
|
purpose: "maskable",
|
|
},
|
|
],
|
|
};
|
|
}
|