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
+24
View File
@@ -0,0 +1,24 @@
"use client";
import {
BusinessMeshkeeGate,
} from "@/components/business/BusinessPageChrome";
import ManageCategoriesPage from "@/components/catalog/ManageCategoriesPage";
import { en } from "@/lib/i18n/en";
export default function BusinessProductCategoriesPage() {
return (
<BusinessMeshkeeGate>
{(meshkeeId) => (
<ManageCategoriesPage
meshkeeId={meshkeeId}
entityType="product"
title={en.products.categoriesTitle}
lead={en.products.categoriesLead}
listHref="/products"
listLabel={en.products.title}
/>
)}
</BusinessMeshkeeGate>
);
}
+22
View File
@@ -0,0 +1,22 @@
"use client";
import {
BusinessMeshkeeGate,
} from "@/components/business/BusinessPageChrome";
import AddProductForm from "@/components/catalog/AddProductForm";
import { en } from "@/lib/i18n/en";
export default function BusinessAddProductPage() {
return (
<BusinessMeshkeeGate>
{(meshkeeId) => (
<AddProductForm
meshkeeId={meshkeeId}
listHref="/products"
title={en.products.addTitle}
lead={en.products.addLead}
/>
)}
</BusinessMeshkeeGate>
);
}
+46
View File
@@ -0,0 +1,46 @@
"use client";
import Link from "next/link";
import {
BusinessListHeader,
BusinessMeshkeeGate,
} from "@/components/business/BusinessPageChrome";
import ProductsPanel from "@/components/catalog/ProductsPanel";
import { en } from "@/lib/i18n/en";
import styles from "@/components/BusinessDetailsPage.module.css";
export default function BusinessProductsPage() {
return (
<BusinessMeshkeeGate>
{(meshkeeId) => (
<>
<BusinessListHeader
title={en.products.title}
lead={en.products.lead}
action={
<>
<Link
href="/products/categories"
className={`outline-btn ${styles.actionBtn}`}
>
{en.products.manageCategories}
</Link>
<Link
href="/products/new"
className={`outline-btn ${styles.actionBtn}`}
>
{en.products.add}
</Link>
</>
}
/>
<ProductsPanel
meshkeeId={meshkeeId}
emptyLabel={en.products.empty}
addHref="/products/new"
/>
</>
)}
</BusinessMeshkeeGate>
);
}