Files
project-behind-the-desk/index.html
T
2025-04-25 21:46:43 +08:00

194 lines
7.0 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!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="style.css">
<title>Behind the Desk</title>
</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>
<span aria-hidden="true"></span>
</a>
</div>
<div id="navbarBasicExample" class="navbar-menu">
<div class="navbar-start">
<a class="navbar-item is-active" href="#">
top 🔥
</a>
<a class="navbar-item" href="#">
new
</a>
<a class="navbar-item" href="#">
nearby
</a>
<!-- Added 'past' menu item -->
<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="#">@handle</a>
</div>
</div>
</div>
</div>
</nav>
<main class="section main-content">
<div class="container">
<div class="rules-tips notification is-light is-info mb-4">
<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="post-item">
<article class="media">
<div class="media-left is-align-self-flex-start pt-1">
<a href="#" class="upvote-arrow" title="Upvote">▲</a>
</div>
<div class="media-content">
<div class="content">
<p>
<strong><a href="#" class="post-title">The saga of the disappearing ergonomic chair continues.</a></strong> <small class="handle">@deskdetective</small> <small class="time">1h ago</small>
</p>
</div>
<nav class="level is-mobile post-meta">
<div class="level-left">
<!-- Meta info like points could go here later -->
</div>
<div class="level-right">
<small><a href="#">5 comments</a></small>
</div>
</nav>
</div>
</article>
</div>
<!-- Post 2 -->
<div class="post-item">
<article class="media">
<div class="media-left is-align-self-flex-start pt-1">
<a href="#" class="upvote-arrow" title="Upvote">▲</a>
</div>
<div class="media-content">
<div class="content">
<p>
<strong><a href="#" class="post-title">Found the perfect focus playlist.</a></strong> <small class="handle">@flowstatefiend</small> <small class="time">3h ago</small>
</p>
</div>
<nav class="level is-mobile post-meta">
<div class="level-left"></div>
<div class="level-right">
<small><a href="#">12 comments</a></small>
</div>
</nav>
</div>
</article>
</div>
<!-- Post 3 -->
<div class="post-item">
<article class="media">
<div class="media-left is-align-self-flex-start pt-1">
<a href="#" class="upvote-arrow" title="Upvote">▲</a>
</div>
<div class="media-content">
<div class="content">
<p>
<strong><a href="#" class="post-title">Overheard near the coffee machine...</a></strong> <small class="handle">@wallflower</small> <small class="time">5h ago</small>
</p>
</div>
<nav class="level is-mobile post-meta">
<div class="level-left"></div>
<div class="level-right">
<small><a href="#">2 comments</a></small>
</div>
</nav>
</div>
</article>
</div>
<!-- Post 4 -->
<div class="post-item">
<article class="media">
<div class="media-left is-align-self-flex-start pt-1">
<a href="#" class="upvote-arrow" title="Upvote">▲</a>
</div>
<div class="media-content">
<div class="content">
<p>
<strong><a href="#" class="post-title">My standing desk setup 📸</a></strong> <small class="handle">@setupstylist</small> <small class="time">1d ago</small>
</p>
</div>
<nav class="level is-mobile post-meta">
<div class="level-left"></div>
<div class="level-right">
<small><a href="#">8 comments</a></small>
</div>
</nav>
</div>
</article>
</div>
</div> <!-- End post-list -->
<!-- More Link Section -->
<div class="more-link-section mt-4">
<a href="#">More</a>
</div>
</div> <!-- End container -->
</main>
<button class="button is-primary is-rounded floating-submit is-hidden-desktop">
+ Share
</button>
<footer class="footer">
<div class="content has-text-centered">
<p>
Seen something today? Don’t let it go to waste. <a href="#">Submit it</a>.
</p>
</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>