Add 2 files
Browse filesFiles changed (2)
- index.html+159-120
- prompts.txt+2-1
2 unmodified lines3456789273 unmodified lines28328428528628728828929090 unmodified lines38138238338438538638738838939039118 unmodified lines41041141241341441541624 unmodified lines4414424434444454464474484494504514524534544554564574584592 unmodified lines4624634644654664674684694704714724734744754764774784795 unmodified lines48548648748848949049149249349449549649749849950050114 unmodified lines51651751851952052152252311 unmodified lines5355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775781 unmodified line58058158258358458558658758858961 unmodified lines65165265365465565665765865966066166218 unmodified lines68168268368468568668711 unmodified lines69970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076160 unmodified lines822823824825826827828167 unmodified lines9969979989991000100110025 unmodified lines10081009101010111012101310145 unmodified lines10201021102210231024102510266 unmodified lines10331034103510361037103810395 unmodified lines10451046104710481049105010515 unmodified lines10571058105910601061106210636 unmodified lines10701071107210731074107510765 unmodified lines10821083108410851086108710885 unmodified lines10941095109610971098109911006 unmodified lines11071108110911101111111211135 unmodified lines11191120112111221123112411255 unmodified lines11311132113311341135113611371138113911401141114241 unmodified lines1184118511861187118811895 unmodified lines11951196119711981199120012017 unmodified lines1209121012111212121312145 unmodified lines122012211222122312242 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Azure Horizon | Premium Online Store</title><script src="https://cdn.tailwindcss.com"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><script>273 unmodified lines<!-- Logo --><div class="flex-shrink-0 flex items-center"><div class="flex items-center"><i class="fas fa-cloud text-2xl text-primary-600 mr-2"></i><span class="text-xl font-bold text-primary-800">Azure Horizon</span></div></div>90 unmodified lines<div class="glass-card rounded-2xl p-8 md:p-12 shadow-xl hover-glow transition"><div class="flex flex-col md:flex-row items-center"><div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"><h1 class="text-4xl md:text-5xl font-bold text-primary-900 mb-4">Elevate Your Style with Azure Horizon</h1><p class="text-lg text-primary-700 mb-8">Discover our premium collection of products designed to bring elegance and sophistication to your everyday life.</p><div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"><a href="#products" class="bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg font-medium transition duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl text-center">Shop Now</a><a href="#features" class="border border-primary-600 text-primary-600 hover:bg-primary-50 px-6 py-3 rounded-lg font-medium transition duration-300 transform hover:scale-105 text-center">Learn More</a></div></div><div class="md:w-1/2 relative">18 unmodified lines<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><h2 class="text-3xl font-bold text-primary-900 mb-4">Featured Products</h2><p class="text-lg text-primary-600 max-w-3xl mx-auto">Handpicked selection of our most popular items</p></div><!-- Category tabs -->24 unmodified lines<section id="features" class="py-20 bg-white"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><h2 class="text-3xl font-bold text-primary-900 mb-4">Why Choose Us</h2><p class="text-lg text-primary-600 max-w-3xl mx-auto">Experience the difference with our premium services</p></div><div class="grid md:grid-cols-3 gap-8"><div class="glass-card rounded-xl p-8 hover-glow transition"><div class="flex justify-center mb-6"><div class="bg-primary-100 rounded-full p-4"><i class="fas fa-truck text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">Fast Shipping</h3><p class="text-primary-600 text-center">Get your products delivered to your doorstep in just 2-3 business days with our express shipping.</p></div><div class="glass-card rounded-xl p-8 hover-glow transition">2 unmodified lines<i class="fas fa-shield-alt text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">Secure Payments</h3><p class="text-primary-600 text-center">Shop with confidence using our secure payment gateway that protects your financial information.</p></div><div class="glass-card rounded-xl p-8 hover-glow transition"><div class="flex justify-center mb-6"><div class="bg-primary-100 rounded-full p-4"><i class="fas fa-headset text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">24/7 Support</h3><p class="text-primary-600 text-center">Our dedicated customer support team is available round the clock to assist you with any queries.</p></div></div></div>5 unmodified lines<div class="glass-card rounded-2xl p-8 md:p-12 shadow-xl hover-glow transition"><div class="flex flex-col md:flex-row items-center"><div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"><h2 class="text-3xl font-bold text-primary-900 mb-6">Our Story</h2><p class="text-primary-700 mb-4">Founded in 2020, Azure Horizon began as a small boutique with a vision to bring high-quality, stylish products to discerning customers worldwide.</p><p class="text-primary-700 mb-6">Today, we've grown into a trusted online destination for those who appreciate craftsmanship, attention to detail, and timeless design.</p><div class="flex items-center space-x-4"><div class="flex items-center"><i class="fas fa-check-circle text-primary-600 mr-2"></i><span class="text-primary-700">Premium Quality</span></div><div class="flex items-center"><i class="fas fa-check-circle text-primary-600 mr-2"></i><span class="text-primary-700">Ethical Sourcing</span></div></div></div>14 unmodified lines<div class="glass-card-dark rounded-2xl p-8 md:p-12 shadow-xl"><div class="flex flex-col md:flex-row items-center justify-between"><div class="md:w-1/2 mb-8 md:mb-0"><h2 class="text-2xl font-bold mb-2">Stay Updated</h2><p class="text-primary-200">Subscribe to our newsletter for the latest products, exclusive offers, and style inspiration.</p></div><div class="md:w-1/2"><form class="flex flex-col sm:flex-row gap-4">11 unmodified lines<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-12"><div><h3 class="text-lg font-semibold mb-4">Shop</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">All Products</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">New Arrivals</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Featured</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Sale</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">Customer Service</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">Contact Us</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">FAQs</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Shipping & Returns</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Size Guide</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">About</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">Our Story</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Sustainability</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Careers</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Press</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">Connect</h3><div class="flex space-x-4 mb-4"><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-facebook-f"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-twitter"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-instagram"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-pinterest"></i></a></div><p class="text-primary-300">Email: hello@azurehorizon.com</p><p class="text-primary-300">Phone: +1 (555) 123-4567</p></div></div>1 unmodified line<div class="border-t border-primary-800 pt-8"><div class="flex flex-col md:flex-row justify-between items-center"><div class="flex items-center mb-4 md:mb-0"><i class="fas fa-cloud text-2xl text-primary-300 mr-2"></i><span class="text-xl font-bold text-white">Azure Horizon</span></div><p class="text-primary-300 text-sm">© 2023 Azure Horizon. All rights reserved.</p></div></div></div>61 unmodified lines<div class="flex flex-col items-center mb-6"><div class="relative mb-4"><img id="modal-profile-img" class="h-24 w-24 rounded-full object-cover" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Profile"><button class="absolute bottom-0 right-0 bg-primary-600 text-white rounded-full p-2 hover:bg-primary-700 transition"><i class="fas fa-camera"></i></button></div><h4 class="text-xl font-semibold text-primary-900">John Doe</h4><p class="text-primary-600">john@example.com</p></div><form class="space-y-4">18 unmodified lines</div><div class="pt-4"><button type="submit" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-3 px-4 rounded-lg font-medium transition duration-300">Save Changes</button></div></form></div>11 unmodified lines</button></div><div class="space-y-6"><!-- Order 1 --><div class="border border-primary-200 rounded-lg overflow-hidden"><div class="bg-primary-50 px-4 py-3 flex justify-between items-center"><div><span class="text-sm font-medium text-primary-600">Order #1001</span><span class="mx-2 text-primary-400">•</span><span class="text-sm text-primary-600">Placed on June 12, 2023</span></div><span class="px-2 py-1 bg-green-100 text-green-800 text-xs font-medium rounded">Delivered</span></div><div class="p-4"><div class="flex items-center mb-4"><img src="https://images.unsplash.com/photo-1546868871-7041f2d55e0b?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Product" class="w-16 h-16 object-cover rounded"><div class="ml-4 flex-1"><h4 class="text-sm font-medium text-primary-900">Wireless Headphones</h4><p class="text-sm text-primary-600">Color: Black</p><p class="text-sm text-primary-600">Qty: 1</p></div><div class="text-right"><p class="text-sm font-medium text-primary-900">$99.99</p></div></div><div class="flex justify-between items-center pt-4 border-t border-primary-100"><p class="text-sm font-medium text-primary-900">Total: $109.98</p><button class="text-sm font-medium text-primary-600 hover:text-primary-900">View Details</button></div></div></div><!-- Order 2 --><div class="border border-primary-200 rounded-lg overflow-hidden"><div class="bg-primary-50 px-4 py-3 flex justify-between items-center"><div><span class="text-sm font-medium text-primary-600">Order #1000</span><span class="mx-2 text-primary-400">•</span><span class="text-sm text-primary-600">Placed on May 28, 2023</span></div><span class="px-2 py-1 bg-yellow-100 text-yellow-800 text-xs font-medium rounded">Shipped</span></div><div class="p-4"><div class="flex items-center mb-4"><img src="https://images.unsplash.com/photo-1520390138845-fd2d229dd553?ixlib=rb-1.2.1&auto=format&fit=crop&w=100&h=100&q=80" alt="Product" class="w-16 h-16 object-cover rounded"><div class="ml-4 flex-1"><h4 class="text-sm font-medium text-primary-900">Smart Watch</h4><p class="text-sm text-primary-600">Color: Midnight Blue</p><p class="text-sm text-primary-600">Qty: 1</p></div><div class="text-right"><p class="text-sm font-medium text-primary-900">$199.99</p></div></div><div class="flex justify-between items-center pt-4 border-t border-primary-100"><p class="text-sm font-medium text-primary-900">Total: $209.98</p><button class="text-sm font-medium text-primary-600 hover:text-primary-900">View Details</button></div></div></div></div></div>60 unmodified lines</div><div class="pt-4"><button class="w-full bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-lg font-medium transition duration-300">Sign Out</button></div></div></div>167 unmodified linesrating: 4.5,reviews: 128,colors: ["Black", "White", "Blue"],stock: 15},{id: 2,5 unmodified linesrating: 4.7,reviews: 256,colors: ["Black", "Silver", "Midnight Blue"],stock: 8},{id: 3,5 unmodified linesrating: 4.3,reviews: 87,colors: ["Brown", "Black"],stock: 22},{id: 4,6 unmodified linesreviews: 143,colors: ["White", "Black", "Gray", "Navy"],sizes: ["S", "M", "L", "XL"],stock: 35},{id: 5,5 unmodified linesrating: 4.6,reviews: 94,colors: ["White", "Black", "Blue"],stock: 18},{id: 6,5 unmodified linesrating: 4.4,reviews: 201,colors: ["Black", "White", "Red"],stock: 12},{id: 7,6 unmodified linesreviews: 76,colors: ["Blue", "Black", "Gray"],sizes: ["28", "30", "32", "34", "36"],stock: 27},{id: 8,5 unmodified linesrating: 4.8,reviews: 42,colors: ["Natural", "Walnut", "Dark Oak"],stock: 9},{id: 9,5 unmodified linesrating: 4.5,reviews: 178,colors: ["Silver", "Black", "Rose Gold"],stock: 31},{id: 10,6 unmodified linesreviews: 63,colors: ["White", "Blue", "Beige"],sizes: ["S", "M", "L", "XL"],stock: 14},{id: 11,5 unmodified linesrating: 4.6,reviews: 112,colors: ["Black", "Blue", "Red"],stock: 7},{id: 12,5 unmodified linesrating: 4.3,reviews: 45,colors: ["Gray", "Black", "Navy", "Burgundy"],stock: 23}];// Shopping cart functionalitylet cart = [];// DOM elementsconst productGrid = document.getElementById('product-grid');41 unmodified linesconst notificationTitle = document.getElementById('notification-title');const notificationMessage = document.getElementById('notification-message');const notificationIcon = document.getElementById('notification-icon');// Current filter and paginationlet currentCategory = 'all';5 unmodified linesrenderProducts();setupEventListeners();loadCartFromStorage();updateCartCount();}// Set up event listeners7 unmodified lines// CheckoutcheckoutBtn.addEventListener('click', openCheckoutModal);placeOrderBtn.addEventListener('click', confirmOrder);// Load more productsloadMoreBtn.addEventListener('click', loadMoreProducts);5 unmodified linescurrentPage = 1;// Update active tabcategoryT</html>2 unmodified lines3456789273 unmodified lines28328428528628728828929090 unmodified lines38138238338438538638738838939039118 unmodified lines41041141241341441541624 unmodified lines4414424434444454464474484494504514524534544554564574584592 unmodified lines4624634644654664674684694704714724734744754764774784795 unmodified lines48548648748848949049149249349449549649749849950050114 unmodified lines51651751851952052152252311 unmodified lines5355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775781 unmodified line58058158258358458558658758858961 unmodified lines65165265365465565665765865966066166266318 unmodified lines68268368468568668768811 unmodified lines70070170270370470570670770870971060 unmodified lines771772773774775776777167 unmodified lines9459469479489499509519529535 unmodified lines9599609619629639649659669675 unmodified lines9739749759769779789799809816 unmodified lines9889899909919929939949959965 unmodified lines1002100310041005100610071008100910105 unmodified lines1016101710181019102010211022102310246 unmodified lines1031103210331034103510361037103810395 unmodified lines1045104610471048104910501051105210535 unmodified lines1059106010611062106310641065106610676 unmodified lines1074107510761077107810791080108110825 unmodified lines1088108910901091109210931094109510965 unmodified lines11021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112541 unmodified lines11671168116911701171117211731174117511761177117811791180118111821183118411855 unmodified lines1191119211931194119511961197119811997 unmodified lines120712081209121012111212121312145 unmodified lines122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212632 unmodified lines<head><meta charset="UTF-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><title>Dazai Starshop | Premium Online Store</title><script src="https://cdn.tailwindcss.com"></script><link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"><script>273 unmodified lines<!-- Logo --><div class="flex-shrink-0 flex items-center"><div class="flex items-center"><i class="fas fa-star text-2xl text-primary-600 mr-2"></i><span class="text-xl font-bold text-primary-800">Dazai Starshop</span></div></div>90 unmodified lines<div class="glass-card rounded-2xl p-8 md:p-12 shadow-xl hover-glow transition"><div class="flex flex-col md:flex-row items-center"><div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"><h1 class="text-4xl md:text-5xl font-bold text-primary-900 mb-4">Welcome to Dazai Starshop</h1><p class="text-lg text-primary-700 mb-8">Your premier destination for quality products at wholesale prices. Join thousands of satisfied customers today!</p><div class="flex flex-col sm:flex-row space-y-4 sm:space-y-0 sm:space-x-4"><a href="#products" class="bg-primary-600 hover:bg-primary-700 text-white px-6 py-3 rounded-lg font-medium transition duration-300 transform hover:scale-105 shadow-lg hover:shadow-xl text-center">Shop Now</a><a href="#features" class="border border-primary-600 text-primary-600 hover:bg-primary-50 px-6 py-3 rounded-lg font-medium transition duration-300 transform hover:scale-105 text-center">Become a Seller</a></div></div><div class="md:w-1/2 relative">18 unmodified lines<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><h2 class="text-3xl font-bold text-primary-900 mb-4">Featured Products</h2><p class="text-lg text-primary-600 max-w-3xl mx-auto">Browse our wide selection of wholesale products</p></div><!-- Category tabs -->24 unmodified lines<section id="features" class="py-20 bg-white"><div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="text-center mb-16"><h2 class="text-3xl font-bold text-primary-900 mb-4">Why Choose Dazai Starshop</h2><p class="text-lg text-primary-600 max-w-3xl mx-auto">We connect buyers with quality suppliers worldwide</p></div><div class="grid md:grid-cols-3 gap-8"><div class="glass-card rounded-xl p-8 hover-glow transition"><div class="flex justify-center mb-6"><div class="bg-primary-100 rounded-full p-4"><i class="fas fa-globe text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">Global Marketplace</h3><p class="text-primary-600 text-center">Access millions of products from suppliers around the world, all in one place.</p></div><div class="glass-card rounded-xl p-8 hover-glow transition">2 unmodified lines<i class="fas fa-shield-alt text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">Trade Assurance</h3><p class="text-primary-600 text-center">Your orders are protected from payment to delivery with our secure system.</p></div><div class="glass-card rounded-xl p-8 hover-glow transition"><div class="flex justify-center mb-6"><div class="bg-primary-100 rounded-full p-4"><i class="fas fa-tags text-primary-600 text-2xl"></i></div></div><h3 class="text-xl font-bold text-center text-primary-800 mb-3">Competitive Prices</h3><p class="text-primary-600 text-center">Get the best wholesale prices directly from manufacturers and suppliers.</p></div></div></div>5 unmodified lines<div class="glass-card rounded-2xl p-8 md:p-12 shadow-xl hover-glow transition"><div class="flex flex-col md:flex-row items-center"><div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"><h2 class="text-3xl font-bold text-primary-900 mb-6">About Dazai Starshop</h2><p class="text-primary-700 mb-4">Founded in 2015, Dazai Starshop has grown to become one of the leading B2B e-commerce platforms, connecting buyers with quality suppliers worldwide.</p><p class="text-primary-700 mb-6">Our mission is to make global trade easier and more accessible for businesses of all sizes, from small retailers to large corporations.</p><div class="flex items-center space-x-4"><div class="flex items-center"><i class="fas fa-check-circle text-primary-600 mr-2"></i><span class="text-primary-700">10M+ Products</span></div><div class="flex items-center"><i class="fas fa-check-circle text-primary-600 mr-2"></i><span class="text-primary-700">200+ Countries</span></div></div></div>14 unmodified lines<div class="glass-card-dark rounded-2xl p-8 md:p-12 shadow-xl"><div class="flex flex-col md:flex-row items-center justify-between"><div class="md:w-1/2 mb-8 md:mb-0"><h2 class="text-2xl font-bold mb-2">Join Our Community</h2><p class="text-primary-200">Subscribe to get the latest product updates, wholesale deals, and business tips.</p></div><div class="md:w-1/2"><form class="flex flex-col sm:flex-row gap-4">11 unmodified lines<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"><div class="grid grid-cols-2 md:grid-cols-4 gap-8 mb-12"><div><h3 class="text-lg font-semibold mb-4">Buyer Services</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">Browse Products</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Request for Quotation</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Manage Orders</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Trade Assurance</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">Supplier Services</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">Supplier Membership</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Learn to Sell</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Industry Insights</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Seller Center</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">About Dazai</h3><ul class="space-y-2"><li><a href="#" class="text-primary-300 hover:text-white transition">About Us</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Careers</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Sustainability</a></li><li><a href="#" class="text-primary-300 hover:text-white transition">Press Center</a></li></ul></div><div><h3 class="text-lg font-semibold mb-4">Help & Contact</h3><div class="flex space-x-4 mb-4"><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-facebook-f"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-twitter"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-linkedin-in"></i></a><a href="#" class="text-primary-300 hover:text-white transition"><i class="fab fa-youtube"></i></a></div><p class="text-primary-300">Email: support@dazaistarshop.com</p><p class="text-primary-300">Phone: +1 (555) 123-4567</p></div></div>1 unmodified line<div class="border-t border-primary-800 pt-8"><div class="flex flex-col md:flex-row justify-between items-center"><div class="flex items-center mb-4 md:mb-0"><i class="fas fa-star text-2xl text-primary-300 mr-2"></i><span class="text-xl font-bold text-white">Dazai Starshop</span></div><p class="text-primary-300 text-sm">© 2023 Dazai Starshop. All rights reserved.</p></div></div></div>61 unmodified lines<div class="flex flex-col items-center mb-6"><div class="relative mb-4"><img id="modal-profile-img" class="h-24 w-24 rounded-full object-cover" src="https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80" alt="Profile"><button id="change-profile-pic" class="absolute bottom-0 right-0 bg-primary-600 text-white rounded-full p-2 hover:bg-primary-700 transition"><i class="fas fa-camera"></i></button><input type="file" id="profile-pic-input" accept="image/*" class="hidden"></div><h4 id="profile-name" class="text-xl font-semibold text-primary-900">John Doe</h4><p id="profile-email" class="text-primary-600">john@example.com</p></div><form class="space-y-4">18 unmodified lines</div><div class="pt-4"><button type="button" id="save-profile" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-3 px-4 rounded-lg font-medium transition duration-300">Save Changes</button></div></form></div>11 unmodified lines</button></div><div class="space-y-6" id="orders-container"><!-- Orders will be loaded here dynamically --><div class="text-center py-10"><i class="fas fa-box-open text-4xl text-primary-300 mb-4"></i><p class="text-lg text-primary-600">You haven't placed any orders yet</p></div></div></div>60 unmodified lines</div><div class="pt-4"><button id="sign-out-btn" class="w-full bg-red-600 hover:bg-red-700 text-white py-3 px-4 rounded-lg font-medium transition duration-300">Sign Out</button></div></div></div>167 unmodified linesrating: 4.5,reviews: 128,colors: ["Black", "White", "Blue"],stock: 15,minOrder: 5,supplier: "AudioTech Ltd."},{id: 2,5 unmodified linesrating: 4.7,reviews: 256,colors: ["Black", "Silver", "Midnight Blue"],stock: 8,minOrder: 2,supplier: "TechGadgets Inc."},{id: 3,5 unmodified linesrating: 4.3,reviews: 87,colors: ["Brown", "Black"],stock: 22,minOrder: 10,supplier: "LeatherCraft Co."},{id: 4,6 unmodified linesreviews: 143,colors: ["White", "Black", "Gray", "Navy"],sizes: ["S", "M", "L", "XL"],stock: 35,minOrder: 20,supplier: "FashionHub"},{id: 5,5 unmodified linesrating: 4.6,reviews: 94,colors: ["White", "Black", "Blue"],stock: 18,minOrder: 50,supplier: "HomeEssentials"},{id: 6,5 unmodified linesrating: 4.4,reviews: 201,colors: ["Black", "White", "Red"],stock: 12,minOrder: 5,supplier: "SoundWave Tech"},{id: 7,6 unmodified linesreviews: 76,colors: ["Blue", "Black", "Gray"],sizes: ["28", "30", "32", "34", "36"],stock: 27,minOrder: 10,supplier: "DenimWorks"},{id: 8,5 unmodified linesrating: 4.8,reviews: 42,colors: ["Natural", "Walnut", "Dark Oak"],stock: 9,minOrder: 5,supplier: "WoodCrafters"},{id: 9,5 unmodified linesrating: 4.5,reviews: 178,colors: ["Silver", "Black", "Rose Gold"],stock: 31,minOrder: 10,supplier: "HydrateWell"},{id: 10,6 unmodified linesreviews: 63,colors: ["White", "Blue", "Beige"],sizes: ["S", "M", "L", "XL"],stock: 14,minOrder: 5,supplier: "CasualWear Co."},{id: 11,5 unmodified linesrating: 4.6,reviews: 112,colors: ["Black", "Blue", "Red"],stock: 7,minOrder: 3,supplier: "AudioMasters"},{id: 12,5 unmodified linesrating: 4.3,reviews: 45,colors: ["Gray", "Black", "Navy", "Burgundy"],stock: 23,minOrder: 10,supplier: "WinterWear Ltd."}];// Shopping cart functionalitylet cart = [];let orders = [];// User profile datalet userProfile = {name: "John Doe",email: "john@example.com",phone: "+1 (555) 123-4567",address: "123 Main St, Apt 4B, New York, NY 10001",profilePic: "https://images.unsplash.com/photo-1472099645785-5658abf4ff4e?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=facearea&facepad=2&w=256&h=256&q=80"};// DOM elementsconst productGrid = document.getElementById('product-grid');41 unmodified linesconst notificationTitle = document.getElementById('notification-title');const notificationMessage = document.getElementById('notification-message');const notificationIcon = document.getElementById('notification-icon');const profileImg = document.getElementById('profile-img');const modalProfileImg = document.getElementById('modal-profile-img');const profileName = document.getElementById('profile-name');const profileEmail = document.getElementById('profile-email');const nameInput = document.getElementById('name');const emailInput = document.getElementById('email');const phoneInput = document.getElementById('phone');const addressInput = document.getElementById('address');const saveProfileBtn = document.getElementById('save-profile');const changeProfilePicBtn = document.getElementById('change-profile-pic');const profilePicInput = document.getElementById('profile-pic-input');const signOutBtn = document.getElementById('sign-out-btn');const ordersContainer = document.getElementById('orders-container');// Current filter and paginationlet currentCategory = 'all';5 unmodified linesrenderProducts();setupEventListeners();loadCartFromStorage();loadOrdersFromStorage();updateCartCount();updateProfileUI();}// Set up event listeners7 unmodified lines// CheckoutcheckoutBtn.addEventListener('click', openCheckoutModal);placeOrderBtn.addEventListener('click', confirmOrder);viewOrderBtn.addEventListener('click', viewOrderDetails);continueShoppingBtn.addEventListener('click', continueShopping);// Load more productsloadMoreBtn.addEventListener('click', loadMoreProducts);5 unmodified linescurrentPage = 1;// Update active tabcategoryTabs.forEach(t => t.classList.remove('active'));tab.classList.add('active');// Re-render productsrenderProducts();});});// Profile dropdownuserMenuBtn.addEventListener('click', toggleProfileDropdown);// Profile linksprofileLink.addEventListener('click', (e) => {e.preventDefault();closeProfileDropdown();openProfileModal();});ordersLink.addEventListener('click', (e) => {e.preventDefault();closeProfileDropdown();openOrdersModal();});settingsLink.addEventListener('click', (e) => {e.preventDefault();closeProfileDropdown();openSettingsModal();});signoutLink.addEventListener('click', (e) => {e.preventDefault();closeProfileDropdown();signOut();});// Mobile menumobileMenuToggle.addEventListener('click', toggleMobileMenu);//</html>
1so i want you to make me a fully funtional online shop with dynamic UI and profile system and add to cart and stuff color skeem is blue glass and sky gray glass mat glass hover under glow and more add some extra from ur self12just write a simple java scriptmake the page similer to the alibaba store and keep the color skeem and change the name to dazai starshop and use javascript to make the buttons funtional and make it so when i click on the profile it will take me to the profile page and i can edit the name and profile picture and make it so i can order stuff and it will go to my cart and make the website more funtional dont finish until everything works
index.html+159-120
prompts.txt+2-1