import { getCollectionProducts } from 'lib/shopify'; 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 getCollectionProducts({ collection: 'hidden-homepage-carousel' }); if (!products?.length) return null; return (