import type { MetadataRoute } from "next";

export default function manifest(): MetadataRoute.Manifest {
  return {
    name: "میزی — پنل مدیریت کافه",
    short_name: "میزی",
    description: "سیستم مدیریت کافه و رستوران میزی",
    start_url: "/fa/pos",
    display: "standalone",
    background_color: "#ffffff",
    theme_color: "#0F6E56",
    orientation: "any",
    categories: ["business", "productivity"],
    lang: "fa",
    dir: "rtl",
    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",
      },
    ],
    screenshots: [
      {
        src: "/screenshots/pos.png",
        sizes: "1280x800",
        type: "image/png",
        form_factor: "wide",
        label: "سیستم فروش حضوری",
      },
    ],
  };
}
