From e1c6eb408e2bca9f28429e92271e600cd8ff45f9 Mon Sep 17 00:00:00 2001 From: RahatAli Date: Thu, 30 Nov 2023 16:25:35 +0500 Subject: [PATCH 1/2] feat: User profile Image --- src/course-home/dates-tab/DatesTab.jsx | 2 +- src/courseware/course/Course.jsx | 2 +- src/index.scss | 2 +- src/tab-page/TabPage.jsx | 2 ++ 4 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/course-home/dates-tab/DatesTab.jsx b/src/course-home/dates-tab/DatesTab.jsx index 634c3b1383..2b7cab6448 100644 --- a/src/course-home/dates-tab/DatesTab.jsx +++ b/src/course-home/dates-tab/DatesTab.jsx @@ -42,7 +42,7 @@ const DatesTab = ({ intl }) => { }; return ( -
+
{intl.formatMessage(messages.title)}
diff --git a/src/courseware/course/Course.jsx b/src/courseware/course/Course.jsx index 80857534a2..1d618857a4 100644 --- a/src/courseware/course/Course.jsx +++ b/src/courseware/course/Course.jsx @@ -82,7 +82,7 @@ const Course = ({ {`${pageTitleBreadCrumbs.join(' | ')} | ${getConfig().SITE_NAME}`} -
+
{ org, start, title, + profileImageUrl, } = useModel('courseHomeMeta', courseId); if (courseStatus === 'loading') { @@ -78,6 +79,7 @@ const TabPage = ({ intl, ...props }) => { courseOrg={org} courseNumber={number} courseTitle={title} + userProfileImage={profileImageUrl} />