nomadro/app/community/digital/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

21 lines
616 B
TypeScript

import type { Metadata } from "next";
import { api } from "@community/lib/api";
import SiteShell from "@community/components/SiteShell";
import DigitalHomeClient from "@community/components/DigitalHomeClient";
export const metadata: Metadata = {
title: "数字游民学院 · nomadro",
description: "课程、电子书与远程岗位 —— nomadro 数字游民成长站。",
};
export const revalidate = 300;
export default async function DigitalPage() {
const course = await api.getDigitalCourse();
return (
<SiteShell showFooter>
<DigitalHomeClient course={course} />
</SiteShell>
);
}