Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>PharmaHub | Your Trusted Pharmacy</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"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| scroll-behavior: smooth; | |
| } | |
| .hero-gradient { | |
| background: linear-gradient(135deg, #2c6834 0%, #3f7344 50%, #5d9245 100%); | |
| } | |
| .product-card { | |
| transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); | |
| border: 1px solid rgba(0,0,0,0.1); | |
| } | |
| .product-card:hover { | |
| transform: translateY(-8px); | |
| box-shadow: 0 14px 28px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.08); | |
| border-color: rgba(93, 146, 69, 0.3); | |
| } | |
| .testimonial-card { | |
| transition: all 0.3s ease; | |
| } | |
| .testimonial-card:hover { | |
| transform: scale(1.03); | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| display: block; | |
| width: 0; | |
| height: 2px; | |
| background: #3B82F6; | |
| transition: width 0.3s; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| background: #5d9245; | |
| } | |
| .cart-count { | |
| position: absolute; | |
| top: -8px; | |
| right: -8px; | |
| background-color: #5d9245; | |
| color: white; | |
| border-radius: 50%; | |
| width: 20px; | |
| height: 20px; | |
| display: flex; | |
| align-items: center; | |
| justify-content: center; | |
| font-size: 12px; | |
| } | |
| .mobile-menu { | |
| max-height: 0; | |
| overflow: hidden; | |
| transition: all 0.5s cubic-bezier(0.77,0.2,0.05,1.0); | |
| opacity: 0; | |
| transform: translateY(-20px); | |
| } | |
| .mobile-menu.open { | |
| max-height: 500px; | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| /* Animation for featured products */ | |
| @keyframes float { | |
| 0% { transform: translateY(0px); } | |
| 50% { transform: translateY(-10px); } | |
| 100% { transform: translateY(0px); } | |
| } | |
| .floating { | |
| animation: float 3s ease-in-out infinite; | |
| } | |
| /* Loading animation */ | |
| .loader { | |
| border: 4px solid #f3f3f3; | |
| border-top: 4px solid #5d9245; | |
| border-radius: 50%; | |
| width: 30px; | |
| height: 30px; | |
| animation: spin 1s linear infinite; | |
| margin: 20px auto; | |
| } | |
| @keyframes spin { | |
| 0% { transform: rotate(0deg); } | |
| 100% { transform: rotate(360deg); } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- Image Prompts Configuration --> | |
| <script type="application/json" id="imagePromptsConfig"> | |
| { | |
| "hero": "https://static.photos/medical/800x600/1", | |
| "productImages": [ | |
| "https://static.photos/medical/400x300/101", | |
| "https://static.photos/medical/400x300/102", | |
| "https://static.photos/medical/400x300/103", | |
| "https://static.photos/medical/400x300/104" | |
| ], | |
| "about": "https://static.photos/workspace/800x600/201", | |
| "testimonials": [ | |
| "https://static.photos/people/48x48/301", | |
| "https://static.photos/people/48x48/302", | |
| "https://static.photos/people/48x48/303" | |
| ], | |
| "categories": { | |
| "medical": "medical", | |
| "workspace": "workspace", | |
| "people": "people" | |
| }, | |
| "placeholder": "https://static.photos/abstract/100x100" | |
| } | |
| </script> | |
| <!-- Header/Navigation --> | |
| <header class="bg-white shadow-sm sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center"> | |
| <a href="#" class="flex items-center"> | |
| <i class="fas fa-heartbeat text-blue-600 text-3xl mr-2"></i> | |
| <span class="text-xl font-bold text-gray-800">PharmaCare</span> | |
| </a> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="#home" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Home</a> | |
| <a href="#products" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Products</a> | |
| <a href="#about" class="nav-link text-gray-700 hover:text-blue-600 font-medium">About</a> | |
| <a href="#testimonials" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Testimonials</a> | |
| <a href="#contact" class="nav-link text-gray-700 hover:text-blue-600 font-medium">Contact</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <div class="relative"> | |
| <button id="cartButton" class="text-gray-700 hover:text-blue-600"> | |
| <i class="fas fa-shopping-cart text-xl"></i> | |
| <span id="cartCount" class="cart-count hidden">0</span> | |
| </button> | |
| </div> | |
| <button id="mobileMenuButton" class="md:hidden text-gray-700"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Mobile Menu --> | |
| <div id="mobileMenu" class="mobile-menu md:hidden bg-white w-full px-4"> | |
| <div class="flex flex-col space-y-3 py-4"> | |
| <a href="#home" class="text-gray-700 hover:text-blue-600 font-medium">Home</a> | |
| <a href="#products" class="text-gray-700 hover:text-blue-600 font-medium">Products</a> | |
| <a href="#about" class="text-gray-700 hover:text-blue-600 font-medium">About</a> | |
| <a href="#testimonials" class="text-gray-700 hover:text-blue-600 font-medium">Testimonials</a> | |
| <a href="#contact" class="text-gray-700 hover:text-blue-600 font-medium">Contact</a> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Hero Section --> | |
| <section id="home" class="bg-blue-900 text-white py-16 md:py-24"> | |
| <div class="container mx-auto px-4 flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-4">Premium Pharmaceuticals Delivered Discreetly</h1> | |
| <p class="text-xl mb-8 opacity-90">FDA-approved medications including pain relief, anxiety treatment, and ED solutions.</p> | |
| <div class="flex flex-col sm:flex-row space-y-3 sm:space-y-0 sm:space-x-4"> | |
| <a href="#products" class="bg-white text-[#5d9245] hover:bg-gray-100 font-bold py-3 px-6 rounded-full text-center transition duration-300">Shop Now</a> | |
| <a href="#about" class="border-2 border-white text-white hover:bg-white hover:text-[#5d9245] font-bold py-3 px-6 rounded-full text-center transition duration-300">Learn More</a> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 flex justify-center"> | |
| <img id="heroImage" src="" alt="Pharmaceutical products" class="rounded-xl shadow-2xl max-w-md w-full floating"> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="bg-white py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-8"> | |
| <div class="bg-gray-50 p-6 rounded-xl text-center"> | |
| <div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-flask text-blue-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Clinically Proven</h3> | |
| <p class="text-gray-600">Our medications are developed following strict pharmaceutical standards and regulations.</p> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-xl text-center"> | |
| <div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-leaf text-green-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Natural Ingredients</h3> | |
| <p class="text-gray-600">Premium quality, plant-based ingredients with no artificial additives.</p> | |
| </div> | |
| <div class="bg-gray-50 p-6 rounded-xl text-center"> | |
| <div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> | |
| <i class="fas fa-medal text-purple-600 text-2xl"></i> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Quality Guaranteed</h3> | |
| <p class="text-gray-600">Third-party tested for purity and potency. 100% satisfaction guarantee.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Products Section --> | |
| <section id="products" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold mb-4">Our Pharmaceutical Products</h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">Trusted medications and health products for various therapeutic needs.</p> | |
| </div> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8"> | |
| <!-- Product 1 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden product-card transition duration-300"> | |
| <div class="relative"> | |
| <img id="productImage1" src="" alt="Xanax" class="w-full h-48 object-contain bg-gray-100 p-4"> | |
| <span class="absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full">BESTSELLER</span> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Xanax (Alprazolam) 1mg</h3> | |
| <p class="text-gray-600 text-sm mb-4">For anxiety and panic disorders. 30 tablets.</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-xl font-bold text-blue-600">$89.99</span> | |
| <button class="add-to-cart bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-full text-sm font-medium transition duration-300" data-id="1" data-name="Xanax 1mg" data-price="89.99"> | |
| Add to Cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 2 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden product-card transition duration-300"> | |
| <div class="relative"> | |
| <img id="productImage2" src="" alt="Valium" class="w-full h-48 object-contain bg-gray-100 p-4"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Valium (Diazepam) 10mg</h3> | |
| <p class="text-gray-600 text-sm mb-4">For anxiety, muscle spasms and seizures. 30 tablets.</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-xl font-bold text-blue-600">$79.99</span> | |
| <button class="add-to-cart bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-full text-sm font-medium transition duration-300" data-id="2" data-name="Valium 10mg" data-price="79.99"> | |
| Add to Cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 3 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden product-card transition duration-300"> | |
| <div class="relative"> | |
| <img id="productImage3" src="" alt="Viagra" class="w-full h-48 object-contain bg-gray-100 p-4"> | |
| <span class="absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded-full">NEW</span> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Viagra (Sildenafil) 100mg</h3> | |
| <p class="text-gray-600 text-sm mb-4">For erectile dysfunction. 4 tablets.</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-xl font-bold text-blue-600">$69.99</span> | |
| <button class="add-to-cart bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-full text-sm font-medium transition duration-300" data-id="3" data-name="Viagra 100mg" data-price="69.99"> | |
| Add to Cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Product 4 --> | |
| <div class="bg-white rounded-xl shadow-md overflow-hidden product-card transition duration-300"> | |
| <div class="relative"> | |
| <img id="productImage4" src="" alt="Codeine" class="w-full h-48 object-contain bg-gray-100 p-4"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold mb-2">Codeine 30mg</h3> | |
| <p class="text-gray-600 text-sm mb-4">For moderate to severe pain. 30 tablets.</p> | |
| <div class="flex justify-between items-center"> | |
| <span class="text-xl font-bold text-blue-600">$99.99</span> | |
| <button class="add-to-cart bg-blue-600 hover:bg-blue-700 text-white px-4 py-2 rounded-full text-sm font-medium transition duration-300" data-id="4" data-name="Codeine 30mg" data-price="99.99"> | |
| Add to Cart | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="text-center mt-12"> | |
| <a href="#" class="inline-block border-2 border-[#5d9245] text-[#5d9245] hover:bg-[#5d9245] hover:text-white font-bold py-3 px-8 rounded-full transition duration-300"> | |
| View All Products | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- About Section --> | |
| <section id="about" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row items-center"> | |
| <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"> | |
| <img id="aboutImage" src="" alt="Our lab" class="rounded-xl shadow-lg w-full"> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <h2 class="text-3xl font-bold mb-6">Our Pharmaceutical Expertise</h2> | |
| <p class="text-gray-600 mb-4">At PharmaCare, we are committed to providing high-quality medications that meet strict safety and efficacy standards.</p> | |
| <p class="text-gray-600 mb-6">Our team of pharmacists and healthcare professionals ensures all products meet pharmaceutical-grade quality requirements.</p> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-2 rounded-full mr-4"> | |
| <i class="fas fa-check text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Rigorous Testing</h4> | |
| <p class="text-gray-600 text-sm">Every batch is third-party tested for purity and potency.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-2 rounded-full mr-4"> | |
| <i class="fas fa-check text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Sustainable Sourcing</h4> | |
| <p class="text-gray-600 text-sm">We partner with ethical suppliers who share our values.</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-2 rounded-full mr-4"> | |
| <i class="fas fa-check text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Transparent Formulas</h4> | |
| <p class="text-gray-600 text-sm">No proprietary blends - you know exactly what you're taking.</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Testimonials Section --> | |
| <section id="testimonials" class="py-16 bg-gray-50"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold mb-4">What Our Customers Say</h2> | |
| <p class="text-gray-600 max-w-2xl mx-auto">Thousands of people have experienced the NeuroFuel difference.</p> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Testimonial 1 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm testimonial-card"> | |
| <div class="flex items-center mb-4"> | |
| <img id="testimonialImage1" src="" alt="Sarah J." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Sarah J.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"Focus Fuel has completely transformed my workdays. I can power through tasks without the jitters I used to get from coffee. My productivity has never been higher!"</p> | |
| </div> | |
| <!-- Testimonial 2 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm testimonial-card"> | |
| <div class="flex items-center mb-4"> | |
| <img id="testimonialImage2" src="" alt="Michael T." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Michael T.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"As a medical student, Memory Boost has been a game-changer for my studies. I retain information better and feel more alert during long study sessions."</p> | |
| </div> | |
| <!-- Testimonial 3 --> | |
| <div class="bg-white p-6 rounded-xl shadow-sm testimonial-card"> | |
| <div class="flex items-center mb-4"> | |
| <img id="testimonialImage3" src="" alt="Priya K." class="w-12 h-12 rounded-full mr-4"> | |
| <div> | |
| <h4 class="font-bold">Priya K.</h4> | |
| <div class="flex text-yellow-400"> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star"></i> | |
| <i class="fas fa-star-half-alt"></i> | |
| </div> | |
| </div> | |
| </div> | |
| <p class="text-gray-600">"Stress Relief has helped me manage my anxiety naturally. I feel calmer and more centered without any drowsiness. It's become an essential part of my daily routine."</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Newsletter Section --> | |
| <section class="py-16 bg-blue-800 text-white"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h2 class="text-3xl font-bold mb-4">Join Our NeuroCommunity</h2> | |
| <p class="text-blue-100 max-w-2xl mx-auto mb-8">Subscribe to get exclusive offers, neuroscience tips, and early access to new products.</p> | |
| <form class="max-w-md mx-auto flex flex-col sm:flex-row gap-3"> | |
| <input type="email" placeholder="Your email address" class="flex-grow px-4 py-3 rounded-full text-gray-800 focus:outline-none focus:ring-2 focus:ring-blue-300"> | |
| <button type="submit" class="bg-white text-[#5d9245] hover:bg-gray-100 font-bold px-6 py-3 rounded-full transition duration-300">Subscribe</button> | |
| </form> | |
| <p class="text-blue-100 text-sm mt-4">We respect your privacy. Unsubscribe at any time.</p> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section id="contact" class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row"> | |
| <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10"> | |
| <h2 class="text-3xl font-bold mb-6">Get In Touch</h2> | |
| <p class="text-gray-600 mb-6">Have questions about our products or need recommendations? Our team is here to help.</p> | |
| <div class="space-y-6"> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-envelope text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Email Us</h4> | |
| <p class="text-gray-600">support@neurofuel.com</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-phone text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Call Us</h4> | |
| <p class="text-gray-600">(800) 555-0192</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-100 p-3 rounded-full mr-4"> | |
| <i class="fas fa-map-marker-alt text-blue-600"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-bold">Visit Us</h4> | |
| <p class="text-gray-600">123 Biohack Ave, San Francisco, CA 94107</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 flex space-x-4"> | |
| <a href="#" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-facebook-f text-blue-600"></i> | |
| </a> | |
| <a href="#" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-twitter text-blue-400"></i> | |
| </a> | |
| <a href="#" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-instagram text-purple-600"></i> | |
| </a> | |
| <a href="#" class="bg-gray-100 hover:bg-gray-200 p-3 rounded-full transition duration-300"> | |
| <i class="fab fa-linkedin-in text-blue-700"></i> | |
| </a> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2"> | |
| <form class="bg-gray-50 p-6 rounded-xl shadow-sm"> | |
| <div class="mb-4"> | |
| <label for="name" class="block text-gray-700 font-medium mb-2">Name</label> | |
| <input type="text" id="name" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="email" class="block text-gray-700 font-medium mb-2">Email</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="subject" class="block text-gray-700 font-medium mb-2">Subject</label> | |
| <input type="text" id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="message" class="block text-gray-700 font-medium mb-2">Message</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-blue-500 focus:border-transparent"></textarea> | |
| </div> | |
| <button type="submit" class="bg-[#5d9245] hover:bg-[#2c6834] text-white font-bold py-3 px-6 rounded-full transition duration-300 w-full"> | |
| Send Message | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Custom Order Form --> | |
| <section class="py-16 bg-[#f0f8ef]"> | |
| <div class="container mx-auto px-4"> | |
| <div class="max-w-3xl mx-auto bg-white rounded-xl shadow-md overflow-hidden"> | |
| <div class="md:flex"> | |
| <div class="md:w-1/2 bg-green-100 p-8 flex items-center justify-center"> | |
| <div class="text-center"> | |
| <i class="fas fa-pills text-green-500 text-5xl mb-4"></i> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Need a Special Order?</h3> | |
| <p class="text-gray-600">Can't find what you're looking for? Our pharmacists can prepare custom medications just for you.</p> | |
| </div> | |
| </div> | |
| <div class="md:w-1/2 p-8"> | |
| <h2 class="text-2xl font-bold text-gray-800 mb-6">Custom Medication Request</h2> | |
| <form> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-bold mb-2" for="name">Full Name</label> | |
| <input class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" type="text" id="name" placeholder="Your name"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-bold mb-2" for="email">Email</label> | |
| <input class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" type="email" id="email" placeholder="your@email.com"> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-bold mb-2" for="request">Medication Details</label> | |
| <textarea class="w-full px-3 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-green-500" id="request" rows="4" placeholder="Describe your medication needs, dosage requirements, and any special instructions"></textarea> | |
| </div> | |
| <div class="mb-4"> | |
| <label class="block text-gray-700 text-sm font-bold mb-2" for="prescription">Prescription Upload</label> | |
| <div class="border-2 border-dashed border-gray-300 rounded-md p-4 text-center"> | |
| <i class="fas fa-file-upload text-green-500 text-2xl mb-2"></i> | |
| <p class="text-sm text-gray-600">Drag and drop your prescription here or click to browse</p> | |
| <input type="file" id="prescription" class="hidden"> | |
| </div> | |
| </div> | |
| <button type="submit" class="w-full bg-[#5d9245] hover:bg-[#2c6834] text-white font-bold py-3 px-4 rounded-md transition duration-300"> | |
| Submit Request | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-blue-900 text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <a href="#" class="flex items-center mb-6"> | |
| <i class="fas fa-prescription-bottle-alt text-[#5d9245] text-3xl mr-2"></i> | |
| <span class="text-xl font-bold">PharmaHub</span> | |
| </a> | |
| <p class="text-gray-400">Your trusted source for quality pharmaceutical products and healthcare solutions.</p> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Shop</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">All Products</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Focus & Energy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Memory & Learning</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Stress & Mood</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Bundles</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Company</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">About Us</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Our Science</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Blog</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Careers</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h3 class="text-lg font-bold mb-4">Support</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">FAQ</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Shipping</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Returns</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Privacy Policy</a></li> | |
| <li><a href="#" class="text-gray-400 hover:text-white transition duration-300">Terms of Service</a></li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-800 mt-12 pt-8 flex flex-col md:flex-row justify-between items-center"> | |
| <p class="text-gray-400 mb-4 md:mb-0">© 2023 NeuroFuel. All rights reserved.</p> | |
| <div class="flex space-x-6"> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-cc-visa text-2xl"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-cc-mastercard text-2xl"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-cc-amex text-2xl"></i> | |
| </a> | |
| <a href="#" class="text-gray-400 hover:text-white transition duration-300"> | |
| <i class="fab fa-cc-paypal text-2xl"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Back to top button --> | |
| <button id="backToTop" class="fixed bottom-6 right-6 bg-[#5d9245] text-white w-12 h-12 rounded-full shadow-lg flex items-center justify-center opacity-0 invisible transition-all duration-300 hover:bg-[#3f7344]"> | |
| <i class="fas fa-arrow-up"></i> | |
| </button> | |
| <!-- Shopping Cart Modal --> | |
| <div id="cartModal" class="fixed inset-0 z-50 hidden overflow-y-auto"> | |
| <div class="flex items-center justify-center min-h-screen pt-4 px-4 pb-20 text-center sm:block sm:p-0"> | |
| <div class="fixed inset-0 transition-opacity" aria-hidden="true"> | |
| <div class="absolute inset-0 bg-gray-500 opacity-75"></div> | |
| </div> | |
| <span class="hidden sm:inline-block sm:align-middle sm:h-screen" aria-hidden="true">​</span> | |
| <div class="inline-block align-bottom bg-white rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full"> | |
| <div class="bg-white px-4 pt-5 pb-4 sm:p-6 sm:pb-4"> | |
| <div class="flex justify-between items-center border-b pb-4 mb-4"> | |
| <h3 class="text-lg font-bold">Your Cart</h3> | |
| <button id="closeCart" class="text-gray-500 hover:text-gray-700"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| </div> | |
| <div id="cartItems" class="max-h-96 overflow-y-auto"> | |
| <!-- Cart items will be added here dynamically --> | |
| <p class="text-gray-500 text-center py-8">Your cart is empty</p> | |
| </div> | |
| <div class="border-t mt-4 pt-4"> | |
| <div class="flex justify-between mb-2"> | |
| <span class="font-medium">Subtotal:</span> | |
| <span id="cartSubtotal" class="font-bold">$0.00</span> | |
| </div> | |
| <p class="text-sm text-gray-500 mb-4">Shipping and taxes calculated at checkout</p> | |
| <div class="flex space-x-3"> | |
| <button id="continueShopping" class="flex-1 border-2 border-[#5d9245] text-[#5d9245] hover:bg-green-50 font-bold py-2 px-4 rounded-full transition duration-300"> | |
| Continue Shopping | |
| </button> | |
| <button id="checkoutButton" class="flex-1 bg-[#5d9245] hover:bg-[#2c6834] text-white font-bold py-2 px-4 rounded-full transition duration-300"> | |
| Checkout | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Image Optimizer Component --> | |
| <script src="components/image-optimizer.js"></script> | |
| <script src="components/image-gallery.js"></script> | |
| <script> | |
| // Image Prompts Configuration Loader | |
| function loadImagePrompts() { | |
| try { | |
| const configElement = document.getElementById('imagePromptsConfig'); | |
| if (!configElement) { | |
| console.warn('Image prompts config not found'); | |
| return null; | |
| } | |
| const config = JSON.parse(configElement.textContent); | |
| console.log('Image prompts config loaded:', config); | |
| return config; | |
| } catch (error) { | |
| console.error('Failed to load image prompts:', error); | |
| return null; | |
| } | |
| } | |
| // Apply image prompts to all images | |
| function applyImagePrompts() { | |
| const config = loadImagePrompts(); | |
| if (!config) return; | |
| // Apply hero image | |
| const heroImg = document.getElementById('heroImage'); | |
| if (heroImg && config.hero) { | |
| heroImg.src = config.hero; | |
| } | |
| // Apply product images | |
| for (let i = 1; i <= 4; i++) { | |
| const img = document.getElementById(`productImage${i}`); | |
| if (img && config.productImages[i-1]) { | |
| img.src = config.productImages[i-1]; | |
| } | |
| } | |
| // Apply about image | |
| const aboutImg = document.getElementById('aboutImage'); | |
| if (aboutImg && config.about) { | |
| aboutImg.src = config.about; | |
| } | |
| // Apply testimonial images | |
| for (let i = 1; i <= 3; i++) { | |
| const img = document.getElementById(`testimonialImage${i}`); | |
| if (img && config.testimonials[i-1]) { | |
| img.src = config.testimonials[i-1]; | |
| } | |
| } | |
| } | |
| // Mobile menu toggle | |
| const mobileMenuButton = document.getElementById('mobileMenuButton'); | |
| const mobileMenu = document.getElementById('mobileMenu'); | |
| if (mobileMenuButton && mobileMenu) { | |
| mobileMenuButton.addEventListener('click', () => { | |
| mobileMenu.classList.toggle('open'); | |
| }); | |
| } | |
| // Smooth scrolling for navigation links | |
| document.querySelectorAll('a[href^="#"]').forEach(anchor => { | |
| anchor.addEventListener('click', function (e) { | |
| e.preventDefault(); | |
| const targetId = this.getAttribute('href'); | |
| const targetElement = document.querySelector(targetId); | |
| if (targetElement) { | |
| window.scrollTo({ | |
| top: targetElement.offsetTop - 80, | |
| behavior: 'smooth' | |
| }); | |
| // Close mobile menu if open | |
| if (mobileMenu) mobileMenu.classList.remove('open'); | |
| } | |
| }); | |
| }); | |
| // Shopping cart functionality | |
| let cart = []; | |
| // Cart buttons | |
| const cartButton = document.getElementById('cartButton'); | |
| const closeCart = document.getElementById('closeCart'); | |
| const continueShopping = document.getElementById('continueShopping'); | |
| const cartModal = document.getElementById('cartModal'); | |
| const cartCount = document.getElementById('cartCount'); | |
| const cartItems = document.getElementById('cartItems'); | |
| const cartSubtotal = document.getElementById('cartSubtotal'); | |
| const checkoutButton = document.getElementById('checkoutButton'); | |
| // Add to cart buttons | |
| const addToCartButtons = document.querySelectorAll('.add-to-cart'); | |
| // Toggle cart modal | |
| if (cartButton && cartModal) { | |
| cartButton.addEventListener('click', () => { | |
| cartModal.classList.remove('hidden'); | |
| renderCart(); | |
| }); | |
| } | |
| if (closeCart) { | |
| closeCart.addEventListener('click', () => { | |
| cartModal.classList.add('hidden'); | |
| }); | |
| } | |
| if (continueShopping) { | |
| continueShopping.addEventListener('click', () => { | |
| cartModal.classList.add('hidden'); | |
| }); | |
| } | |
| // Add to cart functionality | |
| if (addToCartButtons.length > 0) { | |
| addToCartButtons.forEach(button => { | |
| button.addEventListener('click', () => { | |
| const id = button.getAttribute('data-id'); | |
| const name = button.getAttribute('data-name'); | |
| const price = parseFloat(button.getAttribute('data-price')); | |
| // Check if item already exists in cart | |
| const existingItem = cart.find(item => item.id === id); | |
| if (existingItem) { | |
| existingItem.quantity += 1; | |
| } else { | |
| cart.push({ | |
| id, | |
| name, | |
| price, | |
| quantity: 1 | |
| }); | |
| } | |
| updateCartCount(); | |
| renderCart(); | |
| // Show cart modal | |
| if (cartModal) cartModal.classList.remove('hidden'); | |
| // Add animation to button | |
| button.innerHTML = '<i class="fas fa-check mr-2"></i> Added'; | |
| button.classList.add('bg-green-600', 'hover:bg-green-700'); | |
| setTimeout(() => { | |
| button.innerHTML = 'Add to Cart'; | |
| button.classList.remove('bg-green-600', 'hover:bg-green-700'); | |
| button.classList.add('bg-blue-600', 'hover:bg-blue-700'); | |
| }, 2000); | |
| }); | |
| }); | |
| } | |
| // Update cart count in header | |
| function updateCartCount() { | |
| const totalItems = cart.reduce((total, item) => total + item.quantity, 0); | |
| if (cartCount) { | |
| if (totalItems > 0) { | |
| cartCount.textContent = totalItems; | |
| cartCount.classList.remove('hidden'); | |
| } else { | |
| cartCount.classList.add('hidden'); | |
| } | |
| } | |
| } | |
| // Render cart items | |
| function renderCart() { | |
| if (!cartItems || !cartSubtotal || !checkoutButton) return; | |
| if (cart.length === 0) { | |
| cartItems.innerHTML = '<p class="text-gray-500 text-center py-8">Your cart is empty</p>'; | |
| cartSubtotal.textContent = '$0.00'; | |
| checkoutButton.disabled = true; | |
| checkoutButton.classList.add('opacity-50', 'cursor-not-allowed'); | |
| return; | |
| } | |
| checkoutButton.disabled = false; | |
| checkoutButton.classList.remove('opacity-50', 'cursor-not-allowed'); | |
| let itemsHTML = ''; | |
| let subtotal = 0; | |
| cart.forEach(item => { | |
| const itemTotal = item.price * item.quantity; | |
| subtotal += itemTotal; | |
| itemsHTML += ` | |
| <div class="flex justify-between items-center py-4 border-b"> | |
| <div> | |
| <h4 class="font-medium">${item.name}</h4> | |
| <p class="text-gray-600 text-sm">${item.price.toFixed(2)}</p> | |
| </div> | |
| <div class="flex items-center"> | |
| <button class="decrease-quantity text-gray-500 hover:text-blue-600 px-2" data-id="${item.id}"> | |
| <i class="fas fa-minus"></i> | |
| </button> | |
| <span class="mx-2 w-8 text-center">${item.quantity}</span> | |
| <button class="increase-quantity text-gray-500 hover:text-blue-600 px-2" data-id="${item.id}"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| <button class="remove-item text-red-500 hover:text-red-700 ml-4" data-id="${item.id}"> | |
| <i class="fas fa-trash"></i> | |
| </button> | |
| </div> | |
| </div> | |
| `; | |
| }); | |
| cartItems.innerHTML = itemsHTML; | |
| cartSubtotal.textContent = `${subtotal.toFixed(2)}`; | |
| // Add event listeners to quantity buttons | |
| document.querySelectorAll('.decrease-quantity').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const id = button.getAttribute('data-id'); | |
| const item = cart.find(item => item.id === id); | |
| if (item.quantity > 1) { | |
| item.quantity -= 1; | |
| } else { | |
| cart = cart.filter(item => item.id !== id); | |
| } | |
| updateCartCount(); | |
| renderCart(); | |
| }); | |
| }); | |
| document.querySelectorAll('.increase-quantity').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const id = button.getAttribute('data-id'); | |
| const item = cart.find(item => item.id === id); | |
| item.quantity += 1; | |
| updateCartCount(); | |
| renderCart(); | |
| }); | |
| }); | |
| document.querySelectorAll('.remove-item').forEach(button => { | |
| button.addEventListener('click', () => { | |
| const id = button.getAttribute('data-id'); | |
| cart = cart.filter(item => item.id !== id); | |
| updateCartCount(); | |
| renderCart(); | |
| }); | |
| }); | |
| } | |
| // Checkout button | |
| if (checkoutButton) { | |
| checkoutButton.addEventListener('click', () => { | |
| // Show loading state | |
| checkoutButton.innerHTML = '<div class="loader-small"></div> Processing...'; | |
| checkoutButton.disabled = true; | |
| // Simulate API call | |
| setTimeout(() => { | |
| alert('Thank you for your purchase! This is a demo site, no actual order will be placed.'); | |
| cart = []; | |
| updateCartCount(); | |
| renderCart(); | |
| if (cartModal) cartModal.classList.add('hidden'); | |
| // Reset button | |
| checkoutButton.innerHTML = 'Checkout'; | |
| checkoutButton.disabled = false; | |
| }, 1500); | |
| }); | |
| } | |
| // Close modal when clicking outside | |
| window.addEventListener('click', (e) => { | |
| if (cartModal && e.target === cartModal) { | |
| cartModal.classList.add('hidden'); | |
| } | |
| }); | |
| // Back to top button | |
| const backToTopButton = document.getElementById('backToTop'); | |
| if (backToTopButton) { | |
| window.addEventListener('scroll', () => { | |
| if (window.pageYOffset > 300) { | |
| backToTopButton.classList.remove('opacity-0', 'invisible'); | |
| backToTopButton.classList.add('opacity-100', 'visible'); | |
| } else { | |
| backToTopButton.classList.remove('opacity-100', 'visible'); | |
| backToTopButton.classList.add('opacity-0', 'invisible'); | |
| } | |
| }); | |
| backToTopButton.addEventListener('click', () => { | |
| window.scrollTo({ | |
| top: 0, | |
| behavior: 'smooth' | |
| }); | |
| }); | |
| } | |
| // Image optimization initialization | |
| document.addEventListener('DOMContentLoaded', function() { | |
| // Apply image prompts from config | |
| applyImagePrompts(); | |
| // Replace product images with optimized versions after they are loaded | |
| setTimeout(() => { | |
| const productImages = document.querySelectorAll('.product-card img'); | |
| productImages.forEach(img => { | |
| const parent = img.parentElement; | |
| const alt = img.alt; | |
| const src = img.src; | |
| if (src && src !== '' && typeof customElements !== 'undefined' && customElements.get('optimized-image')) { | |
| // Create optimized image component | |
| const optimizedImg = document.createElement('optimized-image'); | |
| optimizedImg.setAttribute('src', src); | |
| optimizedImg.setAttribute('alt', alt); | |
| optimizedImg.setAttribute('height', '200px'); | |
| optimizedImg.setAttribute('lazy', ''); | |
| // Replace the original image | |
| img.replaceWith(optimizedImg); | |
| } | |
| }); | |
| }, 100); | |
| }); | |
| </script> | |
| <p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=steake/pharma-see" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |