Listings on this stall · {stock.length}
-
{stock.map((p) => (
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.tagline}
{v.bio}