Skip to content

Commit

Permalink
User profile image (#7)
Browse files Browse the repository at this point in the history
* feat: User profile Image

* fix: Package lock file update for release
  • Loading branch information
arbirali authored Dec 1, 2023
1 parent 54802de commit 3cfeb3d
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 9 deletions.
12 changes: 6 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/course-home/dates-tab/DatesTab.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const DatesTab = ({ intl }) => {
};

return (
<div className="raised-card dates-tab">
<div className="raised-card dates-tab mt-5">
<div role="heading" aria-level="1" className="heading mb-3">
{intl.formatMessage(messages.title)}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/courseware/course/Course.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ const Course = ({
<Helmet>
<title>{`${pageTitleBreadCrumbs.join(' | ')} | ${getConfig().SITE_NAME}`}</title>
</Helmet>
<div className="position-relative d-flex align-items-center course-breadcrumbs">
<div className="position-relative d-flex align-items-center course-breadcrumbs mt-5">
<CourseBreadcrumbs
courseId={courseId}
sectionId={section ? section.id : null}
Expand Down
2 changes: 1 addition & 1 deletion src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@
}

.course-tabs-navigation {
margin-bottom: 3rem;
margin-bottom: 0;

.container-xl {
max-width: 1660px;
Expand Down
2 changes: 2 additions & 0 deletions src/tab-page/TabPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ const TabPage = ({ intl, ...props }) => {
org,
start,
title,
profileImageUrl,
} = useModel('courseHomeMeta', courseId);

if (courseStatus === 'loading') {
Expand Down Expand Up @@ -78,6 +79,7 @@ const TabPage = ({ intl, ...props }) => {
courseOrg={org}
courseNumber={number}
courseTitle={title}
userProfileImage={profileImageUrl}
/>
<LoadedTabPage {...props} />
<Footer />
Expand Down

0 comments on commit 3cfeb3d

Please sign in to comment.