nomadro/app/community/next-stop/page.tsx
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

30 lines
848 B
TypeScript

import type { Metadata } from "next";
import { api } from "@community/lib/api";
import SiteShell from "@community/components/SiteShell";
import NextStopClient from "@community/components/NextStopClient";
export const metadata: Metadata = {
title: "下一站决策 · nomadro",
description: "根据预算、网络、气候和偏好,智能推荐下一座旅居城市与路线。",
};
export const revalidate = 60;
export default async function NextStopPage() {
const [destinations, meetups, routes] = await Promise.all([
api.getDestinations().catch(() => []),
api.getMeetups().catch(() => []),
api.getRoutes().catch(() => []),
]);
return (
<SiteShell showFooter>
<NextStopClient
destinations={destinations}
initialMeetups={meetups}
initialRoutes={routes}
/>
</SiteShell>
);
}