diff --git a/client/public/logo.png b/client/public/logo.png index 121484a..2684137 100644 Binary files a/client/public/logo.png and b/client/public/logo.png differ diff --git a/client/src/components/ConnectScreen.tsx b/client/src/components/ConnectScreen.tsx index 0324cd0..13d394c 100644 --- a/client/src/components/ConnectScreen.tsx +++ b/client/src/components/ConnectScreen.tsx @@ -27,13 +27,19 @@ export default function ConnectScreen() {
{/* Logo / Brand */}
- Luxsin -

Luxsin X8

-

Controller

+
+ Luxsin +
+

+ Luxsin X8 Controller +

+
{/* Connection card */} @@ -58,7 +64,7 @@ export default function ConnectScreen() { style={{ background: "rgba(44,44,46,0.8)", border: "1px solid rgba(255,255,255,0.08)", - fontFamily: "'JetBrains Mono', monospace", + fontFamily: "inherit", }} onFocus={(e) => { e.target.style.borderColor = "rgba(0,255,246,0.4)"; e.target.style.boxShadow = "0 0 0 3px rgba(0,255,246,0.06)"; }} onBlur={(e) => { e.target.style.borderColor = "rgba(255,255,255,0.08)"; e.target.style.boxShadow = "none"; }} diff --git a/client/src/components/Layout.tsx b/client/src/components/Layout.tsx index 52c7bb1..6a8043a 100644 --- a/client/src/components/Layout.tsx +++ b/client/src/components/Layout.tsx @@ -16,21 +16,24 @@ interface LayoutProps { export default function Layout({ children, title, subtitle }: LayoutProps) { return ( -
+
{/* Global Status Bar */} -
+
{/* Desktop sidebar — hidden on mobile */}
{/* Main content area */} -
+
diff --git a/client/src/index.css b/client/src/index.css index ae14da3..86fd4bd 100644 --- a/client/src/index.css +++ b/client/src/index.css @@ -132,6 +132,23 @@ input[type="radio"]:not(:disabled) { @apply cursor-pointer; } + + /* Phones & tablets: no whole-app horizontal pan / rubber-band */ + @media (max-width: 1024px), (hover: none) and (pointer: coarse) { + html { + overflow-x: hidden; + overscroll-behavior-x: none; + } + body { + overflow-x: hidden; + overscroll-behavior-x: none; + } + #root { + overflow-x: hidden; + width: 100%; + max-width: 100%; + } + } } @layer components { diff --git a/client/src/pages/EQPage.tsx b/client/src/pages/EQPage.tsx index c6a6791..eff4d1d 100644 --- a/client/src/pages/EQPage.tsx +++ b/client/src/pages/EQPage.tsx @@ -109,6 +109,8 @@ function FreqChart({ const svgRef = useRef(null); const draggingBandRef = useRef(null); const curvePathRef = useRef(null); + const rawPathRef = useRef(null); + const equalizedPathRef = useRef(null); const [chartWidth, setChartWidth] = useState(340); const W = chartWidth; const [isBandDragging, setIsBandDragging] = useState(false); @@ -221,6 +223,14 @@ function FreqChart({ enabled: !isBandDragging, durationMs: 1350, }); + useStrokeDrawAnimation(rawPathRef, rawPathD, { + enabled: !isBandDragging && !!rawPathD, + durationMs: 1350, + }); + useStrokeDrawAnimation(equalizedPathRef, equalizedPathD, { + enabled: !isBandDragging && !!equalizedPathD, + durationMs: 1350, + }); const freqLabels = [20, 50, 100, 200, 500, 1000, 2000, 5000, 10000, 20000]; const gainLabels = [20, 15, 10, 5, 0, -5, -10, -15, -20]; @@ -337,6 +347,7 @@ function FreqChart({ {/* Raw */} {rawPathD && showRaw && (