import Link from "next/link"; import { notFound } from "next/navigation"; import { VendorShelfRow } from "@/components/shop/VendorShelfRow"; import { shopProductsForSeller } from "@/lib/shopCatalog"; import { SHOP_SELLERS, getSellerBySlug } from "@/lib/shopSellers"; export function generateStaticParams() { return SHOP_SELLERS.map((s) => ({ slug: s.slug })); } type Props = { params: Promise<{ slug: string }> }; export default async function VendorProfilePage({ params }: Props) { const { slug } = await params; const v = getSellerBySlug(slug); if (!v) notFound(); const stock = shopProductsForSeller(v.id); return (

{v.handle}

since {v.since}

{v.tagline}

{v.bio}

Rating
★ {v.rating.toFixed(2)}
Lore sales
{v.completedSales.toLocaleString()}
Typical reply
~{v.responseMins}m
Focus
{v.specialty}

Listings on this stall · {stock.length}

); }