Redesign SupplierCard and ProductCard, unify components
All checks were successful
Build Docker Image / build (push) Successful in 4m0s

- SupplierCard: horizontal layout with logo left, verified badge before name, chips at bottom
- ProductCard: add optional sparkline background, trend indicator, and price display
- Replace HubProductCard usage with ProductCard in hub detail page
- Remove HubProductCard.vue and PriceSparkline.vue (unified into ProductCard)
This commit is contained in:
Ruslan Bakiev
2026-01-27 10:49:58 +07:00
parent 20e0e73c58
commit 7bd4aa37bd
5 changed files with 134 additions and 203 deletions

View File

@@ -26,9 +26,10 @@
</template>
<template #card="{ item }">
<HubProductCard
:name="item.name"
<ProductCard
:product="item"
:price-history="getMockPriceHistory(item.uuid)"
selectable
@select="goToProduct(item.uuid)"
/>
</template>