Skip to content

Commit fc9e6ef

Browse files
author
Rajat Saxena
committed
WIP: New course creation area mostly built
1 parent 4bb86d1 commit fc9e6ef

File tree

34 files changed

+2507
-1187
lines changed

34 files changed

+2507
-1187
lines changed

apps/web/app/(with-contexts)/dashboard/(sidebar)/product-new/[id]/content/lesson/page.tsx

Lines changed: 0 additions & 701 deletions
This file was deleted.

apps/web/app/(with-contexts)/dashboard/(sidebar)/product-new/[id]/content/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export default function ContentPage() {
287287
className="flex items-center justify-between py-2 px-3 rounded-md hover:bg-gray-50 transition-colors duration-150 ease-in-out cursor-pointer w-full"
288288
onClick={() =>
289289
router.push(
290-
`/dashboard/product-new/${productId}/content/lesson?id=${lesson.id}`,
290+
`/dashboard/product-new/${productId}/content/section/${section.id}/lesson?id=${lesson.lessonId}`,
291291
)
292292
}
293293
>
@@ -319,7 +319,7 @@ export default function ContentPage() {
319319
asChild
320320
>
321321
<Link
322-
href={`/dashboard/product-new/${productId}/content/lesson?sectionId=${section.id}`}
322+
href={`/dashboard/product-new/${productId}/content/section/${section.id}/lesson`}
323323
>
324324
<Plus className="mr-2 h-4 w-4" />
325325
{BUTTON_NEW_LESSON_TEXT}

0 commit comments

Comments
 (0)