Files
project-behind-the-desk/user.html
T

111 lines
3.3 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" href="node_modules/bulma/css/bulma.min.css">
<link rel="stylesheet" href="dist/styles.css">
<title>User Profile - Behind the Desk</title>
<style>
.hover-underline:hover {
text-decoration: underline;
}
.table.is-light {
background-color: #f5f5f5; /* Light background color */
border: none; /* Remove table borders */
color: #38315f; /* Set text color */
}
.table.is-light th, .table.is-light td {
border: none; /* Remove cell borders */
}
</style>
</head>
<body>
<nav class="navbar is-fixed-top" role="navigation" aria-label="main navigation">
<div class="container">
<div class="navbar-brand">
<a class="navbar-item has-text-weight-bold" href="/">
Behind the Desk
</a>
<a role="button" class="navbar-burger" aria-label="menu" aria-expanded="false" data-target="navbarBasicExample">
<span aria-hidden="true"></span><span aria-hidden="true"></span><span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item" href="/">top 🔥</a>
<a class="navbar-item" href="#">new</a>
<a class="navbar-item" href="#">nearby</a>
<a class="navbar-item" href="#">past</a>
<a class="navbar-item" href="#">ask</a>
<a class="navbar-item" href="#">show</a>
<a class="navbar-item" href="#">submit</a>
</div>
<div class="navbar-end">
<div class="navbar-item">
<a href="/login.html">login</a>
</div>
</div>
</div>
</div>
</nav>
<main class="section main-content">
<div class="container login-container">
<div class="form-section">
<h2>User Profile</h2>
<div class="user-profile">
<table class="table is-light">
<tr>
<th>Username:</th>
<td>@username</td>
</tr>
<tr>
<th>Created:</th>
<td>January 1, 2023</td>
</tr>
<tr>
<th>About:</th>
<td>
<ul>
<li class="hover-underline">Submissions: 10</li>
<li class="hover-underline">Comments: 50</li>
<li class="hover-underline">Favorites: 20</li>
</ul>
</td>
</tr>
</table>
</div>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<div class="footer-menu">
<a href="#">Privacy</a>
<a href="#">Terms</a>
<a href="#">Contact</a>
</div>
</div>
</footer>
<!-- Simple script to toggle mobile menu -->
<script>
document.addEventListener('DOMContentLoaded', () => {
const $navbarBurgers = Array.prototype.slice.call(document.querySelectorAll('.navbar-burger'), 0);
if ($navbarBurgers.length > 0) {
$navbarBurgers.forEach(el => {
el.addEventListener('click', () => {
const target = el.dataset.target;
const $target = document.getElementById(target);
el.classList.toggle('is-active');
$target.classList.toggle('is-active');
});
});
}
});
</script>
</body>
</html>