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>
19 lines
537 B
TypeScript
19 lines
537 B
TypeScript
import type { Metadata } from "next";
|
|
import SiteShell from "@community/components/SiteShell";
|
|
import VideosClient from "@community/components/VideosClient";
|
|
import { api } from "@community/lib/api";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "游民访谈 · nomadro",
|
|
description: "数字游民真实旅居访谈与实录",
|
|
};
|
|
|
|
export default async function VideosPage() {
|
|
const videos = await api.getVideos().catch(() => []);
|
|
return (
|
|
<SiteShell showFooter>
|
|
<VideosClient videos={videos} />
|
|
</SiteShell>
|
|
);
|
|
}
|