fix(marketplace): unify header with global site header

This commit is contained in:
oib
2026-02-27 11:52:04 +01:00
parent f3ab29a981
commit db63a008f4
3 changed files with 12 additions and 17 deletions

View File

@@ -23,23 +23,7 @@ if (!app) {
app.innerHTML = `
<main>
<header class="page-header">
<nav class="page-header__nav">
<a href="/" class="back-link">← Home</a>
<a href="/explorer/">Explorer</a>
<a href="/Exchange/">Exchange</a>
</nav>
<div class="page-header-content">
<div class="page-header-title">
<h1>Marketplace Control Center</h1>
<p>Monitor available offers, submit bids, and review marketplace health at a glance.</p>
</div>
<button onclick="toggleDarkMode()" class="dark-mode-toggle" title="Toggle dark mode">
<span id="darkModeEmoji">🌙</span>
<span id="darkModeText">Dark</span>
</button>
</div>
</header>
<section class="dashboard-grid" id="stats-panel">
<article class="stat-card">

View File

@@ -555,3 +555,11 @@ body {
font-size: 0.95rem;
}
}
/* Add padding to account for the fixed global header */
main {
margin-top: 80px;
padding: 2rem;
max-width: 1200px;
margin-left: auto;
margin-right: auto;
}