chore: remove home button

This commit is contained in:
ktyl 2024-07-13 01:51:10 +01:00
parent 9cac3645c9
commit 97157be747
3 changed files with 0 additions and 12 deletions

View File

@ -4,8 +4,6 @@
</head> </head>
<body> <body>
<a id="home" href="#" onclick="goToHome()">Home</a>
<div id="profile"> <div id="profile">
<h1 id="profile-name"></h1> <h1 id="profile-name"></h1>
<p id="profile-description"></p> <p id="profile-description"></p>

View File

@ -120,11 +120,6 @@ class UserProfile {
} }
function goToHome() {
updateUserProfile(null);
}
function updateUserProfile(username) { function updateUserProfile(username) {
if (userProfile != null) { if (userProfile != null) {
userProfile.hide(); userProfile.hide();

View File

@ -1,8 +1,3 @@
#home {
position: fixed;
top: 0;
left: 0;
}
/* TODO: deal with visibility when screen cuts off left side */ /* TODO: deal with visibility when screen cuts off left side */
/* TODO: how do we show the profile on mobile */ /* TODO: how do we show the profile on mobile */