feat: make learnhouse settings logo clickable

This commit is contained in:
swve 2023-04-13 22:59:45 +02:00
parent f3aee68a99
commit bd5a8359ee

View file

@ -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',
}
})