Update carousels, card hover, and IranBay branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
"use client";
|
||||
|
||||
import { BusinessMeshkeeGate } from "@/components/business/BusinessPageChrome";
|
||||
import AddPortfolioForm from "@/components/catalog/AddPortfolioForm";
|
||||
import { en } from "@/lib/i18n/en";
|
||||
|
||||
export default function BusinessAddPortfolioPage() {
|
||||
return (
|
||||
<BusinessMeshkeeGate>
|
||||
{(meshkeeId) => (
|
||||
<AddPortfolioForm
|
||||
meshkeeId={meshkeeId}
|
||||
listHref="/portfolios"
|
||||
title={en.portfolios.addTitle}
|
||||
lead={en.portfolios.addLead}
|
||||
/>
|
||||
)}
|
||||
</BusinessMeshkeeGate>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,38 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import {
|
||||
BusinessListHeader,
|
||||
BusinessMeshkeeGate,
|
||||
} 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 BusinessPortfoliosPage() {
|
||||
return (
|
||||
<BusinessMeshkeeGate>
|
||||
{(meshkeeId) => (
|
||||
<>
|
||||
<BusinessListHeader
|
||||
title={en.portfolios.title}
|
||||
lead={en.portfolios.lead}
|
||||
action={
|
||||
<Link
|
||||
href="/portfolios/new"
|
||||
className={`outline-btn ${styles.actionBtn}`}
|
||||
>
|
||||
{en.portfolios.add}
|
||||
</Link>
|
||||
}
|
||||
/>
|
||||
<PortfoliosPanel
|
||||
meshkeeId={meshkeeId}
|
||||
emptyLabel={en.portfolios.empty}
|
||||
addHref="/portfolios/new"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</BusinessMeshkeeGate>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user