Added login page

This commit is contained in:
Your Name committed 2025-04-27 18:23:54 +08:00
1 parent 915253161f
commit 7aef86c50c
3 files changed
+181 -232

No files matched your search

+3 -26
View File
@@ -33,7 +33,7 @@
nearby
</a>
<!-- Added 'past' menu item -->
<a class="navbar-item" href="#" id="past-button">
<a class="navbar-item" href="#">
past
</a>
<a class="navbar-item" href="#">
@@ -48,7 +48,8 @@
</div>
<div class="navbar-end">
<div class="navbar-item">
<a href="#">@handle</a>
<!-- Changed @handle to login link -->
<a href="/login.html">login</a>
</div>
</div>
</div>
@@ -61,16 +62,6 @@
<p><strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!</p>
</div>
<!-- Date Display -->
<div class="date-display mb-4">
<p>Stories from <a href="#" class="date-link">April</a> <a href="#" class="date-link">24</a>, <a href="#" class="date-link">2025</a> (UTC)</p>
</div>
<!-- Filter Section -->
<div class="filter-section">
<p>Go back a day, month, or year. Go forward a day.</p>
</div>
<div class="post-list">
<!-- Post 1 -->
<div class="post-item">
@@ -96,13 +87,6 @@
</article>
</div>
<!-- Carbon Ad -->
<div class="carbon-demo card-shadow">
<img class="carbon-img" src="../images/buysellads-carbon-example.png">
<div class="carbon-desc">This is where your "Ad Description" will render.</div>
<div class="carbon-via">ads via Carbon</div>
</div>
<!-- Post 2 -->
<div class="post-item">
<article class="media">
@@ -213,13 +197,6 @@
});
});
}
// Toggle filter section visibility
const pastButton = document.getElementById('past-button');
const filterSection = document.querySelector('.filter-section');
pastButton.addEventListener('click', () => {
filterSection.classList.toggle('hidden');
});
});
</script>
</body>