mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 13:55:23 +02:00
feat: move Matrix tab to first position
Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
This commit is contained in:
co-authored by
Qwen-Coder
parent
94745f027f
commit
fac448153f
@@ -9,8 +9,8 @@ interface SidebarProps {
|
||||
|
||||
export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||
const navItems = [
|
||||
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
||||
{ id: 'matrix', label: 'Matrix', icon: Table },
|
||||
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
||||
] as const;
|
||||
|
||||
return (
|
||||
@@ -28,8 +28,8 @@ export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||
onClick={() => setActiveModule(item.id)}
|
||||
className={cn(
|
||||
"w-full flex items-center gap-3 px-3 py-2.5 rounded-md text-sm font-medium transition-colors",
|
||||
isActive
|
||||
? "bg-blue-600/10 text-blue-400"
|
||||
isActive
|
||||
? "bg-blue-600/10 text-blue-400"
|
||||
: "text-slate-300 hover:bg-slate-700/50 hover:text-white"
|
||||
)}
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user