@@ -24,6 +24,11 @@ import { HealthStatus, fetchHealthStatus } from "../slices/healthSlice";
24
24
import { UserInfoState } from "../slices/userInfoSlice" ;
25
25
import { Tooltip } from "./shared/Tooltip" ;
26
26
import { HiTranslate } from "react-icons/hi" ;
27
+ import {
28
+ FaVideo ,
29
+ FaPlayCircle ,
30
+ FaBell
31
+ } from "react-icons/fa" ;
27
32
import { IconContext } from "react-icons" ;
28
33
29
34
// Get code, flag and name of the current language
@@ -182,13 +187,8 @@ const Header = ({
182
187
! ! orgProperties [ "org.opencastproject.admin.mediamodule.url" ] && (
183
188
< Tooltip title = { t ( "MEDIAMODULE" ) } >
184
189
< div className = "nav-dd" >
185
- < a
186
- href = {
187
- orgProperties [ "org.opencastproject.admin.mediamodule.url" ]
188
- }
189
- target = "_blank" rel = "noreferrer"
190
- >
191
- < span className = "fa fa-play-circle" />
190
+ < a href = { orgProperties [ "org.opencastproject.admin.mediamodule.url" ] } target = "_blank" rel = "noreferrer" >
191
+ < FaPlayCircle />
192
192
</ a >
193
193
</ div >
194
194
</ Tooltip >
@@ -199,7 +199,7 @@ const Header = ({
199
199
< Tooltip title = "Studio" >
200
200
< div className = "nav-dd" >
201
201
< a href = { studioURL } target = "_blank" rel = "noreferrer" >
202
- < span className = "fa fa-video-camera" />
202
+ < FaVideo />
203
203
</ a >
204
204
</ div >
205
205
</ Tooltip >
@@ -208,13 +208,11 @@ const Header = ({
208
208
{ /* System warnings and notifications */ }
209
209
{ hasAccess ( "ROLE_ADMIN" , user ) && (
210
210
< Tooltip title = { t ( "SYSTEM_NOTIFICATIONS" ) } >
211
- < div
212
- className = "nav-dd info-dd"
213
- id = "info-dd"
214
- ref = { containerNotify }
215
- >
211
+ < div className = "nav-dd info-dd" id = "info-dd" ref = { containerNotify } >
216
212
< div onClick = { ( ) => setMenuNotify ( ! displayMenuNotify ) } >
217
- < i className = "fa fa-bell" aria-hidden = "true" />
213
+ < IconContext . Provider value = { { attr : { "aria-hidden" : true } } } >
214
+ < FaBell />
215
+ </ IconContext . Provider >
218
216
{ errorCounter !== 0 && (
219
217
< span id = "error-count" className = "badge" >
220
218
{ errorCounter }
0 commit comments