Untitled conversation
- User
Build a modern, mobile-first product detail page for an adaptive e-commerce / online reservation platform. The page receives a `product` object as parameter and dynamically renders the optimal layout based on the product type. It must be highly user-friendly, modern (clean typography, soft shadows, rounded corners, smooth animations), and clearly display all product information in a visually structured, easy-to-scan format. ## Supported Product Type (must adapt layout & info shown): - Consumable product (e.g., food, beverage) - Stockable / physical product (e.g., clothing, electronics) - Digital / downloadable product (e.g., e-book, software, file) - Service (provider commits based on online order; e.g., appointment, repair, consulting, delivery service) - Wholesale / bulk product (quantity-range pricing / volume discount tiers) ## Dynamic Pricing & Variants: - Multiple pricing models based on product characteristics (size, dimensions, color, material, duration, etc.) - Quantity-interval (tier) pricing for bulk / wholesale orders (show price table / tier cards: e.g., 1-10 units @ $X, 11-50 units @ $Y, 51+ units @ $Z) - Allow selection of characteristic variant + quantity, with real-time total price update ## Page Sections & Adaptive Content: 1. Hero Section — Product image / gallery (with swipe support on mobile), product name, short tagline, supplier/brand badge. 2. Product Category Badges — Visual indicator of product categories (single or multiple). 3. Key Info Cards — Adapted fields: - Physical: weight, dimensions, material, stock status, delivery estimate - Digital: file format, size, download instructions, license type, instant access note - Service: provider name, service duration, location / remote option, cancellation policy, booking confirmation time - Consumable: ingredients / allergens, shelf life, storage instructions, serving size - Wholesale: MOQ (minimum order quantity), lead time, bulk discount table 4. Description — Rich text / HTML description with expandable details (ingredients, instructions, terms). 5. Dynamic Pricing Module — Must handle: - Variant selector (dropdown / pill buttons) for characteristic-based pricing - Quantity range / tier selector (slider or segmented buttons) showing per-unit price changes - Real-time price calculation and total display - Highlight of best-value tier or recommended quantity 6. Supplier / Provider Card — Name, rating, response time, verified badge, short bio, link to provider profile. 7. Availability / Booking Section — Context-aware CTA: - Physical: "Add to Cart" with quantity selector - Digital: "Buy & Download" / "Get Access" - Service: "Book Appointment" / "Request Service" with date/time picker integration hint - Wholesale: "Request Bulk Quote" / "Place Bulk Order" with tier selection 8. Trust Signals — Reviews summary, secure payment icons, return / refund policy snippet (adapted per product type). 9. Related / Recommended Products — Horizontal scroll cards. ## Design & UX Requirements: - Mobile-first responsive design; scales elegantly to tablet and desktop - Dark / light mode support preferred; clean minimalist aesthetic - Smooth micro-interactions on buttons, cards, and selections - Clear visual hierarchy using size, color, and spacing - Sticky bottom CTA bar on mobile for quick conversion action (always visible) - Accessibility: proper contrast, focus states, semantic HTML, ARIA labels - Fast-loading, optimized image handling with placeholders and lazy loading - No placeholders: real structured data must drive every section ## Technical Requirement: - Implement as a single dynamic React component (or set of components) that takes `product` prop and renders based on `product.type`, `product.pricingModel`, `product.variants`, `product.quantityTiers`, `product.provider`, `product.digitalAssets`, etc. - Must cleanly handle missing optional fields gracefully (fallbacks / hidden sections) Assistant
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.