diff --git a/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte b/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte index 36eea0e2..3f30d65e 100644 --- a/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte +++ b/apps/dashboard/src/lib/components/CourseLandingPage/index.svelte @@ -96,22 +96,26 @@ totalRatings = reviews?.reduce((acc = 0, review) => acc + (review?.rating || 0), 0); averageRating = totalRatings / reviews?.length; } + $: { + let imgurl = get(instructor, 'imgUrl', $currentOrg.avatar_url); + console.log({ imgurl, instructor, org: $currentOrg }); + } -
+
{get(courseData, 'description', '')}
-+
{get(courseData, 'metadata.instructor.name', '')}
+
When you complete all of the courses in the program, you'll earn a Certificate to share
with your professional network.
+
{pluralize('lesson', lessons.length, true)}
+
{lesson.title}
{review.name}
+
{review.description}
{review.name}
+
{review.description}
- {get(instructor, 'name', '')}
+
+ {get(instructor, 'name', $currentOrg.name)}
+
{get(instructor, 'role', '')}
+
+
{get(instructor, 'description', '')}
Hi ${studentFullname}, You are one step closer to joining: ${courseName} Please send your proof of payment to: ${teacherEmail}, in order to join the course. You are one step closer to joining: ${courseName} Please send your proof of payment to: ${teacherEmail}, in order to join the course. Talk to you soon and see you in class. ${orgName}Certificate
+ Course Content
- Course Content
+ Reviews
+ Reviews
+
{/if}
{averageRating} Rating
-
+
{reviews.length} Ratings
Instructor
- Instructor
+