Update carousels, card hover, and IranBay branding.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Alireza Hassani
2026-10-04 13:21:27 +03:30
co-authored by Cursor
commit 1153e8e78f
178 changed files with 30517 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import { en } from "@/lib/i18n/en";
export const businessNavItems = [
{
href: "/profile",
label: en.nav.profile,
icon: "/images/icons/user.svg",
},
{
href: "/products",
label: en.nav.products,
icon: "/images/icons/category.svg",
},
{
href: "/blog",
label: en.nav.blog,
icon: "/images/icons/calendar.svg",
},
{
href: "/portfolios",
label: en.nav.portfolios,
icon: "/images/icons/gear.svg",
},
{
href: "/gallery",
label: en.nav.gallery,
icon: "/images/icons/gallery.svg",
},
] as const;
+14
View File
@@ -0,0 +1,14 @@
import { en } from "@/lib/i18n/en";
export const customerNavItems = [
{
href: "/",
label: en.nav.home,
icon: "/images/icons/home.svg",
},
{
href: "/profile",
label: en.nav.profile,
icon: "/images/icons/user.svg",
},
] as const;
+141
View File
@@ -0,0 +1,141 @@
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;