112 lines
4.9 KiB
HTML
112 lines
4.9 KiB
HTML
<!doctype html>
|
|
<html lang="en" class="bg-bg-light">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<!-- Remove Bulma and add Tailwind -->
|
|
<script src="https://cdn.tailwindcss.com"></script>
|
|
<!-- You would typically import your tailwind config here or via a build step -->
|
|
<title>User Profile - Behind the Desk</title>
|
|
</head>
|
|
<body class="font-sans text-text-default pt-navbar-height">
|
|
<!-- Fixed Navbar -->
|
|
<nav class="fixed top-0 left-0 right-0 bg-navbar-bg border-b border-navbar-border z-10" role="navigation" aria-label="main navigation">
|
|
<div class="max-w-6xl mx-auto px-4">
|
|
<div class="flex justify-between">
|
|
<!-- Left side -->
|
|
<div class="flex">
|
|
<!-- Brand logo -->
|
|
<a href="/" class="flex items-center px-2 py-3 text-primary font-bold">
|
|
Behind the Desk
|
|
</a>
|
|
<!-- Primary Nav -->
|
|
<div class="hidden md:flex items-center">
|
|
<a href="/" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">top 🔥</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">new</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">nearby</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">past</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">ask</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">show</a>
|
|
<a href="#" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">submit</a>
|
|
</div>
|
|
</div>
|
|
<!-- Right side -->
|
|
<div class="hidden md:flex items-center">
|
|
<a href="/login.html" class="px-3 py-3 text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
|
</div>
|
|
<!-- Mobile menu button -->
|
|
<div class="md:hidden flex items-center">
|
|
<button id="mobile-menu-button" class="text-primary p-3">
|
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16"></path>
|
|
</svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- Mobile menu -->
|
|
<div id="mobile-menu" class="hidden md:hidden">
|
|
<a href="/" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">top 🔥</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">new</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">nearby</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">past</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">ask</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">show</a>
|
|
<a href="#" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">submit</a>
|
|
<a href="/login.html" class="block py-2 px-4 text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="py-4 pb-16">
|
|
<div class="max-w-md mx-auto px-4 mt-8">
|
|
<div class="mb-8">
|
|
<h2 class="text-lg text-primary mb-4">User Profile</h2>
|
|
<div class="bg-white rounded shadow">
|
|
<table class="w-full bg-gray-50 text-primary">
|
|
<tr>
|
|
<th class="text-left py-2 px-4 font-normal">Username:</th>
|
|
<td class="py-2 px-4">@username</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="text-left py-2 px-4 font-normal">Created:</th>
|
|
<td class="py-2 px-4">January 1, 2023</td>
|
|
</tr>
|
|
<tr>
|
|
<th class="text-left py-2 px-4 font-normal align-top">About:</th>
|
|
<td class="py-2 px-4">
|
|
<ul>
|
|
<li class="hover:underline cursor-pointer">Submissions: 10</li>
|
|
<li class="hover:underline cursor-pointer">Comments: 50</li>
|
|
<li class="hover:underline cursor-pointer">Favorites: 20</li>
|
|
</ul>
|
|
</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</main>
|
|
|
|
<footer class="bg-bg-footer py-8">
|
|
<div class="max-w-6xl mx-auto px-4">
|
|
<div class="mt-4 text-center">
|
|
<a href="#" class="text-text-muted mx-2 hover:underline">Privacy</a>
|
|
<a href="#" class="text-text-muted mx-2 hover:underline">Terms</a>
|
|
<a href="#" class="text-text-muted mx-2 hover:underline">Contact</a>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Mobile menu toggle script -->
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const mobileMenuButton = document.getElementById('mobile-menu-button');
|
|
const mobileMenu = document.getElementById('mobile-menu');
|
|
|
|
mobileMenuButton.addEventListener('click', () => {
|
|
mobileMenu.classList.toggle('hidden');
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |