mirror of
https://github.com/rzmk/learnhouse.git
synced 2025-12-18 20:09:25 +00:00
feat: make learnhouse settings logo clickable
This commit is contained in:
parent
f3aee68a99
commit
bd5a8359ee
1 changed files with 8 additions and 1 deletions
|
|
@ -17,7 +17,7 @@ function SettingsLayout({ children, params }: { children: React.ReactNode, param
|
|||
<LeftWrapper>
|
||||
<LeftTopArea>
|
||||
|
||||
<Image alt="Learnhouse logo" width={128} src={LearnHouseWhiteLogo}/>
|
||||
<Link href={"/"}><Image alt="Learnhouse logo" width={128} src={LearnHouseWhiteLogo}/></Link>
|
||||
{auth.isAuthenticated && (
|
||||
<Avvvatars value={auth.userInfo.user_object.user_id} style="shape" />
|
||||
)}
|
||||
|
|
@ -64,6 +64,13 @@ const LeftTopArea = styled('div', {
|
|||
|
||||
img: {
|
||||
marginRight: '20px',
|
||||
},
|
||||
|
||||
a: {
|
||||
display: 'flex',
|
||||
placeItems: 'center',
|
||||
placeContent: 'center',
|
||||
|
||||
}
|
||||
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue