Merge pull request #447 from getmaxun/redirect-home

feat: navigate `/`
This commit is contained in:
Karishma Shukla
2025-02-22 20:02:57 +05:30
committed by GitHub

View File

@@ -233,7 +233,9 @@ export const NavBar: React.FC<NavBarProps> = ({
<div style={{
display: 'flex',
justifyContent: 'flex-start',
}}>
cursor: 'pointer'
}}
onClick={() => navigate('/')}>
<img src={MaxunLogo} width={45} height={40} style={{ borderRadius: '5px', margin: '5px 0px 5px 15px' }} />
<div style={{ padding: '11px' }}><ProjectName mode={darkMode ? 'dark' : 'light'}>{t('navbar.project_name')}</ProjectName></div>
<Chip