chore(frontend): change href tag to nextjs link
This commit is contained in:
parent
6e3bc8dcfc
commit
b6120ab23a
|
|
@ -5,6 +5,7 @@ import { withAuthGuard } from 'src/hocs/with-auth-guard';
|
||||||
import { SideNav } from './side-nav';
|
import { SideNav } from './side-nav';
|
||||||
import { TopNav } from './top-nav';
|
import { TopNav } from './top-nav';
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
|
import { Link } from '@mui/material';
|
||||||
|
|
||||||
const SIDE_NAV_WIDTH = 280;
|
const SIDE_NAV_WIDTH = 280;
|
||||||
|
|
||||||
|
|
@ -64,7 +65,7 @@ export const Layout = withAuthGuard((props) => {
|
||||||
right:"5px",
|
right:"5px",
|
||||||
cursor:"pointer"
|
cursor:"pointer"
|
||||||
}}>
|
}}>
|
||||||
<a href='https://github.com/OktopUSP/oktopus' target='blank'>
|
<Link href='https://github.com/OktopUSP/oktopus' target='blank'>
|
||||||
<Image
|
<Image
|
||||||
alt="github logo"
|
alt="github logo"
|
||||||
src="/assets/general/github-mark.png"
|
src="/assets/general/github-mark.png"
|
||||||
|
|
@ -72,7 +73,7 @@ export const Layout = withAuthGuard((props) => {
|
||||||
height="30"
|
height="30"
|
||||||
>
|
>
|
||||||
</Image>
|
</Image>
|
||||||
</a>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
</LayoutRoot>
|
</LayoutRoot>
|
||||||
</>
|
</>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user