c875847b65
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
27 lines
878 B
TypeScript
27 lines
878 B
TypeScript
import type { MetadataRoute } from "next";
|
|
import { tr } from "@/i18n/tr";
|
|
|
|
/** PWA manifest: "Ana ekrana ekle" ile kurulabilir. İkonlar: npm run icons. */
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
id: "/",
|
|
name: tr.app.name,
|
|
short_name: tr.app.name,
|
|
description: tr.app.tagline,
|
|
lang: "tr-TR",
|
|
dir: "ltr",
|
|
start_url: "/dashboard",
|
|
scope: "/",
|
|
display: "standalone",
|
|
orientation: "portrait",
|
|
background_color: "#fafcfe",
|
|
theme_color: "#105bbe",
|
|
categories: ["finance", "productivity"],
|
|
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/maskable-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" },
|
|
],
|
|
};
|
|
}
|