export type NavLeaf = { href: string; label: string; }; export type NavItem = | { type?: 'link'; href: string; label: string; icon: string; } | { type: 'group'; label: string; icon: string; children: NavLeaf[]; }; export const navItems: NavItem[] = [ { href: "/", label: "Overview", icon: "/images/icons/home.svg" }, { type: "group", label: "Businesses", icon: "/images/icons/category.svg", children: [ { href: "/businesses", label: "Businesses" }, { href: "/businesses/categories", label: "Categories" }, ], }, { type: "group", label: "Website", icon: "/images/icons/gallery.svg", children: [ { href: "/website/images", label: "Images" }, { href: "/website/carousels", label: "Carousels" }, ], }, { type: "group", label: "Blog", icon: "/images/icons/blog.svg", children: [ { href: "/website/blog/new", label: "New blog" }, { href: "/website/blog", label: "Blogs" }, { href: "/website/blog/categories", label: "Categories" }, ], }, { href: "/#activity", label: "Activity", icon: "/images/icons/calendar.svg" }, { href: "/#settings", label: "Settings", icon: "/images/icons/gear.svg" }, ]; export const overviewStats = [ { id: "businesses", label: "Businesses", value: "128", hint: "Live on marketplace", href: "#businesses", }, { id: "categories", label: "Categories", value: "24", hint: "Active sections", href: "#businesses", }, { id: "pending", label: "Pending", value: "7", hint: "Awaiting review", href: "#activity", }, { id: "visitors", label: "Visitors", value: "3.2k", hint: "Last 7 days", href: "#activity", }, ] as const; export const recentBusinesses = [ { name: "Simode Atelier", category: "Furniture", status: "Published", updated: "2h ago", }, { name: "Ayoubi Jewelry", category: "Accessories", status: "Review", updated: "5h ago", }, { name: "Arad Bakery", category: "Food", status: "Published", updated: "Yesterday", }, { name: "Sani Laundry", category: "Services", status: "Draft", updated: "2 days ago", }, ] as const; export const activityItems = [ { title: "New business submitted", detail: "Ayoubi Jewelry — accessories", time: "10:24", }, { title: "Category updated", detail: "Furniture producers — cover image", time: "09:12", }, { title: "Listing published", detail: "Simode Atelier went live", time: "Yesterday", }, ] as const; export const quickActions = [ { label: "Review pending", href: "#activity", description: "Approve new marketplace listings", }, { label: "Manage categories", href: "#businesses", description: "Edit sections and filters", }, ] as const;