mirror of
https://github.com/AmanTahiliani/box-box.git
synced 2026-08-07 19:56:18 -04:00
New /api/v1/championship/hub endpoint aggregates official standings with wins, podiums, poles, recent form, teammate head-to-head, and per-round cumulative points. ChampionshipPage renders drivers, constructors, and progression views. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
34 lines
998 B
TypeScript
34 lines
998 B
TypeScript
import { Link } from '@tanstack/react-router'
|
|
|
|
export function Nav() {
|
|
return (
|
|
<nav className="app-nav">
|
|
<Link to="/" className="nav-logo">
|
|
box<em>-</em>box
|
|
</Link>
|
|
<div className="nav-links">
|
|
<Link to="/" activeProps={{ className: 'active' }} activeOptions={{ exact: true }}>
|
|
Command
|
|
</Link>
|
|
<Link to="/live" activeProps={{ className: 'active' }}>
|
|
Live
|
|
</Link>
|
|
<Link to="/race-hub" search={{}} activeProps={{ className: 'active' }}>
|
|
Race Hub
|
|
</Link>
|
|
<Link to="/championship" activeProps={{ className: 'active' }}>
|
|
Championship
|
|
</Link>
|
|
<Link to="/briefing" activeProps={{ className: 'active' }}>
|
|
Briefing
|
|
</Link>
|
|
</div>
|
|
<div className="nav-utility">
|
|
<Link to="/admin" className="nav-utility-link" activeProps={{ className: 'nav-utility-link active' }}>
|
|
Admin
|
|
</Link>
|
|
</div>
|
|
</nav>
|
|
)
|
|
}
|