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>
21 lines
616 B
TypeScript
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>
|
|
);
|
|
}
|