mirror of
https://github.com/christianvidalwolf-prog/Craze-Data-check.git
synced 2026-08-03 16:35:24 +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) {
|
export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
||||||
const navItems = [
|
const navItems = [
|
||||||
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
|
||||||
{ id: 'matrix', label: 'Matrix', icon: Table },
|
{ id: 'matrix', label: 'Matrix', icon: Table },
|
||||||
|
{ id: 'descriptions', label: 'Product Descriptions', icon: FileText },
|
||||||
] as const;
|
] as const;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
@@ -28,8 +28,8 @@ export function Sidebar({ activeModule, setActiveModule }: SidebarProps) {
|
|||||||
onClick={() => setActiveModule(item.id)}
|
onClick={() => setActiveModule(item.id)}
|
||||||
className={cn(
|
className={cn(
|
||||||
"w-full flex items-center gap-3 px-3 py-2.5 rounded-md text-sm font-medium transition-colors",
|
"w-full flex items-center gap-3 px-3 py-2.5 rounded-md text-sm font-medium transition-colors",
|
||||||
isActive
|
isActive
|
||||||
? "bg-blue-600/10 text-blue-400"
|
? "bg-blue-600/10 text-blue-400"
|
||||||
: "text-slate-300 hover:bg-slate-700/50 hover:text-white"
|
: "text-slate-300 hover:bg-slate-700/50 hover:text-white"
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user