nomadro/app/community/digital/course/[m]/[l]/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

23 lines
572 B
TypeScript

import type { Metadata } from "next";
import SiteShell from "@community/components/SiteShell";
import DigitalLessonClient from "@community/components/DigitalLessonClient";
export const metadata: Metadata = {
title: "课程 · nomadro 学院",
};
export default async function DigitalLessonPage({
params,
}: {
params: Promise<{ m: string; l: string }>;
}) {
const { m, l } = await params;
const mi = Number(m);
const li = Number(l);
return (
<SiteShell showFooter>
<DigitalLessonClient moduleIndex={mi} lessonIndex={li} />
</SiteShell>
);
}