fix(dashboard): swap Analytics/Monitor tab order, shrink Sagi avatar size
Sagi avatar 90->68px, tab buttons render Analytics before Monitor.
This commit is contained in:
@@ -2554,16 +2554,6 @@ export function Dashboard() {
|
||||
<div className="flex items-center gap-3">
|
||||
{/* Tabs */}
|
||||
<div className="flex bg-surface-2 rounded-lg p-0.5 border border-border">
|
||||
<button
|
||||
onClick={() => setActiveTab("monitor")}
|
||||
className={`px-2.5 py-1.5 rounded-md text-xs font-medium transition-all flex items-center gap-2 ${
|
||||
activeTab === "monitor"
|
||||
? "bg-accent/15 text-accent shadow-sm"
|
||||
: "text-fg-muted hover:text-fg-secondary"
|
||||
}`}
|
||||
>
|
||||
<Activity className="w-3.5 h-3.5" /> Monitor
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setActiveTab("analytics")}
|
||||
className={`px-2.5 py-1.5 rounded-md text-xs font-medium transition-all flex items-center gap-2 ${
|
||||
@@ -2574,6 +2564,16 @@ export function Dashboard() {
|
||||
>
|
||||
<BarChart3 className="w-3.5 h-3.5" /> Analytics
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setActiveTab("monitor")}
|
||||
className={`px-2.5 py-1.5 rounded-md text-xs font-medium transition-all flex items-center gap-2 ${
|
||||
activeTab === "monitor"
|
||||
? "bg-accent/15 text-accent shadow-sm"
|
||||
: "text-fg-muted hover:text-fg-secondary"
|
||||
}`}
|
||||
>
|
||||
<Activity className="w-3.5 h-3.5" /> Monitor
|
||||
</button>
|
||||
<button
|
||||
onClick={() => setActiveTab("health")}
|
||||
className={`px-2.5 py-1.5 rounded-md text-xs font-medium transition-all flex items-center gap-2 ${
|
||||
|
||||
Reference in New Issue
Block a user