import type { MetadataRoute } from "next";

export default function manifest(): MetadataRoute.Manifest {
  return {
    id: "/fa",
    name: "کجا — جستجوی کافه و رستوران",
    short_name: "کجا",
    description: "بهترین کافه‌ها و رستوران‌های ایران را با هوش مصنوعی پیدا کنید",
    start_url: "/fa",
    display: "standalone",
    background_color: "#f9fafb",
    theme_color: "#0F6E56",
    orientation: "portrait-primary",
    categories: ["food", "lifestyle", "navigation"],
    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",
      },
    ],
    shortcuts: [
      {
        name: "جستجوی کافه",
        short_name: "جستجو",
        url: "/fa/search",
        icons: [{ src: "/icons/icon-192.png", sizes: "192x192" }],
      },
    ],
    screenshots: [],
  };
}
