Spaces:
Running
Running
Commit History
-
Design a fully responsive and futuristic e-commerce website for a brand called Qubit, which sells software licenses at discounted prices. The website must: Fetch all product data dynamically from a live Notion database Redirect buyers to WhatsApp with a pre-filled message when they click "Buy" Show product details in a modern, animated popup modal Look elegant, clean, and visually appealing using the following custom color palette: π©΅ Light Slate Blue: #5A96E3 (primary accent) βͺ Off-White: #F9FAFB (background) β« Charcoal Black: #1F1F1F (text & contrast) π Cool Gray: #9CA3AF (subtext and shadows) π¨ Design Guidelines Font: Inter or Poppins (rounded, friendly sans-serif) Layout: Centered container (max-w-7xl), gap-6, p-6, responsive grid Use smooth card shadows (shadow-xl) and hover effects Rounded corners: rounded-2xl Subtle transitions (transition-all, duration-300) No glassmorphism, no purple, no harsh shadows π¦ Product Structure from Notion Fetch products from this live Notion database endpoint: bash Copy Edit https://notion-api.splitbee.io/v1/table/22e3b1395b1380bfa27ccf729d087255?v=22e3b1395b138018b955000cea8ee8f8 Use these exact properties: Column Name Type Description Name Title Product name Description Text Product description Image URL URL Direct image URL Category Text E.g., Antivirus, Editing, Office Price - 1 Month Number Price in INR Price - 3 Months Number Price in INR Price - 1 Year Number Price in INR Trending Checkbox Optional tag badge π§© Notion Fetch Logic (React-style) jsx Copy Edit const [products, setProducts] = useState([]); useEffect(() => { fetch("https://notion-api.splitbee.io/v1/table/22e3b1395b1380bfa27ccf729d087255?v=22e3b1395b138018b955000cea8ee8f8") .then((res) => res.json()) .then((data) => setProducts(data)); }, []); Use product["Image URL"], product["Price - 1 Month"], etc., to dynamically show details. ποΈ Product Cards Layout Each card should include: Product image (Image URL) Product name Subtext from category Validity selector (1M, 3M, 1Y) Dynamic pricing (based on selection) Button: "Buy on WhatsApp" If Trending is β β show badge on top-left Hovering the card adds subtle scale-105 and shadow change. π WhatsApp Redirect Logic On βBuyβ button click: Open this URL: pgsql Copy Edit https://wa.me/919855990775?text=Hi! I want to purchase [Product Name] with [Selected Validity]. Please send more details. The values should update based on selection Use a function to dynamically insert product name and validity π§ Product Popup Modal (Not Full Page) On clicking a product: Show centered modal popup with: Large product image at top Full description Validity dropdown Auto-calculated price Buy on WhatsApp button Close button (top-right) Style of the modal: Width: 90% on mobile, 60% on desktop Rounded-2xl Soft backdrop blur behind Appears with scale/slide transition Use z-50, fixed, backdrop-blur, shadow-2xl π Filtering & Sorting Add a search input to filter by product name Category filter (optional chips below search bar) Sort dropdown (Price ββ, Name AβZ) π Contact Section Link from navbar β scroll to contact section WhatsApp: +91 9855990775 Email: app.qubit@gmail.com Optional: message form (Name + message box) π₯οΈ Responsiveness Mobile: 1-column product layout Tablet: 2-column grid Desktop: 3β4 column grid All buttons and dropdowns must be touch-friendly π Footer Qubit Β© 2025 β All rights reserved Icons: WhatsApp, Mail Optional: links to Terms, Privacy β Features Checklist β Live Notion data fetch β Dynamic WhatsApp redirection with custom message β Smooth product modal popup (not small, not full page) β Modern, stylish color palette (light blue + off-white + black) β Search + sort + optional category filters β Fully responsive for all screen sizes β Easy to edit by updating Notion β Do NOT Include: No dummy/static data No star ratings or fake reviews No 3D or purple neon No full-page product detail view - Initial Deployment
Verified signature4c31fe4 -
initial commit
Verified signature5ecaf80