Skip to content

Commit 26b19ea

Browse files
chore: add slot for extra content on learning
1 parent 3a35c46 commit 26b19ea

File tree

2 files changed

+2
-15
lines changed

2 files changed

+2
-15
lines changed

shell/header/course-navigation-bar/CourseTabsNavigation.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { useQuery } from '@tanstack/react-query';
2-
import { useIntl } from '../../../runtime';
2+
import { Slot, useIntl } from '../../../runtime';
33
import classNames from 'classnames';
44
import { getCourseHomeCourseMetadata } from './data/service';
55
import { Tab, Tabs } from '@openedx/paragon';
@@ -71,12 +71,7 @@ const CourseTabsNavigation = () => {
7171
))}
7272
</Tabs>
7373
</div>
74-
{/* <div className="search-toggle">
75-
<CoursewareSearchToggle />
76-
</div>
77-
</div>
78-
</div>
79-
{show && <CoursewareSearch />} */}
74+
<Slot id="org.openedx.frontend.slot.header.courseNavigationBar.extraContent.v1" />
8075
</div>
8176
</div>
8277
</div>

shell/header/course-navigation-bar/course-tabs-navigation.scss

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,6 @@
11
.course-tabs-navigation {
2-
position: relative;
32
border-bottom: 2px solid rgb(232.5, 229.5, 228); // var(--pgn-color-nav-tabs-base-border-base)
43

5-
.search-toggle {
6-
flex-grow: 0;
7-
text-align: right;
8-
white-space: nowrap;
9-
margin-bottom: 10px;
10-
}
11-
124
.nav-tabs {
135
border-bottom: none;
146
}

0 commit comments

Comments
 (0)