feat(F-059): completed feature

This commit is contained in:
chattie
2026-08-19 15:32:56 +02:00
parent 4cdb5fb487
commit 72ba84456c
32 changed files with 369 additions and 57 deletions

View File

@@ -158,11 +158,13 @@ export default function ProductsPage() {
<td className="px-4 py-3.5">
<div className="flex items-center gap-3">
{p.images?.[0]?.url ? (
<img
src={p.images[0].url.replace('/uploads/', '/uploads/40/')}
alt={p.name}
className="w-10 h-10 rounded-lg object-cover bg-gray-100 flex-shrink-0"
/>
<div className="w-10 h-14 rounded-lg bg-gray-100 flex items-center justify-center flex-shrink-0 overflow-hidden">
<img
src={p.images[0].url.replace('/uploads/', '/uploads/40/')}
alt={p.name}
className="max-w-full max-h-full w-auto h-auto object-contain"
/>
</div>
) : (
<div className="w-10 h-10 rounded-lg bg-gray-100 flex items-center justify-center text-lg flex-shrink-0">
🌿