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>
28 lines
1.1 KiB
TypeScript
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" }] },
|
|
],
|
|
};
|
|
}
|