338 lines
19 KiB
HTML
338 lines
19 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" />
|
|
<title>Behind the Desk</title>
|
|
<link href="/src/styles.css" rel="stylesheet">
|
|
</head>
|
|
<body class="font-sans text-text-default pt-navbar-height">
|
|
<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-screen-lg mx-auto px-4">
|
|
<div class="flex justify-between">
|
|
<div class="flex">
|
|
<a class="py-2 px-3 font-bold text-primary" href="/">
|
|
Behind the Desk
|
|
</a>
|
|
<div class="hidden md:flex">
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
|
<a class="py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
|
</div>
|
|
</div>
|
|
<div class="flex items-center">
|
|
<div class="py-2 px-3">
|
|
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
|
</div>
|
|
</div>
|
|
<!-- Mobile menu button -->
|
|
<div class="md:hidden flex items-center">
|
|
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
|
<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>
|
|
<!-- Mobile Menu -->
|
|
<div id="mobileMenu" class="hidden md:hidden">
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">ask</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">show</a>
|
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<main class="max-w-screen-lg mx-auto py-4 pb-16 bg-bg-footer">
|
|
<div class="px-4 mt-8">
|
|
<div class="bg-rules-bg p-4 rounded mb-4 text-primary">
|
|
<p><strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!</p>
|
|
</div>
|
|
|
|
<div class="post-list">
|
|
<!-- Post 1 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">1.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">[Ask] The saga of the disappearing ergonomic chair continues.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@deskdetective</small>
|
|
<small class="text-text-muted ml-2 text-xs">1h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">12 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 2 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">2.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Found the perfect focus playlist.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@flowstatefiend</small>
|
|
<small class="text-text-muted ml-2 text-xs">3h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">5 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 3 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">3.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">Overheard near the coffee machine...</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xd hover:underline">@wallflower</small>
|
|
<small class="text-text-muted ml-2 text-xs">5h ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">8 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 4 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">4.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">My standing desk setup 📸</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@setupstylist</small>
|
|
<small class="text-text-muted ml-2 text-xs">1d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">20 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 5 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">5.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best coffee shops in town.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@coffeelover</small>
|
|
<small class="text-text-muted ml-2 text-xs">2d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">15 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 6 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">6.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">How to stay productive while working from home.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@homeoffice</small>
|
|
<small class="text-text-muted ml-2 text-xs">3d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">10 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 7 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">7.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The art of desk organization.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@organizer</small>
|
|
<small class="text-text-muted ml-2 text-xs">4d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">25 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 8 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">8.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best ergonomic accessories for your desk.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@ergonomics</small>
|
|
<small class="text-text-muted ml-2 text-xs">5d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">30 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 9 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">9.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best books for productivity.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@bookworm</small>
|
|
<small class="text-text-muted ml-2 text-xs">6d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">18 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
|
|
<!-- Post 10 -->
|
|
<div class="mb-2">
|
|
<article class="flex">
|
|
<div class="flex items-start mt-1 mr-2">
|
|
<span class="text-text-muted text-sm mr-1">10.</span>
|
|
<a href="#" class="text-text-muted no-underline text-sm hover:text-link-hover" title="Upvote">▲</a>
|
|
</div>
|
|
<div class="flex-1 text-left">
|
|
<div>
|
|
<p class="mt-0">
|
|
<strong><a href="#" class="text-text-title font-normal text-base hover:underline">The best tools for remote work.</a></strong>
|
|
</p>
|
|
|
|
<!-- Post title header -->
|
|
<div class="mt-0.5 mb-2 text-sm flex items-center">
|
|
<small class="text-text-muted text-xs hover:underline">@remoteworker</small>
|
|
<small class="text-text-muted ml-2 text-xs">7d ago | <a href="#" class="ml-2 text-xs text-primary hover:underline">report</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">next</a> | <a href="#" class="ml-2 text-xs text-primary hover:underline">22 comments</a></small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</article>
|
|
</div>
|
|
</div> <!-- End post-list -->
|
|
|
|
<!-- More Link Section -->
|
|
<div class="mt-4 flex justify-start">
|
|
<a href="#" class="text-primary hover:underline">More</a>
|
|
</div>
|
|
|
|
</div> <!-- End container -->
|
|
</main>
|
|
|
|
<!-- Floating Action Button for Mobile -->
|
|
<button class="fixed bottom-4 right-4 bg-primary text-white rounded-full p-3 shadow-lg md:hidden hover:bg-primary-dark focus:outline-none focus:ring-2 focus:ring-primary focus:ring-opacity-50">
|
|
+ Share
|
|
</button>
|
|
|
|
<footer class="max-w-screen-lg mx-auto bg-bg-footer py-8 px-6 text-text-muted border-t border-navbar-border">
|
|
<div class="text-center">
|
|
<p>
|
|
Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
|
|
</p>
|
|
<div class="mt-4 text-sm">
|
|
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Guidelines</a> |
|
|
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Tips</a> |
|
|
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Privacy</a> |
|
|
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">DMCA</a>
|
|
</div>
|
|
<div class="mt-4 text-center">
|
|
<input type="text" placeholder="Search..." class="px-3 py-2 border border-gray-300 rounded w-48 bg-bg-light text-text-default focus:outline-none focus:ring-1 focus:ring-primary">
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Script to toggle mobile menu -->
|
|
<script>
|
|
document.addEventListener('DOMContentLoaded', () => {
|
|
const menuButton = document.getElementById('menuButton');
|
|
const mobileMenu = document.getElementById('mobileMenu');
|
|
|
|
if (menuButton && mobileMenu) {
|
|
menuButton.addEventListener('click', () => {
|
|
mobileMenu.classList.toggle('hidden');
|
|
const expanded = menuButton.getAttribute('aria-expanded') === 'true';
|
|
menuButton.setAttribute('aria-expanded', !expanded);
|
|
});
|
|
}
|
|
});
|
|
</script>
|
|
</body>
|
|
</html> |