import type { MetadataRoute } from "next"

// PWA-manifest (ADR-028). Ikonene under er en enkel, midlertidig
// merkevareriktig placeholder (grønn golfflagg) generert programmatisk --
// se FEATURE_BACKLOG.md, skal erstattes med ekte design senere.
export default function manifest(): MetadataRoute.Manifest {
  return {
    name: "TeeCup",
    short_name: "TeeCup",
    description: "Golfturnering i Ryder Cup-format — lag, scorekort og leaderboard.",
    start_url: "/",
    scope: "/",
    display: "standalone",
    background_color: "#ffffff",
    theme_color: "#8BC24A",
    icons: [
      { src: "/icons/icon-192.png", sizes: "192x192", type: "image/png", purpose: "any" },
      { src: "/icons/icon-512.png", sizes: "512x512", type: "image/png", purpose: "any" },
      { src: "/icons/icon-maskable-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" },
    ],
  }
}
