Add genre management functionality and update sidebar navigation

This commit is contained in:
2026-04-06 18:24:05 +00:00
parent d3f3d9c91a
commit c811135b92
7 changed files with 456 additions and 39 deletions
+2 -1
View File
@@ -3,7 +3,7 @@
import { useState, useEffect } from "react"
import Link from "next/link"
import { usePathname } from "next/navigation"
import { AlertTriangle, BookOpen, Home, Sparkles, Star, ChevronLeft, ChevronRight } from "lucide-react"
import { AlertTriangle, BookOpen, Home, Sparkles, Star, Tag, ChevronLeft, ChevronRight } from "lucide-react"
import { cn } from "@/lib/utils"
export function CollapsibleSidebar() {
@@ -31,6 +31,7 @@ export function CollapsibleSidebar() {
{ href: "/mod", label: "Tổng quan", icon: Home },
{ href: "/mod/truyen", label: "Quản lý truyện", icon: BookOpen },
{ href: "/mod/thieu-thong-tin", label: "Truyện thiếu dữ liệu", icon: AlertTriangle },
{ href: "/mod/the-loai", label: "Quản lý thể loại", icon: Tag },
{ href: "/mod/de-cu", label: "Quản lý đề cử", icon: Star },
{ href: "/mod/ai-tool", label: "AI Tool", icon: Sparkles },
]