Spaces:
Running
Running
Download contact.html from dnixsystems/undefined: direct link, hf CLI and curl.
- Browser
- Download file 20.3 kB
-
https://huggingface.co/spaces/dnixsystems/undefined/resolve/main/contact.html
- Command line
-
hf download hf://spaces/dnixsystems/undefined/contact.html
-
curl -L -o contact.html https://huggingface.co/spaces/dnixsystems/undefined/resolve/main/contact.html
20.3 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Contact Us - Idukki Spices</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: { | |
| 50: '#fef2f2', | |
| 100: '#fee2e2', | |
| 200: '#fecaca', | |
| 300: '#fca5a5', | |
| 400: '#f87171', | |
| 500: '#ef4444', | |
| 600: '#dc2626', | |
| 700: '#b91c1c', | |
| 800: '#991b1b', | |
| 900: '#7f1d1d', | |
| }, | |
| secondary: { | |
| 50: '#f8fafc', | |
| 100: '#f1f5f9', | |
| 200: '#e2e8f0', | |
| 300: '#cbd5e1', | |
| 400: '#94a3b8', | |
| 500: '#64748b', | |
| 600: '#475569', | |
| 700: '#334155', | |
| 800: '#1e293b', | |
| 900: '#0f172a', | |
| } | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Poppins', sans-serif; | |
| } | |
| #map { | |
| height: 400px; | |
| width: 100%; | |
| } | |
| .contact-icon { | |
| width: 50px; | |
| height: 50px; | |
| background-color: rgba(239, 68, 68, 0.1); | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-50"> | |
| <!-- Navigation --> | |
| <nav class="bg-primary-600 text-white shadow-lg"> | |
| <div class="container mx-auto px-4 py-3"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <i data-feather="coffee" class="text-yellow-300"></i> | |
| <span class="text-xl font-bold">Idukki Spices</span> | |
| </div> | |
| <div class="hidden md:flex space-x-6"> | |
| <a href="index.html" class="hover:text-yellow-200">Home</a> | |
| <a href="products.html" class="hover:text-yellow-200">Products</a> | |
| <a href="#" class="hover:text-yellow-200">About Us</a> | |
| <a href="contact.html" class="hover:text-yellow-200 font-semibold underline">Contact</a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <i data-feather="shopping-cart" class="hover:text-yellow-200 cursor-pointer"></i> | |
| <i data-feather="user" class="hover:text-yellow-200 cursor-pointer"></i> | |
| <button class="md:hidden focus:outline-none"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Contact Header --> | |
| <section class="bg-primary-800 text-white py-16"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h1 class="text-4xl md:text-5xl font-bold mb-4">Get In Touch</h1> | |
| <p class="text-xl text-primary-200 max-w-3xl mx-auto">We'd love to hear from you! Reach out for inquiries, bulk orders, or just to say hello.</p> | |
| </div> | |
| </section> | |
| <!-- Contact Section --> | |
| <section class="py-16"> | |
| <div class="container mx-auto px-4"> | |
| <div class="flex flex-col md:flex-row gap-8"> | |
| <!-- Contact Form --> | |
| <div class="md:w-1/2 bg-white p-8 rounded-xl shadow-md"> | |
| <h2 class="text-2xl font-bold text-primary-800 mb-6">Send Us a Message</h2> | |
| <form> | |
| <div class="mb-4"> | |
| <label for="name" class="block text-secondary-600 mb-2">Your Name</label> | |
| <input type="text" id="name" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="email" class="block text-secondary-600 mb-2">Email Address</label> | |
| <input type="email" id="email" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="phone" class="block text-secondary-600 mb-2">Phone Number</label> | |
| <input type="tel" id="phone" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"> | |
| </div> | |
| <div class="mb-4"> | |
| <label for="subject" class="block text-secondary-600 mb-2">Subject</label> | |
| <select id="subject" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"> | |
| <option>General Inquiry</option> | |
| <option>Wholesale Order</option> | |
| <option>Product Question</option> | |
| <option>Feedback</option> | |
| </select> | |
| </div> | |
| <div class="mb-6"> | |
| <label for="message" class="block text-secondary-600 mb-2">Your Message</label> | |
| <textarea id="message" rows="4" class="w-full px-4 py-2 border border-secondary-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary-500"></textarea> | |
| </div> | |
| <button type="submit" class="w-full bg-primary-600 hover:bg-primary-700 text-white py-3 rounded-lg font-medium transition"> | |
| Send Message | |
| </button> | |
| </form> | |
| </div> | |
| <!-- Contact Info --> | |
| <div class="md:w-1/2"> | |
| <div class="bg-white p-8 rounded-xl shadow-md mb-8"> | |
| <h2 class="text-2xl font-bold text-primary-800 mb-6">Contact Information</h2> | |
| <div class="space-y-6"> | |
| <div class="flex items-start"> | |
| <div class="contact-icon rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="map-pin" class="text-primary-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg text-primary-800 mb-1">Our Location</h3> | |
| <p class="text-secondary-600">Spice Valley, Peyad, Trivandrum, Kerala 695573</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="contact-icon rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="mail" class="text-primary-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg text-primary-800 mb-1">Email Us</h3> | |
| <p class="text-secondary-600">info@idukkispices.com</p> | |
| <p class="text-secondary-600">sales@idukkispices.com</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="contact-icon rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="phone" class="text-primary-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg text-primary-800 mb-1">Call Us</h3> | |
| <p class="text-secondary-600">+91 9876543210 (Customer Care)</p> | |
| <p class="text-secondary-600">+91 9876543211 (Wholesale Inquiries)</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="contact-icon rounded-full flex items-center justify-center mr-4"> | |
| <i data-feather="clock" class="text-primary-600"></i> | |
| </div> | |
| <div> | |
| <h3 class="font-bold text-lg text-primary-800 mb-1">Working Hours</h3> | |
| <p class="text-secondary-600">Monday - Saturday: 9:00 AM - 7:00 PM</p> | |
| <p class="text-secondary-600">Sunday: 10:00 AM - 4:00 PM</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Social Media --> | |
| <div class="bg-white p-8 rounded-xl shadow-md"> | |
| <h2 class="text-2xl font-bold text-primary-800 mb-6">Connect With Us</h2> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition"> | |
| <i data-feather="facebook" class="text-primary-600"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition"> | |
| <i data-feather="instagram" class="text-primary-600"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition"> | |
| <i data-feather="twitter" class="text-primary-600"></i> | |
| </a> | |
| <a href="#" class="w-12 h-12 bg-primary-100 rounded-full flex items-center justify-center hover:bg-primary-200 transition"> | |
| <i data-feather="youtube" class="text-primary-600"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Map Section --> | |
| <section class="py-8 bg-primary-50"> | |
| <div class="container mx-auto px-4"> | |
| <div id="map" class="rounded-xl shadow-lg"></div> | |
| </div> | |
| </section> | |
| <!-- FAQ Section --> | |
| <section class="py-16 bg-white"> | |
| <div class="container mx-auto px-4"> | |
| <div class="text-center mb-12"> | |
| <h2 class="text-3xl font-bold text-primary-800 mb-2">Frequently Asked Questions</h2> | |
| <div class="w-20 h-1 bg-primary-600 mx-auto"></div> | |
| </div> | |
| <div class="max-w-3xl mx-auto space-y-4"> | |
| <!-- FAQ Item 1 --> | |
| <div class="border border-secondary-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition"> | |
| <div class="flex justify-between items-center"> | |
| <h3 class="font-medium text-primary-800">What payment methods do you accept?</h3> | |
| <i data-feather="chevron-down" class="transition-transform duration-300"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content hidden p-4 text-secondary-600"> | |
| We accept all major credit and debit cards (Visa, MasterCard, American Express), net banking, UPI payments (Google Pay, PhonePe, Paytm), and cash on delivery for local orders in Trivandrum. | |
| </div> | |
| </div> | |
| <!-- FAQ Item 2 --> | |
| <div class="border border-secondary-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition"> | |
| <div class="flex justify-between items-center"> | |
| <h3 class="font-medium text-primary-800">Do you offer wholesale pricing?</h3> | |
| <i data-feather="chevron-down" class="transition-transform duration-300"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content hidden p-4 text-secondary-600"> | |
| Yes! We offer special wholesale pricing for restaurants, retailers, and bulk buyers. Please contact our sales team at sales@idukkispices.com or call +91 9876543211 for wholesale inquiries and pricing. | |
| </div> | |
| </div> | |
| <!-- FAQ Item 3 --> | |
| <div class="border border-secondary-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition"> | |
| <div class="flex justify-between items-center"> | |
| <h3 class="font-medium text-primary-800">How do you ensure the quality of your spices?</h3> | |
| <i data-feather="chevron-down" class="transition-transform duration-300"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content hidden p-4 text-secondary-600"> | |
| Our spices are sourced directly from certified organic farms in Idukki. We follow traditional harvesting and processing methods, and each batch undergoes rigorous quality checks before packaging. We never use artificial additives or preservatives. | |
| </div> | |
| </div> | |
| <!-- FAQ Item 4 --> | |
| <div class="border border-secondary-200 rounded-lg overflow-hidden"> | |
| <button class="faq-btn w-full text-left p-4 bg-primary-50 hover:bg-primary-100 transition"> | |
| <div class="flex justify-between items-center"> | |
| <h3 class="font-medium text-primary-800">What is your shipping policy?</h3> | |
| <i data-feather="chevron-down" class="transition-transform duration-300"></i> | |
| </div> | |
| </button> | |
| <div class="faq-content hidden p-4 text-secondary-600"> | |
| We ship nationwide within India. Orders placed before 2 PM are processed the same day. Delivery typically takes 3-7 business days depending on the location. Shipping charges vary based on weight and destination. Free shipping is available for orders above ₹2000. | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="bg-secondary-800 text-white py-12"> | |
| <div class="container mx-auto px-4"> | |
| <div class="grid grid-cols-1 md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <i data-feather="coffee" class="text-yellow-300"></i> | |
| <span class="text-xl font-bold">Idukki Spices</span> | |
| </div> | |
| <p class="text-secondary-300 mb-4">Bringing the authentic taste of Kerala to your kitchen since 2005.</p> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="facebook"></i></a> | |
| <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="instagram"></i></a> | |
| <a href="#" class="text-secondary-300 hover:text-white"><i data-feather="twitter"></i></a> | |
| </div> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Quick Links</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="index.html" class="text-secondary-300 hover:text-white">Home</a></li> | |
| <li><a href="products.html" class="text-secondary-300 hover:text-white">Products</a></li> | |
| <li><a href="#" class="text-secondary-300 hover:text-white">About Us</a></li> | |
| <li><a href="contact.html" class="text-secondary-300 hover:text-white">Contact</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Products</h4> | |
| <ul class="space-y-2"> | |
| <li><a href="#" class="text-secondary-300 hover:text-white">Black Pepper</a></li> | |
| <li><a href="#" class="text-secondary-300 hover:text-white">Cardamom</a></li> | |
| <li><a href="#" class="text-secondary-300 hover:text-white">Turmeric</a></li> | |
| <li><a href="#" class="text-secondary-300 hover:text-white">Cinnamon</a></li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h4 class="font-bold text-lg mb-4">Contact Us</h4> | |
| <ul class="space-y-2 text-secondary-300"> | |
| <li class="flex items-start"> | |
| <i data-feather="map-pin" class="mr-2 mt-1"></i> | |
| <span>Spice Valley, Peyad, Trivandrum, Kerala 695573</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="phone" class="mr-2"></i> | |
| <span>+91 9876543210</span> | |
| </li> | |
| <li class="flex items-center"> | |
| <i data-feather="mail" class="mr-2"></i> | |
| <span>info@idukkispices.com</span> | |
| </li> | |
| </ul> | |
| </div> | |
| </div> | |
| <div class="border-t border-secondary-700 mt-8 pt-8 text-center text-secondary-400"> | |
| <p>© 2023 Idukki Spices. All rights reserved.</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <!-- Google Maps API --> | |
| <script> | |
| feather.replace(); | |
| // Initialize Google Map | |
| function initMap() { | |
| // Center on Peyad, Trivandrum | |
| const center = { lat: 8.5075, lng: 76.9730 }; | |
| const map = new google.maps.Map(document.getElementById("map"), { | |
| zoom: 15, | |
| center: center, | |
| styles: [ | |
| { | |
| "featureType": "all", | |
| "elementType": "labels.text.fill", | |
| "stylers": [ | |
| { | |
| "color": "#7c93a3" | |
| }, | |
| { | |
| "lightness": "-10" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "administrative.country", | |
| "elementType": "geometry", | |
| "stylers": [ | |
| { | |
| "visibility": "on" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "administrative.country", | |
| "elementType": "geometry.stroke", | |
| "stylers": [ | |
| { | |
| "color": "#a0a4a5" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "administrative.province", | |
| "elementType": "geometry.stroke", | |
| "stylers": [ | |
| { | |
| "color": "#62838e" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "landscape", | |
| "elementType": "geometry.fill", | |
| "stylers": [ | |
| { | |
| "color": "#dde3e3" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "landscape.man_made", | |
| "elementType": "geometry.stroke", | |
| "stylers": [ | |
| { | |
| "color": "#334f87" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "poi", | |
| "elementType": "all", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "road", | |
| "elementType": "all", | |
| "stylers": [ | |
| { | |
| "saturation": -100 | |
| }, | |
| { | |
| "lightness": 45 | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "road.highway", | |
| "elementType": "all", | |
| "stylers": [ | |
| { | |
| "visibility": "simplified" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "road.arterial", | |
| "elementType": "labels.icon", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "transit", | |
| "elementType": "all", | |
| "stylers": [ | |
| { | |
| "visibility": "off" | |
| } | |
| ] | |
| }, | |
| { | |
| "featureType": "water", | |
| "elementType": "all", | |
| "stylers": [ | |
| { | |
| "color": "#eaf6f8" | |
| }, | |
| { | |
| "visibility": "on" | |
| } | |
| ] | |
| } | |
| ] | |
| }); | |
| // Add marker | |
| new google.maps.Marker({ | |
| position: center, | |
| map: map, | |
| title: "Idukki Spices", | |
| icon: { | |
| url: "https://maps.google.com/mapfiles/ms/icons/red-dot.png" | |
| } | |
| }); | |
| } | |
| // Load Google Maps API | |
| function loadGoogleMaps() { | |
| const script = document.createElement('script'); | |
| script.src = `https://maps.googleapis.com/maps/api/js?key=YOUR_API_KEY&callback=initMap`; | |
| script.defer = true; | |
| script.async = true; | |
| document.head.appendChild(script); | |
| } | |
| // FAQ toggle functionality | |
| document.querySelectorAll('.faq-btn').forEach(btn => { | |
| btn.addEventListener('click', function() { | |
| const content = this.nextElementSibling; | |
| const icon = this.querySelector('i'); | |
| // Toggle content | |
| content.classList.toggle('hidden'); | |
| // Rotate icon | |
| if (content.classList.contains('hidden')) { | |
| icon.style.transform = 'rotate(0deg)'; | |
| } else { | |
| icon.style.transform = 'rotate(180deg)'; | |
| } | |
| }); | |
| }); | |
| // Load Google Maps when page is loaded | |
| window.addEventListener('load', loadGoogleMaps); | |
| </script> | |
| </body> | |
| </html> | |