File tree Expand file tree Collapse file tree 1 file changed +23
-0
lines changed
src/app/admin/courses/[courseId]/lesson/create Expand file tree Collapse file tree 1 file changed +23
-0
lines changed Original file line number Diff line number Diff line change 1+ import React from "react" ;
2+
3+ export default function CreateLessonPage ( {
4+ params,
5+ } : {
6+ params : { courseId : string } ;
7+ } ) {
8+ return (
9+ < div className = "mx-auto w-full max-w-3xl space-y-6" >
10+ < header >
11+ < h1 className = "text-2xl font-semibold" > Create Lesson</ h1 >
12+ < p className = "text-sm text-neutral-500" >
13+ Course ID: < span className = "font-mono" > { params . courseId } </ span >
14+ </ p >
15+ </ header >
16+
17+ { /* Step 2 will replace this with the real form */ }
18+ < div className = "rounded-lg border bg-white p-6 text-sm text-neutral-600 dark:border-neutral-800 dark:bg-neutral-900 dark:text-neutral-300" >
19+ Form coming next: title, description, unit dropdown, “Create Unit” modal.
20+ </ div >
21+ </ div >
22+ ) ;
23+ }
You can’t perform that action at this time.
0 commit comments