concensure's picture
Create a professional, warm-themed website (called "digiCradle") that sells printable products (e.g., thank-you cards, invitations, planners). The design should be clean, visually appealing, and user-friendly, with smooth animations and intuitive navigation. Tech Stack Frontend: HTML, CSS, JavaScript Backend/Database: Supabase (for product data, user accounts, cart, and favorites) Homepage Layout 1. Hero Section A full-width banner with: A high-quality background image (e.g., a desk with printed cards). A call-to-action (CTA) button (e.g., "Shop Now"). A short tagline (e.g., "Beautiful Printables for Every Occasion"). 2. Horizontal Category Menu Minimalist design (no borders, just text). Hover & Click Effects: Smooth color change or underline animation on hover. Active category is highlighted (e.g., bold or accent color). Categories: e.g., "Thank You Cards," "Invitations," "Planners," "Wall Art." 3. Separation Line A thin, elegant divider (e.g., a dashed or wavy line in a warm color). 4. Product Filters & Sorting "Sort by" dropdown (Price: Low-High, Newest, Popular). "Filter" button (opens a modal/sidebar with options like Occasion, Theme, etc.). 5. Product Grid (Card Layout) Each product card displays: Image Carousel: Loops between the first two product images slowly (5-7 sec per slide). Product Name (below the image). Price (below the name). Hover Effect: If the user hovers over the image, it smoothly enlarges (like a lightbox). Clicking a product opens its detailed view. Product Detail Page Left Side: Image Gallery (all available images, user can click to enlarge). Right Side: Product Title Price File Formats (e.g., PDF, PNG, JPG). Size Options (e.g., A4, US Letter). Occasion & Theme (e.g., Wedding, Birthday). Description (detailed text). Reviews Section (star ratings + user comments). Buttons: "Add to Cart" (cart icon). "Add to Favorites" (heart icon, saved in Supabase if logged in). Additional Features Responsive Design (works on mobile & desktop). Supabase Integration: Stores product data, user accounts, cart, and favorites. Smooth Animations: Hover effects, image transitions, and category switches. Design Guidelines Color Theme: Warm tones (soft oranges, creams, muted pinks). Fonts: Clean & elegant (e.g., "Playfair Display" for headings, "Lato" for body text). Icons: Use Font Awesome or similar for cart/favorite buttons. Example JavaScript Logic Needed Category Switching: javascript document.querySelectorAll('.category-item').forEach(item => { item.addEventListener('click', () => { // Fetch & display products from Supabase based on category }); }); Image Carousel & Hover Zoom: javascript // Slow carousel for product images setInterval(() => { // Rotate between two images }, 5000); // Hover zoom effect productCards.forEach(card => { card.addEventListener('mouseenter', () => { // Enlarge image smoothly }); }); - Follow Up Deployment
b82d2d5 verified