'use client'; import type { Product } from 'brainerce'; import { Link } from '@/core/lib/navigation'; import { useTranslations } from '@/core/lib/translations'; import { ProductGrid } from '@/ui/product/product-grid'; /** Homepage featured-products grid (bare skeleton) with a "view all" link. */ export function FeaturedProductsSection({ products }: { products: Product[] }) { const t = useTranslations('home'); const tc = useTranslations('common'); return (
{/* DESIGN ME — homepage featured products: heading + view-all link + product grid; products come from useHomeData() in the parent. Compose with the shadcn/ui primitives in src/components/ui (Button, Card, Badge, Input, Select, Accordion, Dialog, Skeleton, ...) + lucide-react icons. */}

{t('featuredProducts')}

{tc('viewAll')}
); }