fix(v2): remove nav links from dashboard header, move Map View button left

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Erik 2026-04-14 12:01:31 +02:00
parent 1e125f7653
commit 9611868266
5 changed files with 17 additions and 22 deletions

View file

@ -23,7 +23,7 @@ export default function DashboardView({ data, onViewToggle }: Props) {
return (
<Layout>
<div style={{ display: 'flex', justifyContent: 'flex-end', marginBottom: 8 }}>
<div style={{ display: 'flex', justifyContent: 'flex-start', marginBottom: 8 }}>
<button onClick={onViewToggle} className="tab-btn">Map View</button>
</div>
<GlobalStats activeChars={data.characters.size} totalKills={data.totalKills} totalRares={data.totalRares} serverHealth={data.serverHealth} />

View file

@ -9,11 +9,6 @@ export const Layout: React.FC<Props> = ({ children }) => {
<div className="dashboard">
<header className="dashboard-header">
<h1 className="dashboard-title">Mosswart Overlord</h1>
<nav className="dashboard-nav">
<a href="/" className="nav-link">Classic View</a>
<a href="/inventory.html" className="nav-link">Inventory</a>
<a href="/suitbuilder.html" className="nav-link">Suitbuilder</a>
</nav>
</header>
<main className="dashboard-main">
{children}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -5,7 +5,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mosswart Overlord v2</title>
<link rel="icon" type="image/png" href="/icons/7735.png" />
<script type="module" crossorigin src="/v2/assets/index-CzlYVWmV.js"></script>
<script type="module" crossorigin src="/v2/assets/index-DaZ3M_iW.js"></script>
<link rel="stylesheet" crossorigin href="/v2/assets/index-CyLyPOVJ.css">
</head>
<body>