import { CatalogCard, EmptyState } from "@/components/CatalogCard"; import { PageHero } from "@/components/PageHero"; import { Reveal } from "@/components/Reveal"; import { displayTitle, excerptOf, getPortfolios, portfolioPath } from "@/lib/meshkee"; import { pageMetadata } from "@/lib/seo"; export const metadata = pageMetadata({ title: "Projects", description: "Selected architecture projects by Khiyal Architecture Studio, from villas and residential buildings to offices and commercial spaces shaped with clients.", path: "/portfolios", image: "/images/slider/hayat.jpg", imageAlt: "Architecture projects by Khiyal Studio", }); export default async function PortfoliosPage({ searchParams, }: { searchParams: Promise<{ page?: string }>; }) { const { page } = await searchParams; const { items } = await getPortfolios({ page: Math.max(1, Number(page) || 1), pageSize: 12 }); return (
{items.length === 0 ? ( No projects published yet. ) : (
{items.map((item) => ( ))}
)}
); }