Extract navbar and footer into shared header.html and footer.html partials
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,3 @@
|
|||||||
|
<footer class="footer footer-center bg-base-300 text-base-content p-4">
|
||||||
|
<p>© 2026 Gateway Gamers. All rights reserved.</p>
|
||||||
|
</footer>
|
||||||
+39
@@ -0,0 +1,39 @@
|
|||||||
|
<div class="navbar bg-base-300 shadow-lg px-4">
|
||||||
|
<div class="navbar-start">
|
||||||
|
<a href="/index.html">
|
||||||
|
<img src="/images/logo.png" alt="40k Kingmaker" class="h-10 w-auto" />
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
<div class="navbar-center hidden lg:flex">
|
||||||
|
<ul class="menu menu-horizontal px-1 gap-1">
|
||||||
|
<li><a href="/index.html">Home</a></li>
|
||||||
|
<li><a href="/signups.html">Sign-ups</a></li>
|
||||||
|
<li><a href="/reporting.html">Game Reporting</a></li>
|
||||||
|
<li><a href="/stats.html">Stats</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<div class="navbar-end gap-2">
|
||||||
|
<label class="swap swap-rotate btn btn-ghost btn-circle" title="Toggle light/dark">
|
||||||
|
<input type="checkbox" class="theme-controller" value="light" />
|
||||||
|
<svg class="swap-off h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
|
<path d="M21.64 13a1 1 0 0 0-1.27-.66 8.5 8.5 0 0 1-10.71-10.71 1 1 0 0 0-1.32-1.27A10 10 0 1 0 22 14.29a1 1 0 0 0-.36-1.29z"/>
|
||||||
|
</svg>
|
||||||
|
<svg class="swap-on h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
||||||
|
<path d="M5.64 17l-.71.71a1 1 0 0 0 1.41 1.41l.71-.71A1 1 0 0 0 5.64 17zM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1zM5.64 7.05a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 0 0-1.41-1.41l-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29zM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1zm6.36-2a1 1 0 0 0-1.41 1.41l.71.71a1 1 0 0 0 1.41-1.41zM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5z"/>
|
||||||
|
</svg>
|
||||||
|
</label>
|
||||||
|
<div class="dropdown dropdown-end lg:hidden">
|
||||||
|
<label tabindex="0" class="btn btn-ghost btn-circle">
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
||||||
|
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
||||||
|
</svg>
|
||||||
|
</label>
|
||||||
|
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52">
|
||||||
|
<li><a href="/index.html">Home</a></li>
|
||||||
|
<li><a href="/signups.html">Sign-ups</a></li>
|
||||||
|
<li><a href="/reporting.html">Game Reporting</a></li>
|
||||||
|
<li><a href="/stats.html">Stats</a></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
+2
-48
@@ -8,50 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col">
|
<body class="min-h-screen flex flex-col">
|
||||||
|
|
||||||
<!-- ===== NAVBAR ===== -->
|
<div id="header"></div>
|
||||||
<div class="navbar bg-base-300 shadow-lg px-4">
|
|
||||||
<div class="navbar-start">
|
|
||||||
<a href="index.html">
|
|
||||||
<img src="/images/logo.png" alt="40k Kingmaker" class="h-10 w-auto" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-center hidden lg:flex">
|
|
||||||
<ul class="menu menu-horizontal px-1 gap-1">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-end gap-2">
|
|
||||||
<!-- Theme toggle -->
|
|
||||||
<label class="swap swap-rotate btn btn-ghost btn-circle" title="Toggle light/dark">
|
|
||||||
<input type="checkbox" class="theme-controller" value="light" />
|
|
||||||
<!-- Moon icon (dark mode) -->
|
|
||||||
<svg class="swap-off h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.64 13a1 1 0 0 0-1.27-.66 8.5 8.5 0 0 1-10.71-10.71 1 1 0 0 0-1.32-1.27A10 10 0 1 0 22 14.29a1 1 0 0 0-.36-1.29z"/>
|
|
||||||
</svg>
|
|
||||||
<!-- Sun icon (light mode) -->
|
|
||||||
<svg class="swap-on h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M5.64 17l-.71.71a1 1 0 0 0 1.41 1.41l.71-.71A1 1 0 0 0 5.64 17zM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1zM5.64 7.05a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 0 0-1.41-1.41l-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29zM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1zm6.36-2a1 1 0 0 0-1.41 1.41l.71.71a1 1 0 0 0 1.41-1.41zM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5z"/>
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<!-- Mobile menu -->
|
|
||||||
<div class="dropdown dropdown-end lg:hidden">
|
|
||||||
<label tabindex="0" class="btn btn-ghost btn-circle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ===== CAROUSEL ===== -->
|
<!-- ===== CAROUSEL ===== -->
|
||||||
<!-- Add images inside this section when ready -->
|
<!-- Add images inside this section when ready -->
|
||||||
@@ -94,10 +51,7 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- ===== FOOTER ===== -->
|
<div id="footer"></div>
|
||||||
<footer class="footer footer-center bg-base-300 text-base-content p-4">
|
|
||||||
<p>© 2026 Gateway Gamers. All rights reserved.</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
+2
-44
@@ -8,46 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col">
|
<body class="min-h-screen flex flex-col">
|
||||||
|
|
||||||
<!-- ===== NAVBAR ===== -->
|
<div id="header"></div>
|
||||||
<div class="navbar bg-base-300 shadow-lg px-4">
|
|
||||||
<div class="navbar-start">
|
|
||||||
<a href="index.html">
|
|
||||||
<img src="/images/logo.png" alt="40k Kingmaker" class="h-10 w-auto" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-center hidden lg:flex">
|
|
||||||
<ul class="menu menu-horizontal px-1 gap-1">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html" class="active">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-end gap-2">
|
|
||||||
<label class="swap swap-rotate btn btn-ghost btn-circle" title="Toggle light/dark">
|
|
||||||
<input type="checkbox" class="theme-controller" value="light" />
|
|
||||||
<svg class="swap-off h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.64 13a1 1 0 0 0-1.27-.66 8.5 8.5 0 0 1-10.71-10.71 1 1 0 0 0-1.32-1.27A10 10 0 1 0 22 14.29a1 1 0 0 0-.36-1.29z"/>
|
|
||||||
</svg>
|
|
||||||
<svg class="swap-on h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M5.64 17l-.71.71a1 1 0 0 0 1.41 1.41l.71-.71A1 1 0 0 0 5.64 17zM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1zM5.64 7.05a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 0 0-1.41-1.41l-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29zM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1zm6.36-2a1 1 0 0 0-1.41 1.41l.71.71a1 1 0 0 0 1.41-1.41zM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5z"/>
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<div class="dropdown dropdown-end lg:hidden">
|
|
||||||
<label tabindex="0" class="btn btn-ghost btn-circle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ===== MAIN CONTENT ===== -->
|
<!-- ===== MAIN CONTENT ===== -->
|
||||||
<main class="flex-1 max-w-5xl w-full mx-auto px-6 py-10">
|
<main class="flex-1 max-w-5xl w-full mx-auto px-6 py-10">
|
||||||
@@ -73,10 +34,7 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- ===== FOOTER ===== -->
|
<div id="footer"></div>
|
||||||
<footer class="footer footer-center bg-base-300 text-base-content p-4">
|
|
||||||
<p>© 2026 Gateway Gamers. All rights reserved.</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
+2
-44
@@ -8,46 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col">
|
<body class="min-h-screen flex flex-col">
|
||||||
|
|
||||||
<!-- ===== NAVBAR ===== -->
|
<div id="header"></div>
|
||||||
<div class="navbar bg-base-300 shadow-lg px-4">
|
|
||||||
<div class="navbar-start">
|
|
||||||
<a href="index.html">
|
|
||||||
<img src="/images/logo.png" alt="40k Kingmaker" class="h-10 w-auto" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-center hidden lg:flex">
|
|
||||||
<ul class="menu menu-horizontal px-1 gap-1">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html" class="active">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-end gap-2">
|
|
||||||
<label class="swap swap-rotate btn btn-ghost btn-circle" title="Toggle light/dark">
|
|
||||||
<input type="checkbox" class="theme-controller" value="light" />
|
|
||||||
<svg class="swap-off h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.64 13a1 1 0 0 0-1.27-.66 8.5 8.5 0 0 1-10.71-10.71 1 1 0 0 0-1.32-1.27A10 10 0 1 0 22 14.29a1 1 0 0 0-.36-1.29z"/>
|
|
||||||
</svg>
|
|
||||||
<svg class="swap-on h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M5.64 17l-.71.71a1 1 0 0 0 1.41 1.41l.71-.71A1 1 0 0 0 5.64 17zM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1zM5.64 7.05a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 0 0-1.41-1.41l-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29zM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1zm6.36-2a1 1 0 0 0-1.41 1.41l.71.71a1 1 0 0 0 1.41-1.41zM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5z"/>
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<div class="dropdown dropdown-end lg:hidden">
|
|
||||||
<label tabindex="0" class="btn btn-ghost btn-circle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ===== MAIN CONTENT ===== -->
|
<!-- ===== MAIN CONTENT ===== -->
|
||||||
<main class="flex-1 max-w-5xl w-full mx-auto px-6 py-10">
|
<main class="flex-1 max-w-5xl w-full mx-auto px-6 py-10">
|
||||||
@@ -73,10 +34,7 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- ===== FOOTER ===== -->
|
<div id="footer"></div>
|
||||||
<footer class="footer footer-center bg-base-300 text-base-content p-4">
|
|
||||||
<p>© 2026 Gateway Gamers. All rights reserved.</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
+20
@@ -1 +1,21 @@
|
|||||||
|
function loadHTML(file, elementId) {
|
||||||
|
fetch(file)
|
||||||
|
.then(r => r.text())
|
||||||
|
.then(html => {
|
||||||
|
document.getElementById(elementId).innerHTML = html;
|
||||||
|
if (elementId === 'header') highlightActiveNav();
|
||||||
|
})
|
||||||
|
.catch(err => console.error('Error loading:', file, err));
|
||||||
|
}
|
||||||
|
|
||||||
|
function highlightActiveNav() {
|
||||||
|
const current = location.pathname.split('/').pop() || 'index.html';
|
||||||
|
document.querySelectorAll('#header a[href]').forEach(link => {
|
||||||
|
if (link.getAttribute('href') === `/${current}`) {
|
||||||
|
link.classList.add('active');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
loadHTML('/header.html', 'header');
|
||||||
|
loadHTML('/footer.html', 'footer');
|
||||||
|
|||||||
+2
-44
@@ -8,46 +8,7 @@
|
|||||||
</head>
|
</head>
|
||||||
<body class="min-h-screen flex flex-col">
|
<body class="min-h-screen flex flex-col">
|
||||||
|
|
||||||
<!-- ===== NAVBAR ===== -->
|
<div id="header"></div>
|
||||||
<div class="navbar bg-base-300 shadow-lg px-4">
|
|
||||||
<div class="navbar-start">
|
|
||||||
<a href="index.html">
|
|
||||||
<img src="/images/logo.png" alt="40k Kingmaker" class="h-10 w-auto" />
|
|
||||||
</a>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-center hidden lg:flex">
|
|
||||||
<ul class="menu menu-horizontal px-1 gap-1">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html" class="active">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="navbar-end gap-2">
|
|
||||||
<label class="swap swap-rotate btn btn-ghost btn-circle" title="Toggle light/dark">
|
|
||||||
<input type="checkbox" class="theme-controller" value="light" />
|
|
||||||
<svg class="swap-off h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M21.64 13a1 1 0 0 0-1.27-.66 8.5 8.5 0 0 1-10.71-10.71 1 1 0 0 0-1.32-1.27A10 10 0 1 0 22 14.29a1 1 0 0 0-.36-1.29z"/>
|
|
||||||
</svg>
|
|
||||||
<svg class="swap-on h-5 w-5 fill-current" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24">
|
|
||||||
<path d="M5.64 17l-.71.71a1 1 0 0 0 1.41 1.41l.71-.71A1 1 0 0 0 5.64 17zM5 12a1 1 0 0 0-1-1H3a1 1 0 0 0 0 2h1a1 1 0 0 0 1-1zm7-7a1 1 0 0 0 1-1V3a1 1 0 0 0-2 0v1a1 1 0 0 0 1 1zM5.64 7.05a1 1 0 0 0 .7.29 1 1 0 0 0 .71-.29 1 1 0 0 0 0-1.41l-.71-.71a1 1 0 0 0-1.41 1.41zm12 .29a1 1 0 0 0 .7-.29l.71-.71a1 1 0 0 0-1.41-1.41l-.71.71a1 1 0 0 0 0 1.41 1 1 0 0 0 .71.29zM21 11h-1a1 1 0 0 0 0 2h1a1 1 0 0 0 0-2zm-9 8a1 1 0 0 0-1 1v1a1 1 0 0 0 2 0v-1a1 1 0 0 0-1-1zm6.36-2a1 1 0 0 0-1.41 1.41l.71.71a1 1 0 0 0 1.41-1.41zM12 6.5a5.5 5.5 0 1 0 5.5 5.5A5.51 5.51 0 0 0 12 6.5z"/>
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<div class="dropdown dropdown-end lg:hidden">
|
|
||||||
<label tabindex="0" class="btn btn-ghost btn-circle">
|
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="h-5 w-5" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
|
||||||
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
|
||||||
</svg>
|
|
||||||
</label>
|
|
||||||
<ul tabindex="0" class="menu menu-sm dropdown-content mt-3 z-[1] p-2 shadow bg-base-200 rounded-box w-52">
|
|
||||||
<li><a href="index.html">Home</a></li>
|
|
||||||
<li><a href="signups.html">Sign-ups</a></li>
|
|
||||||
<li><a href="reporting.html">Game Reporting</a></li>
|
|
||||||
<li><a href="stats.html">Stats</a></li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<!-- ===== MAIN CONTENT ===== -->
|
<!-- ===== MAIN CONTENT ===== -->
|
||||||
<main class="flex-1 max-w-7xl w-full mx-auto px-6 py-10">
|
<main class="flex-1 max-w-7xl w-full mx-auto px-6 py-10">
|
||||||
@@ -72,10 +33,7 @@
|
|||||||
|
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<!-- ===== FOOTER ===== -->
|
<div id="footer"></div>
|
||||||
<footer class="footer footer-center bg-base-300 text-base-content p-4">
|
|
||||||
<p>© 2026 Gateway Gamers. All rights reserved.</p>
|
|
||||||
</footer>
|
|
||||||
|
|
||||||
<script type="module" src="/src/main.js"></script>
|
<script type="module" src="/src/main.js"></script>
|
||||||
</body>
|
</body>
|
||||||
|
|||||||
Reference in New Issue
Block a user