Skip to content

Commit 047372c

Browse files
committed
forgot one
1 parent 34a81be commit 047372c

File tree

1 file changed

+8
-7
lines changed
  • frontends/ol-components/src/components/LearningResourceExpanded

1 file changed

+8
-7
lines changed

frontends/ol-components/src/components/LearningResourceExpanded/InfoSection.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,14 @@ import styled from "@emotion/styled"
33
import ISO6391 from "iso-639-1"
44
import {
55
RemixiconComponentType,
6-
RiMoneyDollarCircleFill,
76
RiBarChartFill,
8-
RiGraduationCapFill,
9-
RiGlobalLine,
107
RiTimeLine,
118
RiCalendarLine,
129
RiBookReadFill,
10+
RiPriceTag3Line,
11+
RiDashboard3Line,
12+
RiGraduationCapLine,
13+
RiTranslate2,
1314
} from "@remixicon/react"
1415
import {
1516
LearningResource,
@@ -66,7 +67,7 @@ type InfoItemConfig = {
6667
const INFO_ITEMS: InfoItemConfig = [
6768
{
6869
label: "Price:",
69-
Icon: RiMoneyDollarCircleFill,
70+
Icon: RiPriceTag3Line,
7071
selector: (resource: LearningResource, run?: LearningResourceRun) => {
7172
if (!resource || !run) {
7273
return null
@@ -84,15 +85,15 @@ const INFO_ITEMS: InfoItemConfig = [
8485

8586
{
8687
label: "Level:",
87-
Icon: RiBarChartFill,
88+
Icon: RiDashboard3Line,
8889
selector: (resource: LearningResource, run?: LearningResourceRun) => {
8990
return run?.level?.[0]?.name || null
9091
},
9192
},
9293

9394
{
9495
label: "Instructors:",
95-
Icon: RiGraduationCapFill,
96+
Icon: RiGraduationCapLine,
9697
selector: (resource: LearningResource, run?: LearningResourceRun) => {
9798
return (
9899
run?.instructors
@@ -105,7 +106,7 @@ const INFO_ITEMS: InfoItemConfig = [
105106

106107
{
107108
label: "Languages:",
108-
Icon: RiGlobalLine,
109+
Icon: RiTranslate2,
109110
selector: (resource: LearningResource, run?: LearningResourceRun) => {
110111
return run?.languages?.length
111112
? run.languages

0 commit comments

Comments
 (0)