Make logo cursor a pointer

This commit is contained in:
w3irdrobot 2023-01-19 18:19:09 -05:00
parent aa0f849d09
commit ad1c3ffbe1
No known key found for this signature in database
GPG Key ID: 3F202DDAA711CD61
2 changed files with 7 additions and 3 deletions

View File

@ -1,3 +1,7 @@
.logo {
cursor: pointer;
}
.unread-count {
width: 20px;
height: 20px;
@ -12,4 +16,4 @@
background-color: var(--error);
font-weight: bold;
text-align: center;
}
}

View File

@ -87,7 +87,7 @@ export default function Layout() {
return (
<div className="page">
<div className="header">
<div onClick={() => navigate("/")}>snort</div>
<div className="logo" onClick={() => navigate("/")}>snort</div>
<div>
{key ? accountHeader() :
<div className="btn" onClick={() => navigate("/login")}>Login</div>
@ -98,4 +98,4 @@ export default function Layout() {
<Outlet />
</div>
)
}
}