@@ -24,6 +24,7 @@ import {
|
|||||||
Clear,
|
Clear,
|
||||||
YouTube,
|
YouTube,
|
||||||
X,
|
X,
|
||||||
|
GitHub,
|
||||||
Update,
|
Update,
|
||||||
Close,
|
Close,
|
||||||
Language,
|
Language,
|
||||||
@@ -353,11 +354,20 @@ export const NavBar: React.FC<NavBarProps> = ({
|
|||||||
<MenuItem onClick={() => { handleMenuClose(); logout(); }}>
|
<MenuItem onClick={() => { handleMenuClose(); logout(); }}>
|
||||||
<Logout sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.logout')}
|
<Logout sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.logout')}
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem onClick={handleLangMenuOpen}>
|
||||||
|
<Language sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.language')}
|
||||||
|
</MenuItem>
|
||||||
|
<hr />
|
||||||
<MenuItem onClick={() => {
|
<MenuItem onClick={() => {
|
||||||
window.open('https://docs.maxun.dev', '_blank');
|
window.open('https://docs.maxun.dev', '_blank');
|
||||||
}}>
|
}}>
|
||||||
<Description sx={{ marginRight: '5px' }} /> Docs
|
<Description sx={{ marginRight: '5px' }} /> Docs
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
|
<MenuItem onClick={() => {
|
||||||
|
window.open('https://github.com/getmaxun/maxun', '_blank');
|
||||||
|
}}>
|
||||||
|
<GitHub sx={{ marginRight: '5px' }} /> GitHub
|
||||||
|
</MenuItem>
|
||||||
<MenuItem onClick={() => {
|
<MenuItem onClick={() => {
|
||||||
window.open('https://discord.gg/5GbPjBUkws', '_blank');
|
window.open('https://discord.gg/5GbPjBUkws', '_blank');
|
||||||
}}>
|
}}>
|
||||||
@@ -373,9 +383,6 @@ export const NavBar: React.FC<NavBarProps> = ({
|
|||||||
}}>
|
}}>
|
||||||
<X sx={{ marginRight: '5px' }} /> Twitter (X)
|
<X sx={{ marginRight: '5px' }} /> Twitter (X)
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
<MenuItem onClick={handleLangMenuOpen}>
|
|
||||||
<Language sx={{ marginRight: '5px' }} /> {t('navbar.menu_items.language')}
|
|
||||||
</MenuItem>
|
|
||||||
<Menu
|
<Menu
|
||||||
anchorEl={langAnchorEl}
|
anchorEl={langAnchorEl}
|
||||||
open={Boolean(langAnchorEl)}
|
open={Boolean(langAnchorEl)}
|
||||||
|
|||||||
Reference in New Issue
Block a user