nomadro/app/community/meetups/[id]/live/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

26 lines
743 B
TypeScript

import type { Metadata } from "next";
import { api } from "@community/lib/api";
import SiteShell from "@community/components/SiteShell";
import MeetupLiveClient from "@community/components/MeetupLiveClient";
export const metadata: Metadata = {
title: "活动直播 · nomadro",
};
export default async function MeetupLivePage({ params }: { params: Promise<{ id: string }> }) {
const { id } = await params;
const meetup = await api.getMeetup(id).catch(() => null);
const title = meetup?.title || "游民活动直播";
return (
<SiteShell showFooter={false}>
<MeetupLiveClient
meetupId={id}
title={title}
date={meetup?.date || ""}
time={meetup?.time || ""}
/>
</SiteShell>
);
}