Finished controllers UI

This commit is contained in:
litoral05
2026-05-15 08:54:51 +01:00
parent 7e1eeba970
commit d9b4c081ce
10 changed files with 1608 additions and 345 deletions
+6 -6
View File
@@ -5,12 +5,14 @@ import {
RadioTower,
Settings,
Wrench,
Router
} from 'lucide-react';
import logoIcon from '@/assets/logo-icon.png';
const items = [
['Painel', Gauge],
['Controladores', Router],
['Configuração UDP2RAW', RadioTower],
['Provisionamento', Wrench],
['Registos de Atividade', FileClock],
@@ -57,18 +59,16 @@ export function Sidebar({
key={label}
type="button"
onClick={() => onSelect(label)}
className={`group flex w-full items-center gap-3 rounded-2xl px-4 py-3 text-left text-sm font-semibold transition-all duration-200 ${
isActive
className={`group flex w-full items-center gap-3 rounded-2xl px-4 py-3 text-left text-sm font-semibold transition-all duration-200 ${isActive
? 'border border-blue-500/20 bg-blue-500/15 text-white shadow-[0_0_25px_rgba(59,130,246,0.12)]'
: 'border border-transparent text-slate-300 hover:border-white/5 hover:bg-white/[0.035] hover:text-white'
}`}
}`}
>
<div
className={`rounded-xl p-2 transition ${
isActive
className={`rounded-xl p-2 transition ${isActive
? 'bg-blue-500/10 text-blue-300'
: 'bg-white/[0.03] text-slate-400 group-hover:text-slate-200'
}`}
}`}
>
<Icon size={17} />
</div>