Skip to content

Commit 3ff5e27

Browse files
committed
feature create lesson page: scaffold create lesson route with placeholder
1 parent 9bec678 commit 3ff5e27

File tree

1 file changed

+7
-9
lines changed
  • src/app/admin/courses/[courseId]/lesson/create

1 file changed

+7
-9
lines changed

src/app/admin/courses/[courseId]/lesson/create/page.tsx

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,14 @@ export default async function CreateLessonPage({
99
const { courseId } = await params;
1010

1111
return (
12-
<div className="mx-auto w-full max-w-3xl space-y-6">
13-
<header>
14-
<h1 className="text-2xl font-semibold">Create Lesson</h1>
15-
<p className="text-sm text-neutral-500">
16-
Course ID: <span className="font-mono">{courseId}</span>
17-
</p>
18-
</header>
12+
<div className="container mx-auto max-w-5xl space-y-6 p-6">
13+
<h1 className="text-2xl font-semibold tracking-tight">New Lesson</h1>
14+
<p className="text-sm text-muted-foreground">
15+
Create a lesson for course <span className="font-mono">{courseId}</span>.
16+
</p>
1917

20-
{/* placeholder */}
21-
<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">
18+
{/* Placeholder until LessonForm is added */}
19+
<div className="rounded-lg border bg-card p-6 text-sm text-foreground/80 dark:border-neutral-800">
2220
Form coming next: unit dropdown, media type, content URL/blob, create-unit modal.
2321
</div>
2422
</div>

0 commit comments

Comments
 (0)