// src/app/manifest.ts // ───────────────────────────────────────────────────────────────────────────── // Web App Manifest. Auto-served by Next.js at /manifest.webmanifest. // Tells Android / Chrome / Edge "this site can be added to the home screen, // here are the icons and how to launch it standalone". // ───────────────────────────────────────────────────────────────────────────── import type { MetadataRoute } from "next"; import { getBranding } from "@/lib/siteSettings"; export default async function manifest(): Promise { const branding = await getBranding(); return { name: "FLUX | Energy, Directed.", short_name: "FLUX", description: "Advanced Radio Frequency Solutions by Patrizio Grando.", start_url: "/", display: "standalone", background_color: "#F5F5F7", theme_color: branding.themeColor, icons: [ { src: "/branding/favicon-192.png", sizes: "192x192", type: "image/png", purpose: "any" }, { src: "/branding/favicon-512.png", sizes: "512x512", type: "image/png", purpose: "any" }, { src: "/branding/favicon-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" }, ], }; }