Update carousels, card hover, and IranBay branding.
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
import type { Metadata } from "next";
|
||||
import { ProtectedRoute } from "@/components/AuthGuards";
|
||||
import DashboardShell from "@/components/DashboardShell";
|
||||
import EditBusinessPage from "@/components/EditBusinessPage";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Edit business | IranBay Dashboard",
|
||||
};
|
||||
|
||||
export default async function EditBusinessRoute({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ id: string }>;
|
||||
}) {
|
||||
const { id } = await params;
|
||||
|
||||
return (
|
||||
<ProtectedRoute requiredApp="admin">
|
||||
<DashboardShell>
|
||||
<EditBusinessPage listingId={id} />
|
||||
</DashboardShell>
|
||||
</ProtectedRoute>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,24 @@
|
||||
import type { Metadata } from "next";
|
||||
import { ProtectedRoute } from "@/components/AuthGuards";
|
||||
import BusinessDetailsPage from "@/components/BusinessDetailsPage";
|
||||
import DashboardShell from "@/components/DashboardShell";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Business details | IranBay Dashboard",
|
||||
};
|
||||
|
||||
export default async function BusinessDetailsRoute({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ id: string }>;
|
||||
}) {
|
||||
const { id } = await params;
|
||||
|
||||
return (
|
||||
<ProtectedRoute requiredApp="admin">
|
||||
<DashboardShell>
|
||||
<BusinessDetailsPage listingId={id} />
|
||||
</DashboardShell>
|
||||
</ProtectedRoute>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user