Update carousels, card hover, and IranBay branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { useParams } from "next/navigation";
|
||||
import { BusinessListHeader } from "@/components/business/BusinessPageChrome";
|
||||
import PortfoliosPanel from "@/components/catalog/PortfoliosPanel";
|
||||
import { en } from "@/lib/i18n/en";
|
||||
import styles from "@/components/BusinessDetailsPage.module.css";
|
||||
|
||||
export default function ManageBusinessPortfoliosPage() {
|
||||
const params = useParams<{ meshkeeId: string }>();
|
||||
const meshkeeId = String(params.meshkeeId ?? "");
|
||||
const addHref = `/manage/${encodeURIComponent(meshkeeId)}/portfolios/new`;
|
||||
|
||||
return (
|
||||
<>
|
||||
<BusinessListHeader
|
||||
title={en.portfolios.title}
|
||||
lead={en.portfolios.lead}
|
||||
action={
|
||||
<Link href={addHref} className={`outline-btn ${styles.actionBtn}`}>
|
||||
{en.portfolios.add}
|
||||
</Link>
|
||||
}
|
||||
/>
|
||||
<PortfoliosPanel
|
||||
meshkeeId={meshkeeId}
|
||||
emptyLabel={en.portfolios.empty}
|
||||
addHref={addHref}
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user