import 'server-only'; import Link from 'next/link'; import Image from 'next/image'; import { getCollectionProducts, getMenu } from 'commerce/shopify'; import styles from './styles.module.scss'; import { PriceRanges } from '/components/price'; import { getTags, listTags } from '/util'; export async function HomeProduct({ product }) { const featuredImage = product?.images?.[0]; const tags = await getTags({ product }); return ( {/* TODO: optimize srcset (adjusting based on featured status) */}
{product?.title}
{tags && tags.length > 0 && ({listTags({ tags })}
)}{`No products found`}
) : (Filter: {typesMenu?.map((menuItem, i) => ( {`${menuItem?.title}`} {`${ i == typesMenu.length - 1 ? '.' : ',' } `} ))}
); } export const CartLink = () => ( /*
For additional creative resources, visit the following:
{/* Moodboard, Soundtrack, Twitter, Instagram. */}
<>
{footerMenu?.map(item => (
{item?.title}
))}
>
To discuss creative opportunities and potential
collaborations, visit{' '}
Aug.Services for more
information.