From 541e772edec5730ac19569ca93d9e983fbb9dec2 Mon Sep 17 00:00:00 2001 From: Christian Vidal Wolf Date: Thu, 29 Jan 2026 09:00:07 +0100 Subject: [PATCH] Update Amazon icons to match the full logo provided by the user --- components/AdsPerformance.tsx | 2 +- components/ForecastView.tsx | 2 +- components/Icons.tsx | 4 ++-- components/VendorStockBadge.tsx | 32 ++------------------------------ components/WeeklyGrid.tsx | 2 +- 5 files changed, 7 insertions(+), 35 deletions(-) diff --git a/components/AdsPerformance.tsx b/components/AdsPerformance.tsx index 0a5f863..5440d42 100644 --- a/components/AdsPerformance.tsx +++ b/components/AdsPerformance.tsx @@ -434,7 +434,7 @@ const AdsPerformance: React.FC = ({ currentFilters={vendorStockFilter} onFilterChange={onVendorStockFilterChange} title="Vendor Stock" - icon={} + icon={} options={[ 'Out of Stock (0)', 'In Stock (>0)', diff --git a/components/ForecastView.tsx b/components/ForecastView.tsx index 9ea6617..5683f6c 100644 --- a/components/ForecastView.tsx +++ b/components/ForecastView.tsx @@ -447,7 +447,7 @@ const ForecastView: React.FC = ({ currentFilters={vendorStockFilter} onFilterChange={onVendorStockFilterChange} title="Vendor Stock" - icon={} + icon={} options={[ 'Out of Stock (0)', 'In Stock (>0)', diff --git a/components/Icons.tsx b/components/Icons.tsx index 84e6eec..350da29 100644 --- a/components/Icons.tsx +++ b/components/Icons.tsx @@ -77,8 +77,8 @@ export const WarehouseIcon = ({ className = "w-4 h-4" }) => ( ); export const AmazonSmileIcon = ({ className = "w-4 h-4" }) => ( - - + + ); diff --git a/components/VendorStockBadge.tsx b/components/VendorStockBadge.tsx index d8996fd..dbd9bd4 100644 --- a/components/VendorStockBadge.tsx +++ b/components/VendorStockBadge.tsx @@ -1,5 +1,5 @@ - import React from 'react'; +import { AmazonSmileIcon } from './Icons'; interface VendorStockBadgeProps { asin: string; @@ -42,35 +42,7 @@ export const VendorStockBadge: React.FC = ({ asin, vendor className={`inline-flex items-center gap-1 px-2 py-0.5 rounded border text-[10px] font-bold transition-all hover:scale-105 active:scale-95 cursor-default ${themeClasses}`} title={`Stock en Amazon Warehouse (${mode.toUpperCase()}): ${stock}`} > - - - - - - +
Vendor {stock.toLocaleString('de-DE')} diff --git a/components/WeeklyGrid.tsx b/components/WeeklyGrid.tsx index 54c98b9..ac3762d 100644 --- a/components/WeeklyGrid.tsx +++ b/components/WeeklyGrid.tsx @@ -525,7 +525,7 @@ const WeeklyGrid: React.FC = ({ currentFilters={vendorStockFilter} onFilterChange={onVendorStockFilterChange} title="Vendor Stock" - icon={} + icon={} options={[ 'Out of Stock (0)', 'In Stock (>0)',