New release #275

Merged
b merged 92 commits from staging into main 2024-12-11 16:49:24 +00:00
2 changed files with 17 additions and 1 deletions
Showing only changes of commit 092bb98670 - Show all commits

View File

@ -121,7 +121,17 @@ export const AppBar = () => {
<Container>
<Toolbar className={styles.toolbar} disableGutters={true}>
<Box className={styles.logoWrapper}>
<img src="/logo.svg" alt="Logo" onClick={() => navigate('/')} />
<img
src="/logo.svg"
alt="Logo"
onClick={() => {
if (window.location.pathname === '/') {
location.reload()
} else {
navigate('/')
}
}}
/>
</Box>
<Box className={styles.rightSideBox}>

View File

@ -68,6 +68,12 @@ export const Footer = () =>
}}
component={Link}
to={'/'}
onClick={(event) => {
if (window.location.pathname === '/') {
event.preventDefault()
window.scrollTo(0, 0)
}
}}
variant={'text'}
>
Home