create-mf2-app
Version:
The stack AI moves fast with.
50 lines (48 loc) • 1.14 kB
text/typescript
import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "Your App Name",
short_name: "YourApp",
description:
"A brief description of your app. Replace this with your app's value proposition.",
start_url: "/",
display: "standalone",
orientation: "portrait",
background_color: "#ffffff",
theme_color: "#000000",
categories: ["business", "finance", "productivity"],
lang: "en",
icons: [
{
src: "/icon",
sizes: "32x32",
type: "image/png",
purpose: "any",
},
{
src: "/icon?size=192",
sizes: "192x192",
type: "image/png",
purpose: "any",
},
{
src: "/icon?size=512",
sizes: "512x512",
type: "image/png",
purpose: "any",
},
{
src: "/apple-icon",
sizes: "180x180",
type: "image/png",
purpose: "any",
},
{
src: "/apple-icon?size=512",
sizes: "512x512",
type: "image/png",
purpose: "maskable",
},
],
};
}