Similar navbar code applied to all existing pages
This commit is contained in:
1 parent
fcdaca9e8b
commit
1a4ae3a460
6 files changed
+45
-47
No files matched your search
+1
-1
@@ -52,7 +52,7 @@
|
|||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-xl mx-auto px-4 mt-8">
|
<div class="max-w-screen-lg mx-auto px-4 mt-8">
|
||||||
<div class="bg-rules-bg p-4 rounded mb-4 text-primary">
|
<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>
|
<p><strong>Quick Tips:</strong> Keep it brief, keep it real. Share your desk moments, finds, or frustrations. Upvote what resonates!</p>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+7
-6
@@ -8,14 +8,14 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="font-sans text-text-default pt-navbar-height">
|
<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">
|
<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="container mx-auto px-4">
|
<div class="max-w-screen-lg mx-auto px-4">
|
||||||
<div class="flex justify-between items-center">
|
<div class="flex justify-between">
|
||||||
<div class="flex items-center">
|
<div class="flex">
|
||||||
<a class="py-4 px-3 font-bold text-primary" href="/">
|
<a class="py-4 px-3 font-bold text-primary" href="/">
|
||||||
Behind the Desk
|
Behind the Desk
|
||||||
</a>
|
</a>
|
||||||
<div class="hidden md:flex">
|
<div class="hidden md:flex">
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile menu button -->
|
||||||
<div class="md:hidden flex items-center">
|
<div class="md:hidden flex items-center">
|
||||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
@@ -37,8 +38,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile Menu -->
|
||||||
<div id="mobileMenu" class="hidden md:hidden">
|
<div id="mobileMenu" class="hidden md:hidden">
|
||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<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="#">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="#">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="#">past</a>
|
||||||
@@ -48,7 +50,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-md mx-auto px-4 mt-8">
|
<div class="max-w-md mx-auto px-4 mt-8">
|
||||||
|
|
||||||
|
|||||||
@@ -50,7 +50,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-xl mx-auto px-4 mt-8">
|
<div class="max-w-xl mx-auto px-4 mt-8">
|
||||||
<!-- Filter Container -->
|
<!-- Filter Container -->
|
||||||
|
|||||||
+15
-11
@@ -7,13 +7,15 @@
|
|||||||
<link href="/src/styles.css" rel="stylesheet">
|
<link href="/src/styles.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans text-text-default pt-navbar-height">
|
<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">
|
<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="max-w-screen-lg mx-auto px-4">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
<a class="py-4 px-3 font-bold text-primary" href="/">Behind the Desk</a>
|
<a class="py-4 px-3 font-bold text-primary" href="/">
|
||||||
|
Behind the Desk
|
||||||
|
</a>
|
||||||
<div class="hidden md:flex">
|
<div class="hidden md:flex">
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||||
@@ -27,6 +29,7 @@
|
|||||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile menu button -->
|
||||||
<div class="md:hidden flex items-center">
|
<div class="md:hidden flex items-center">
|
||||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
@@ -35,8 +38,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile Menu -->
|
||||||
<div id="mobileMenu" class="hidden md:hidden">
|
<div id="mobileMenu" class="hidden md:hidden">
|
||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<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="#">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="#">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="#">past</a>
|
||||||
@@ -45,9 +49,9 @@
|
|||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-xl mx-auto px-4 mt-8">
|
<div class="max-w-xl mx-auto px-4 mt-8">
|
||||||
<article class="flex">
|
<article class="flex">
|
||||||
<div class="mr-2">
|
<div class="mr-2">
|
||||||
@@ -269,9 +273,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<p>
|
<p>
|
||||||
Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
|
Seen something today? Don't let it go to waste. <a href="#" class="text-primary hover:underline">Submit it</a>.
|
||||||
@@ -286,9 +290,9 @@
|
|||||||
<input type="text" placeholder="Search..." class="px-3 py-2 border border-gray-300 rounded w-48">
|
<input type="text" placeholder="Search..." class="px-3 py-2 border border-gray-300 rounded w-48">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const menuButton = document.getElementById('menuButton');
|
const menuButton = document.getElementById('menuButton');
|
||||||
const mobileMenu = document.getElementById('mobileMenu');
|
const mobileMenu = document.getElementById('mobileMenu');
|
||||||
@@ -299,6 +303,6 @@
|
|||||||
menuButton.setAttribute('aria-expanded', !expanded);
|
menuButton.setAttribute('aria-expanded', !expanded);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
+12
-10
@@ -7,7 +7,7 @@
|
|||||||
<link href="/src/styles.css" rel="stylesheet">
|
<link href="/src/styles.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans text-text-default pt-navbar-height">
|
<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">
|
<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="max-w-screen-lg mx-auto px-4">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
Behind the Desk
|
Behind the Desk
|
||||||
</a>
|
</a>
|
||||||
<div class="hidden md:flex">
|
<div class="hidden md:flex">
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile menu button -->
|
||||||
<div class="md:hidden flex items-center">
|
<div class="md:hidden flex items-center">
|
||||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
@@ -37,8 +38,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile Menu -->
|
||||||
<div id="mobileMenu" class="hidden md:hidden">
|
<div id="mobileMenu" class="hidden md:hidden">
|
||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<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="#">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="#">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="#">past</a>
|
||||||
@@ -47,9 +49,9 @@
|
|||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-md mx-auto px-4 mt-8">
|
<div class="max-w-md mx-auto px-4 mt-8">
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h2 class="text-lg mb-4 text-primary">Submit a Post</h2>
|
<h2 class="text-lg mb-4 text-primary">Submit a Post</h2>
|
||||||
@@ -75,9 +77,9 @@
|
|||||||
</form>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
||||||
<div class="max-w-screen-lg mx-auto">
|
<div class="max-w-screen-lg mx-auto">
|
||||||
<div class="mt-4 text-sm">
|
<div class="mt-4 text-sm">
|
||||||
<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">Privacy</a>
|
||||||
@@ -85,9 +87,9 @@
|
|||||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Contact</a>
|
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Contact</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const menuButton = document.getElementById('menuButton');
|
const menuButton = document.getElementById('menuButton');
|
||||||
const mobileMenu = document.getElementById('mobileMenu');
|
const mobileMenu = document.getElementById('mobileMenu');
|
||||||
@@ -98,6 +100,6 @@
|
|||||||
menuButton.setAttribute('aria-expanded', !expanded);
|
menuButton.setAttribute('aria-expanded', !expanded);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
@@ -7,7 +7,7 @@
|
|||||||
<link href="/src/styles.css" rel="stylesheet">
|
<link href="/src/styles.css" rel="stylesheet">
|
||||||
</head>
|
</head>
|
||||||
<body class="font-sans text-text-default pt-navbar-height">
|
<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">
|
<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="max-w-screen-lg mx-auto px-4">
|
||||||
<div class="flex justify-between">
|
<div class="flex justify-between">
|
||||||
<div class="flex">
|
<div class="flex">
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
Behind the Desk
|
Behind the Desk
|
||||||
</a>
|
</a>
|
||||||
<div class="hidden md:flex">
|
<div class="hidden md:flex">
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary font-semibold" href="#">top 🔥</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">new</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">nearby</a>
|
||||||
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
<a class="py-4 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">past</a>
|
||||||
@@ -29,6 +29,7 @@
|
|||||||
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
<a href="/login.html" class="text-primary hover:bg-opacity-5 hover:bg-primary">login</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile menu button -->
|
||||||
<div class="md:hidden flex items-center">
|
<div class="md:hidden flex items-center">
|
||||||
<button id="menuButton" class="text-primary p-3" aria-label="menu" aria-expanded="false">
|
<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">
|
<svg class="w-6 h-6" fill="none" stroke="currentColor" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg">
|
||||||
@@ -37,8 +38,9 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- Mobile Menu -->
|
||||||
<div id="mobileMenu" class="hidden md:hidden">
|
<div id="mobileMenu" class="hidden md:hidden">
|
||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="/">top 🔥</a>
|
<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="#">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="#">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="#">past</a>
|
||||||
@@ -47,9 +49,9 @@
|
|||||||
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
<a class="block py-2 px-3 text-primary hover:bg-opacity-5 hover:bg-primary" href="#">submit</a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</nav>
|
</nav>
|
||||||
|
|
||||||
<main class="py-4 pb-16">
|
<main class="py-4 pb-16">
|
||||||
<div class="max-w-md mx-auto px-4 mt-8">
|
<div class="max-w-md mx-auto px-4 mt-8">
|
||||||
<div class="mb-8">
|
<div class="mb-8">
|
||||||
<h2 class="text-lg mb-4 text-primary">User Profile</h2>
|
<h2 class="text-lg mb-4 text-primary">User Profile</h2>
|
||||||
@@ -77,19 +79,9 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer class="bg-gray-200 py-8 px-6 text-text-muted">
|
<script>
|
||||||
<div class="max-w-screen-lg mx-auto">
|
|
||||||
<div class="mt-4 text-sm">
|
|
||||||
<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">Terms</a>
|
|
||||||
<a href="#" class="text-text-muted mx-2 no-underline hover:underline">Contact</a>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<script>
|
|
||||||
document.addEventListener('DOMContentLoaded', () => {
|
document.addEventListener('DOMContentLoaded', () => {
|
||||||
const menuButton = document.getElementById('menuButton');
|
const menuButton = document.getElementById('menuButton');
|
||||||
const mobileMenu = document.getElementById('mobileMenu');
|
const mobileMenu = document.getElementById('mobileMenu');
|
||||||
@@ -100,6 +92,6 @@
|
|||||||
menuButton.setAttribute('aria-expanded', !expanded);
|
menuButton.setAttribute('aria-expanded', !expanded);
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
Reference in new issue
Block a user