@@ -12,11 +12,11 @@ import { useLocation, useNavigate } from 'react-router-dom';
12
12
const iconStyle = { width : rem ( 18 ) , height : rem ( 18 ) } ;
13
13
14
14
const mainLinks = [
15
- { link : '/' , label : ' Dashboard' , icon : < IconHome style = { iconStyle } /> } ,
16
- { link : '/print' , label : ' Print' , icon : < IconPrinter style = { iconStyle } /> } ,
17
- { link : '/balloon' , label : ' Balloon' , icon : < IconBalloonFilled style = { iconStyle } /> } ,
18
- { link : '/monitor' , label : ' Monitor' , icon : < IconDeviceHeartMonitor style = { iconStyle } /> } ,
19
- { link : '/commands' , label : ' Commands' , icon : < IconDeviceHeartMonitor style = { iconStyle } /> } ,
15
+ { link : '/' , label : < Text visibleFrom = "md" > Dashboard</ Text > , icon : < IconHome style = { iconStyle } /> } ,
16
+ { link : '/print' , label : < Text visibleFrom = "md" > Print</ Text > , icon : < IconPrinter style = { iconStyle } /> } ,
17
+ { link : '/balloon' , label : < Text visibleFrom = "md" > Balloon</ Text > , icon : < IconBalloonFilled style = { iconStyle } /> } ,
18
+ { link : '/monitor' , label : < Text visibleFrom = "md" > Monitor</ Text > , icon : < IconDeviceHeartMonitor style = { iconStyle } /> } ,
19
+ { link : '/commands' , label : < Text visibleFrom = "md" > Commands</ Text > , icon : < IconDeviceHeartMonitor style = { iconStyle } /> } ,
20
20
] ;
21
21
22
22
export function Header ( ) {
@@ -33,11 +33,11 @@ export function Header() {
33
33
< header >
34
34
< Container size = "xl" >
35
35
< Group justify = "space-between" h = "100%" px = "md" >
36
- < Title order = { 4 } > Hydro/XCPC-TOOLS </ Title >
37
-
38
- < Group visibleFrom = "sm" >
39
- < Text > { window . Context . contest . name } </ Text >
40
- </ Group >
36
+ < Title order = { 3 } >
37
+ Hydro/XCPC-TOOLS
38
+ < Text hiddenFrom = "xl" > { window . Context . contest . id } </ Text >
39
+ < Text visibleFrom = "xl" > { window . Context . contest . name } </ Text >
40
+ </ Title >
41
41
42
42
< Group h = "100%" gap = { 0 } visibleFrom = "sm" >
43
43
< Tabs
0 commit comments