peppa/apps/web/app/manifest.ts
Асель 9052f3245f Merge main into task/pep-98: PEP-112…124 texts through the dictionary
Main's new wording (PEP-123 «Продакт» words) kept and wrapped in t()/m();
wording(mode, locale) gives English words for {task}/{runner} placeholders;
glossary check (pnpm lint) passes; English for all new keys (en/merge-*.ts).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-15 22:04:39 +05:00

20 lines
690 B
TypeScript

import type { MetadataRoute } from "next";
import { PRODUCT_NAME } from "@peppa/shared/i18n";
import { getT } from "@/lib/i18n";
/** Installable as an app (PEP-55): Chrome «Установить Пеппу», badge on the app icon. */
export default async function manifest(): Promise<MetadataRoute.Manifest> {
const t = await getT();
return {
name: PRODUCT_NAME,
short_name: PRODUCT_NAME,
description: t("Проекты, задачи и агенты"),
start_url: "/",
scope: "/",
display: "standalone",
background_color: "#0a0a0a",
theme_color: "#0a0a0a",
icons: [{ src: "/icon.svg", sizes: "any", type: "image/svg+xml", purpose: "any" }],
};
}