--- import { getBrandsFromDB } from '../lib/products'; import { getBrandLogo } from './BrandLogos'; // Curated list of aspirational/hype brands for the homepage carousel const POPULAR_BRAND_SLUGS = [ 'adidas', 'nike', 'new-balance', 'jordan', 'asics', 'puma', 'hoka', 'on', 'vans', 'converse', 'reebok', 'salomon', 'diadora', 'karhu', ]; const allBrands = await getBrandsFromDB(); const brandMap = new Map(allBrands.map(b => [b.slug, b])); // Show curated brands in order, only if they exist in DB const brands = POPULAR_BRAND_SLUGS .map(slug => brandMap.get(slug)) .filter((b): b is NonNullable => !!b); ---

Populaire merken

{brands.map(brand => { const inlineSvg = getBrandLogo(brand.slug); return ( {inlineSvg ? (