File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ import {
2727 GitHub ,
2828 Update ,
2929 Close ,
30- Language ,
3130 Description ,
3231 LightMode ,
33- DarkMode
32+ DarkMode ,
33+ Translate
3434} from "@mui/icons-material" ;
3535import { useNavigate } from 'react-router-dom' ;
3636import { AuthContext } from '../../context/auth' ;
@@ -233,7 +233,7 @@ export const NavBar: React.FC<NavBarProps> = ({
233233 cursor : 'pointer'
234234 } }
235235 onClick = { ( ) => navigate ( '/' ) } >
236- < img src = { MaxunLogo } width = { 45 } height = { 40 } style = { { borderRadius : '5px' , margin : '5px 0px 5px 15px' } } />
236+ < img src = { MaxunLogo } width = { 48 } height = { 40 } style = { { borderRadius : '5px' , margin : '5px 0px 5px 15px' } } />
237237 < div style = { { padding : '11px' } } > < ProjectName mode = { darkMode ? 'dark' : 'light' } > { t ( 'navbar.project_name' ) } </ ProjectName > </ div >
238238 < Chip
239239 label = { `${ currentVersion } ` }
@@ -391,7 +391,7 @@ export const NavBar: React.FC<NavBarProps> = ({
391391 < Logout sx = { { marginRight : '5px' } } /> { t ( 'navbar.menu_items.logout' ) }
392392 </ MenuItem >
393393 < MenuItem onClick = { handleLangMenuOpen } >
394- < Language sx = { { marginRight : '5px' } } /> { t ( 'navbar.menu_items.language' ) }
394+ < Translate sx = { { marginRight : '5px' } } /> { t ( 'navbar.menu_items.language' ) }
395395 </ MenuItem >
396396 < hr />
397397 < MenuItem onClick = { ( ) => {
@@ -513,10 +513,10 @@ export const NavBar: React.FC<NavBarProps> = ({
513513 alignItems : "center" ,
514514 borderRadius : "5px" ,
515515 padding : "8px" ,
516- marginRight : "8px " ,
516+ marginRight : "4px " ,
517517 } }
518518 >
519- < Language sx = { { marginRight : '5px' } } /> < Typography variant = "body1" > { t ( "Language" ) } </ Typography >
519+ < Translate / >
520520 </ IconButton >
521521 < Menu
522522 anchorEl = { langAnchorEl }
You can’t perform that action at this time.
0 commit comments