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:
parent
1e125f7653
commit
9611868266
5 changed files with 17 additions and 22 deletions
|
|
@ -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} />
|
||||
|
|
|
|||
|
|
@ -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}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue