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:
2026-08-26 08:39:57 +07:00
parent 2c1e163608
commit 64fc713440
4 changed files with 33 additions and 33 deletions
+1 -1
View File
@@ -76,7 +76,7 @@ if (typeof window !== "undefined") {
});
}
export function SagiAvatar({ mood, reducedMotion, size = 90 }: SagiAvatarProps) {
export function SagiAvatar({ mood, reducedMotion, size = 68 }: SagiAvatarProps) {
const rootRef = useRef<SVGSVGElement | null>(null);
const rafRef = useRef<number>();
const [pupil, setPupil] = useState({ x: 0, y: 0 });
@@ -74,7 +74,7 @@ import { sagiPrefs, type SagiPos } from "./prefs";
import type { PointerEvent as ReactPointerEvent } from "react";
// Avatar footprint + edge gap, in px. SIZE matches SagiAvatar's default size.
export const SAGI_SIZE = 90;
export const SAGI_SIZE = 68;
export const SAGI_MARGIN = 16;
const DRAG_THRESHOLD = 5;