diff --git a/src/client/components/CandidateCard.tsx b/src/client/components/CandidateCard.tsx index 3e3d778..36675e0 100644 --- a/src/client/components/CandidateCard.tsx +++ b/src/client/components/CandidateCard.tsx @@ -4,6 +4,7 @@ import type { CandidateDelta } from "../hooks/useImpactDeltas"; import { LucideIcon } from "../lib/iconData"; import { useUIStore } from "../stores/uiStore"; import { RankBadge } from "./CandidateListItem"; +import { GearImage, imageContainerBg } from "./GearImage"; import { ImpactDeltaBadge } from "./ImpactDeltaBadge"; import { StatusBadge } from "./StatusBadge"; @@ -17,6 +18,10 @@ interface CandidateCardProps { imageFilename: string | null; imageUrl?: string | null; productUrl?: string | null; + dominantColor?: string | null; + cropZoom?: number | null; + cropX?: number | null; + cropY?: number | null; threadId: number; isActive: boolean; status: "researching" | "ordered" | "arrived"; @@ -37,6 +42,10 @@ export function CandidateCard({ imageFilename: _imageFilename, imageUrl, productUrl, + dominantColor, + cropZoom, + cropX, + cropY, threadId, isActive, status, @@ -149,15 +158,25 @@ export function CandidateCard({ )} -