This commit is contained in:
@@ -17,21 +17,23 @@ export default function MobileShowcase() {
|
||||
key={machine.id}
|
||||
className="w-[90%] shrink-0 snap-start bg-surface border border-subtle rounded-2xl p-4"
|
||||
>
|
||||
<Link href={`/products/${machine.id}`} className="flex gap-4 items-center">
|
||||
<div className="flex gap-4 items-center">
|
||||
{/*<Link href={`/products/${machine.id}`} className="flex gap-4 items-center">*/}
|
||||
<img src={machine.image} alt={machine.name} className="w-24 h-28 object-contain shrink-0" />
|
||||
<div className="min-w-0">
|
||||
<span className="text-brand-400 text-xs font-semibold">{machine.shortLabel}</span>
|
||||
<h3 className="text-lg font-bold text-primary mt-1">{machine.name}</h3>
|
||||
<p className="text-sm text-secondary line-clamp-2 mt-2">{machine.description}</p>
|
||||
</div>
|
||||
</Link>
|
||||
{/*</Link>*/}
|
||||
</div>
|
||||
<p className="text-base font-bold text-primary my-4">{machine.priceLabel}</p>
|
||||
<div className="flex flex-wrap justify-between items-center gap-3">
|
||||
{/* <div className="flex flex-wrap justify-between items-center gap-3">
|
||||
<QuantityControl product={machine} />
|
||||
<Link href={`/products/${machine.id}`} className="text-sm text-brand-400 hover:underline">
|
||||
{commerceCopy[locale].details}
|
||||
</Link>
|
||||
</div>
|
||||
</div>*/}
|
||||
</article>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user