nomadro/app/community/manifest.ts
eric 9928c5185b Mount nav/book/community as native App Router routes in one Next process.
Replace reverse-proxy/iframe approach with @ebook/@community/@navmini imports under /nav /book /community so localhost:3000 serves all three products directly.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-09-28 03:49:16 -05:00

28 lines
1.1 KiB
TypeScript

import type { MetadataRoute } from "next";
export default function manifest(): MetadataRoute.Manifest {
return {
name: "nomadro",
short_name: "nomadro",
description: "Digital nomad move planning — destinations, compare, and trip plans",
start_url: "/",
scope: "/",
display: "standalone",
orientation: "any",
background_color: "#0a0e17",
theme_color: "#4ECDC4",
lang: "zh-CN",
categories: ["travel", "lifestyle", "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/icon-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" },
{ src: "/icons/icon.svg", sizes: "any", type: "image/svg+xml", purpose: "any" },
],
shortcuts: [
{ name: "Move plan / 旅居计划", short_name: "Plan", url: "/plan", icons: [{ src: "/icons/icon-192.png", sizes: "192x192" }] },
{ name: "Compare / 对比", short_name: "Compare", url: "/compare", icons: [{ src: "/icons/icon-192.png", sizes: "192x192" }] },
],
};
}