import type { MetadataRoute } from "next"; import { BRAND_HEX, SITE_DESCRIPTION, SITE_NAME } from "@/lib/seo"; /** Web app manifest — installability + correct branding in browser UI. */ export default function manifest(): MetadataRoute.Manifest { return { name: SITE_NAME, short_name: "Podcast AI", description: SITE_DESCRIPTION, start_url: "/dashboard", scope: "/", display: "standalone", background_color: "#ffffff", theme_color: BRAND_HEX, categories: ["productivity", "music", "business"], // Both files live in app/ as Next icon conventions, so these URLs are stable. icons: [ { src: "/icon.png", sizes: "512x512", type: "image/png", purpose: "any" }, // Maskable: Android crops to a circle/squircle, and the brand mark has // enough padding inside the 512 canvas to survive that crop. { src: "/icon.png", sizes: "512x512", type: "image/png", purpose: "maskable" }, { src: "/apple-icon.png", sizes: "180x180", type: "image/png", purpose: "any" }, ], }; }