Update project dependencies and configuration: Added ECharts for data visualization, integrated Terser for minification, and adjusted Vite configuration for production. Updated app title and ConnectScreen content to reflect new version. Enhanced EQPage with headphone model loading and frequency response chart rendering.
This commit is contained in:
@@ -40,8 +40,8 @@ export default function ConnectScreen() {
|
||||
<line x1="2" y1="20" x2="6" y2="20" stroke="#00FFF6" strokeWidth="2" strokeLinecap="round" opacity="0.5" />
|
||||
</svg>
|
||||
</div>
|
||||
<h1 className="text-[30px] font-bold text-white tracking-tight">Luxsin X9</h1>
|
||||
<p className="text-[14px] text-white/35 mt-1 tracking-wide">Pre-Amplifier Controller</p>
|
||||
<h1 className="text-[30px] font-bold text-white tracking-tight">Luxsin X8</h1>
|
||||
<p className="text-[14px] text-white/35 mt-1 tracking-wide">Controller</p>
|
||||
</div>
|
||||
|
||||
{/* Connection card */}
|
||||
@@ -99,19 +99,6 @@ export default function ConnectScreen() {
|
||||
</button>
|
||||
</div>
|
||||
|
||||
{/* Demo mode */}
|
||||
<button
|
||||
onClick={handleDemo}
|
||||
disabled={isConnecting}
|
||||
className="mt-5 py-2 px-6 text-[15px] font-medium transition-all duration-150 active:opacity-60 flex items-center gap-2"
|
||||
style={{ color: "rgba(0,255,246,0.55)" }}>
|
||||
{isConnecting && isDemoMode ? <Loader2 size={15} className="animate-spin" /> : null}
|
||||
使用演示模式
|
||||
</button>
|
||||
|
||||
<p className="mt-10 text-[12px] text-white/15 text-center max-w-xs leading-relaxed">
|
||||
演示模式使用模拟数据,无需实际设备
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user