import { getCategoryProducts } from 'lib/medusa'; import Image from 'next/image'; import Link from 'next/link'; export async function Carousel() { // Collections that start with `hidden-*` are hidden from the search page. const products = await getCategoryProducts('hidden-homepage-carousel'); if (!products?.length) return null; return (