## Overview Create `StatusBadge` and `ConditionBadge` components that display color-coded asset status and condition labels inside `frontend/contrib/`. ## Location All work must be inside `frontend/contrib/components/assets/`. ## Acceptance Criteria - [ ] `StatusBadge` maps statuses to colors: ACTIVE→green, ASSIGNED→blue, MAINTENANCE→yellow, RETIRED→gray - [ ] `ConditionBadge` maps conditions to colors: NEW→emerald, GOOD→green, FAIR→yellow, POOR→orange, DAMAGED→red - [ ] Both render as pill-shaped badges with a dot indicator - [ ] Both accept the enum value as a prop and handle unknown values gracefully - [ ] Typed with the `AssetStatus` and `AssetCondition` TypeScript enums
Overview
Create
StatusBadgeandConditionBadgecomponents that display color-coded asset status and condition labels insidefrontend/contrib/.Location
All work must be inside
frontend/contrib/components/assets/.Acceptance Criteria
StatusBadgemaps statuses to colors: ACTIVE→green, ASSIGNED→blue, MAINTENANCE→yellow, RETIRED→grayConditionBadgemaps conditions to colors: NEW→emerald, GOOD→green, FAIR→yellow, POOR→orange, DAMAGED→redAssetStatusandAssetConditionTypeScript enums