Settings ⚙ button now links to /settings page with left nav sidebar
The React tab bar's Settings button previously showed a minimal inline component. Now it navigates to /settings which has the full settings page with left sidebar navigation and category views.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/ui/favicon.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>ui</title>
|
||||
<script type="module" crossorigin src="/ui/assets/index-jhtO2NOz.js"></script>
|
||||
<script type="module" crossorigin src="/ui/assets/index-DFFBeBW_.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/ui/assets/index-D3aC6klh.css">
|
||||
</head>
|
||||
<body>
|
||||
|
||||
+5
-1
@@ -655,7 +655,11 @@ function PedalContent() {
|
||||
{/* ── Tab Bar ── */}
|
||||
<div className="pedal-tabbar">
|
||||
{TABS.map(t => (
|
||||
<div key={t.id} className={`pedal-tab ${tab === t.id ? 'pedal-tab-active' : ''}`} onClick={() => setTab(t.id)}>
|
||||
<div key={t.id} className={`pedal-tab ${tab === t.id ? 'pedal-tab-active' : ''}`}
|
||||
onClick={() => {
|
||||
if (t.id === 'settings') { window.location.href = '/settings'; return; }
|
||||
setTab(t.id);
|
||||
}}>
|
||||
<span className="pedal-tab-icon">{t.icon}</span>
|
||||
{t.label}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user