feat: refactor Product page to match prototype design
Redesigned ProductCard and Product page based on original prototype: ProductCard Component: - Added gradient background matching prototype style - Copied all SVG icons from prototype (US flags, HK flag, etc.) - Implemented proper icon display with white background container - Added category color variants (blue, green, purple) - Risk level indicators with accurate colors - Styled progress bar matching prototype - Proper spacing and typography from CSS Visual Elements: - Radial gradient backgrounds on cards - Glass-morphism effect with transparency - Shadow and border effects from prototype - Icon container with white background and shadow ring - Category badges with colored backgrounds Assets Added: - frame-9230.svg, frame-9231.svg (US flag icons) - hk0.svg (HK flag icon) - chart-square1.svg - All component SVG files from prototype - View toggle icons Styling: - Followed prototype's style.css specifications - Maintained exact color values and gradients - Proper border radius and spacing - Typography matching prototype Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -1,3 +1,3 @@
|
||||
<svg width="20" height="24" viewBox="0 0 20 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.16669 16.1667V10.3333H5.83335V16.1667H4.16669ZM9.16669 16.1667V10.3333H10.8334V16.1667H9.16669ZM1.66669 19.5V17.8333H18.3334V19.5H1.66669ZM14.1667 16.1667V10.3333H15.8334V16.1667H14.1667ZM1.66669 8.66667V7L10 2.83333L18.3334 7V8.66667H1.66669ZM5.37502 7H10H14.625H5.37502ZM5.37502 7H14.625L10 4.70833L5.37502 7Z" fill="#9CA1AF"/>
|
||||
</svg>
|
||||
<svg width="20" height="24" viewBox="0 0 20 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||||
<path d="M4.16669 16.1667V10.3333H5.83335V16.1667H4.16669ZM9.16669 16.1667V10.3333H10.8334V16.1667H9.16669ZM1.66669 19.5V17.8333H18.3334V19.5H1.66669ZM14.1667 16.1667V10.3333H15.8334V16.1667H14.1667ZM1.66669 8.66667V7L10 2.83333L18.3334 7V8.66667H1.66669ZM5.37502 7H10H14.625H5.37502ZM5.37502 7H14.625L10 4.70833L5.37502 7Z" fill="#9CA1AF"/>
|
||||
</svg>
|
||||
|
||||
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 448 B |
Reference in New Issue
Block a user