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>
20 lines
537 B
TypeScript
20 lines
537 B
TypeScript
import type { Metadata } from "next";
|
|
import { api } from "@community/lib/api";
|
|
import SiteShell from "@community/components/SiteShell";
|
|
import DigitalCourseClient from "@community/components/DigitalCourseClient";
|
|
|
|
export const metadata: Metadata = {
|
|
title: "课程目录 · nomadro 学院",
|
|
};
|
|
|
|
export const revalidate = 300;
|
|
|
|
export default async function DigitalCoursePage() {
|
|
const course = await api.getDigitalCourse();
|
|
return (
|
|
<SiteShell showFooter>
|
|
<DigitalCourseClient course={course} />
|
|
</SiteShell>
|
|
);
|
|
}
|