Merge pull request #99 from w3irdrobot/logo-pointer

Make logo cursor a pointer
This commit is contained in:
Kieran 2023-01-20 10:17:09 +00:00 committed by GitHub
commit fa1d8187c6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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>
)
}
}