|
|
<!DOCTYPE html> |
|
|
<html lang="en"> |
|
|
<head> |
|
|
<meta charset="UTF-8"> |
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"> |
|
|
<title>Contact - Japanese Motors</title> |
|
|
<link rel="icon" type="image/x-icon" href="/static/favicon.ico"> |
|
|
<script src="https://cdn.tailwindcss.com"></script> |
|
|
<link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet"> |
|
|
<script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script> |
|
|
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> |
|
|
<script src="https://unpkg.com/feather-icons"></script> |
|
|
<link rel="stylesheet" href="assets/css/1c.css"> |
|
|
</head> |
|
|
<body class="bg-gray-100 font-sans"> |
|
|
|
|
|
<nav class="bg-white shadow-lg fixed w-full z-10"> |
|
|
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8"> |
|
|
<div class="flex justify-between h-16"> |
|
|
<div class="flex items-center"> |
|
|
<a href="contact.html" class="flex-shrink-0 flex items-center"> |
|
|
<i data-feather="zap" class="h-8 w-8 text-red-500"></i> |
|
|
<span class="ml-2 text-xl font-bold text-gray-900">JAPANESE MOTORS</span> |
|
|
</a> |
|
|
</div> |
|
|
<div class="hidden md:flex items-center space-x-8"> |
|
|
<a href="../index.html" class="nav-link text-gray-700 hover:text-red-500 px-3 py-2 rounded-md text-sm font-medium">Home</a> |
|
|
<a href="gallery.html" class="nav-link text-gray-700 hover:text-red-500 px-3 py-2 rounded-md text-sm font-medium">Inventory</a> |
|
|
<a href="services.html" class="nav-link text-gray-700 hover:text-red-500 px-3 py-2 rounded-md text-sm font-medium">Services</a> |
|
|
<a href="about.html" class="nav-link text-red-500 px-3 py-2 rounded-md text-sm font-medium">About</a> |
|
|
<a href="contact.html" class="bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-md text-sm font-medium transition duration-300">Contact</a> |
|
|
</div> |
|
|
<div class="md:hidden flex items-center"> |
|
|
<button class="text-gray-500 hover:text-gray-900 focus:outline-none"> |
|
|
<i data-feather="menu"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</nav> |
|
|
|
|
|
|
|
|
<div class="relative pt-32 pb-20 bg-gray-900"> |
|
|
<div class="absolute inset-0 bg-black opacity-50"></div> |
|
|
<div class="absolute inset-0 bg-center bg-cover" style="background-image: url('https://images.unsplash.com/photo-1568605117036-5fe5e7bab0b7?ixlib=rb-4.0.3&auto=format&fit=crop&w=1600&q=80');"></div> |
|
|
<div class="container mx-auto px-4 relative"> |
|
|
<div class="text-center"> |
|
|
<h1 class="text-4xl font-bold text-white mb-4" data-aos="fade-up">Contact Us</h1> |
|
|
<p class="text-xl text-gray-300 max-w-2xl mx-auto" data-aos="fade-up" data-aos-delay="100">Get in touch with our team for any inquiries about our vehicles or services</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<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-gray-800 mb-4">How Would You Like to Reach Us?</h2> |
|
|
<div class="w-20 h-1 bg-red-500 mx-auto"></div> |
|
|
<p class="mt-4 text-gray-600 max-w-2xl mx-auto">Choose your preferred method of communication</p> |
|
|
</div> |
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> |
|
|
|
|
|
<div class="contact-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 p-6 text-center" data-aos="fade-up"> |
|
|
<div class="bg-green-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i data-feather="message-circle" class="w-8 h-8 text-green-600"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">WhatsApp</h3> |
|
|
<p class="text-gray-600 mb-4">Chat with us directly on WhatsApp for quick responses</p> |
|
|
<a href="https://wa.me/254756709823" class="bg-green-500 hover:bg-green-600 text-white px-6 py-2 rounded-md font-medium transition duration-300 inline-flex items-center"> |
|
|
<i data-feather="message-circle" class="w-4 h-4 mr-2"></i> Start Chat |
|
|
</a> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="contact-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 p-6 text-center" data-aos="fade-up" data-aos-delay="100"> |
|
|
<div class="bg-blue-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i data-feather="message-square" class="w-8 h-8 text-blue-600"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Live Chat</h3> |
|
|
<p class="text-gray-600 mb-4">Chat with our sales team in real-time</p> |
|
|
<button class="bg-blue-500 hover:bg-blue-600 text-white px-6 py-2 rounded-md font-medium transition duration-300 inline-flex items-center" onclick="openChat()"> |
|
|
<i data-feather="message-square" class="w-4 h-4 mr-2"></i> Start Chat |
|
|
</button> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="contact-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 p-6 text-center" data-aos="fade-up" data-aos-delay="200"> |
|
|
<div class="bg-red-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i data-feather="mail" class="w-8 h-8 text-red-600"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Email</h3> |
|
|
<p class="text-gray-600 mb-4">Send us an email and we'll respond within 24 hours</p> |
|
|
<a href="mailto:info@japanesemotors.com" class="bg-red-500 hover:bg-red-600 text-white px-6 py-2 rounded-md font-medium transition duration-300 inline-flex items-center"> |
|
|
<i data-feather="mail" class="w-4 h-4 mr-2"></i> Send Email |
|
|
</a> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="contact-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300 p-6 text-center" data-aos="fade-up" data-aos-delay="300"> |
|
|
<div class="bg-purple-100 w-16 h-16 rounded-full flex items-center justify-center mx-auto mb-4"> |
|
|
<i data-feather="phone" class="w-8 h-8 text-purple-600"></i> |
|
|
</div> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Phone</h3> |
|
|
<p class="text-gray-600 mb-4">Call us directly to speak with our team</p> |
|
|
<a href="tel:+254756709823" class="bg-purple-500 hover:bg-purple-600 text-white px-6 py-2 rounded-md font-medium transition duration-300 inline-flex items-center"> |
|
|
<i data-feather="phone" class="w-4 h-4 mr-2"></i> Call Now |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<section class="py-16 bg-gray-100"> |
|
|
<div class="container mx-auto px-4"> |
|
|
<div class="grid grid-cols-1 lg:grid-cols-2 gap-12"> |
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md p-8" data-aos="fade-right"> |
|
|
<h2 class="text-2xl font-bold text-gray-800 mb-6">Send Us a Message</h2> |
|
|
<form id="contactForm" class="space-y-6"> |
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-6"> |
|
|
<div> |
|
|
<label for="firstName" class="block text-sm font-medium text-gray-700 mb-1">First Name</label> |
|
|
<input type="text" id="firstName" name="firstName" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500" required> |
|
|
</div> |
|
|
<div> |
|
|
<label for="lastName" class="block text-sm font-medium text-gray-700 mb-1">Last Name</label> |
|
|
<input type="text" id="lastName" name="lastName" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500" required> |
|
|
</div> |
|
|
</div> |
|
|
<div> |
|
|
<label for="email" class="block text-sm font-medium text-gray-700 mb-1">Email Address</label> |
|
|
<input type="email" id="email" name="email" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500" required> |
|
|
</div> |
|
|
<div> |
|
|
<label for="phone" class="block text-sm font-medium text-gray-700 mb-1">Phone Number</label> |
|
|
<input type="tel" id="phone" name="phone" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500"> |
|
|
</div> |
|
|
<div> |
|
|
<label for="subject" class="block text-sm font-medium text-gray-700 mb-1">Subject</label> |
|
|
<select id="subject" name="subject" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500" required> |
|
|
<option value="">Select a subject</option> |
|
|
<option value="vehicle-inquiry">Vehicle Inquiry</option> |
|
|
<option value="test-drive">Schedule Test Drive</option> |
|
|
<option value="service-appointment">Service Appointment</option> |
|
|
<option value="parts-inquiry">Parts Inquiry</option> |
|
|
<option value="general">General Question</option> |
|
|
<option value="other">Other</option> |
|
|
</select> |
|
|
</div> |
|
|
<div> |
|
|
<label for="message" class="block text-sm font-medium text-gray-700 mb-1">Message</label> |
|
|
<textarea id="message" name="message" rows="5" class="form-input w-full px-4 py-2 border border-gray-300 rounded-md focus:outline-none focus:ring-2 focus:ring-red-500" required></textarea> |
|
|
</div> |
|
|
<div> |
|
|
<button type="submit" class="w-full bg-red-500 hover:bg-red-600 text-white py-3 px-4 rounded-md font-medium transition duration-300"> |
|
|
Send Message |
|
|
</button> |
|
|
</div> |
|
|
</form> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div data-aos="fade-left"> |
|
|
<h2 class="text-2xl font-bold text-gray-800 mb-6">Contact Information</h2> |
|
|
<div class="space-y-6"> |
|
|
<div class="flex items-start"> |
|
|
<div class="bg-red-100 p-3 rounded-full mr-4"> |
|
|
<i data-feather="map-pin" class="w-6 h-6 text-red-500"></i> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold text-gray-800 mb-1">Address</h3> |
|
|
<p class="text-gray-600">123 Automotive Way, Chuo-ku<br>Tokyo, Japan 104-0061</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="flex items-start"> |
|
|
<div class="bg-red-100 p-3 rounded-full mr-4"> |
|
|
<i data-feather="phone" class="w-6 h-6 text-red-500"></i> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold text-gray-800 mb-1">Phone</h3> |
|
|
<p class="text-gray-600">+254 756 709 823</p> |
|
|
<p class="text-sm text-gray-500">Mon-Fri: 9:00 AM - 7:00 PM</p> |
|
|
<p class="text-sm text-gray-500">Sat: 10:00 AM - 5:00 PM</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="flex items-start"> |
|
|
<div class="bg-red-100 p-3 rounded-full mr-4"> |
|
|
<i data-feather="mail" class="w-6 h-6 text-red-500"></i> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold text-gray-800 mb-1">Email</h3> |
|
|
<p class="text-gray-600">info@japanesemotors.com</p> |
|
|
<p class="text-gray-600">sales@japanesemotors.com</p> |
|
|
<p class="text-gray-600">service@japanesemotors.com</p> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="flex items-start"> |
|
|
<div class="bg-red-100 p-3 rounded-full mr-4"> |
|
|
<i data-feather="clock" class="w-6 h-6 text-red-500"></i> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold text-gray-800 mb-1">Business Hours</h3> |
|
|
<p class="text-gray-600">Monday - Friday: 9:00 AM - 7:00 PM</p> |
|
|
<p class="text-gray-600">Saturday: 10:00 AM - 5:00 PM</p> |
|
|
<p class="text-gray-600">Sunday: Closed</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
<div class="mt-8"> |
|
|
<h3 class="text-lg font-bold text-gray-800 mb-4">Follow Us</h3> |
|
|
<div class="flex space-x-4"> |
|
|
<a href="#" class="bg-gray-800 text-white p-3 rounded-full hover:bg-red-500 transition duration-300"> |
|
|
<i data-feather="facebook" class="w-5 h-5"></i> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-800 text-white p-3 rounded-full hover:bg-red-500 transition duration-300"> |
|
|
<i data-feather="instagram" class="w-5 h-5"></i> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-800 text-white p-3 rounded-full hover:bg-red-500 transition duration-300"> |
|
|
<i data-feather="twitter" class="w-5 h-5"></i> |
|
|
</a> |
|
|
<a href="#" class="bg-gray-800 text-white p-3 rounded-full hover:bg-red-500 transition duration-300"> |
|
|
<i data-feather="youtube" class="w-5 h-5"></i> |
|
|
</a> |
|
|
<a href="https://wa.me/254756709823" class="bg-gray-800 text-white p-3 rounded-full hover:bg-green-500 transition duration-300"> |
|
|
<i data-feather="message-circle" class="w-5 h-5"></i> |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</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-gray-800 mb-4">Frequently Asked Questions</h2> |
|
|
<div class="w-20 h-1 bg-red-500 mx-auto"></div> |
|
|
<p class="mt-4 text-gray-600 max-w-2xl mx-auto">Quick answers to common questions about contacting us</p> |
|
|
</div> |
|
|
|
|
|
<div class="grid grid-cols-1 md:grid-cols-2 gap-8 max-w-4xl mx-auto"> |
|
|
<div class="bg-gray-50 p-6 rounded-lg"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">What's the best way to reach you quickly?</h3> |
|
|
<p class="text-gray-600">For the fastest response, use our WhatsApp chat or call us directly during business hours. We typically respond to WhatsApp messages within minutes.</p> |
|
|
</div> |
|
|
|
|
|
<div class="bg-gray-50 p-6 rounded-lg"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Do you respond to inquiries after hours?</h3> |
|
|
<p class="text-gray-600">Yes! We monitor WhatsApp and email after business hours and will respond to urgent inquiries. For non-urgent matters, we'll respond the next business day.</p> |
|
|
</div> |
|
|
|
|
|
<div class="bg-gray-50 p-6 rounded-lg"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Can I schedule a test drive online?</h3> |
|
|
<p class="text-gray-600">Absolutely! Use our contact form and select "Schedule Test Drive" as your subject. We'll contact you within 24 hours to confirm your appointment.</p> |
|
|
</div> |
|
|
|
|
|
<div class="bg-gray-50 p-6 rounded-lg"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-3">Do you ship vehicles internationally?</h3> |
|
|
<p class="text-gray-600">Yes, we ship vehicles worldwide. Contact our sales team via email or WhatsApp to discuss shipping options to your location.</p> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<section class="py-16 bg-gray-100"> |
|
|
<div class="container mx-auto px-4"> |
|
|
<div class="text-center mb-12"> |
|
|
<h2 class="text-3xl font-bold text-gray-800 mb-4">Visit Our Showroom</h2> |
|
|
<div class="w-20 h-1 bg-red-500 mx-auto"></div> |
|
|
<p class="mt-4 text-gray-600 max-w-2xl mx-auto">Come see our collection of Japanese performance vehicles in person</p> |
|
|
</div> |
|
|
|
|
|
<div class="bg-white rounded-lg shadow-md overflow-hidden" data-aos="fade-up"> |
|
|
<div class="aspect-w-16 aspect-h-9"> |
|
|
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d12965.464075717876!2d139.767125!3d35.681236!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zMzXCsDQwJzUyLjQiTiAxMznCsDQ2JzAxLjciRQ!5e0!3m2!1sen!2sjp!4v1620000000000!5m2!1sen!2sjp" width="100%" height="450" style="border:0;" allowfullscreen="" loading="lazy" class="w-full h-96"></iframe> |
|
|
</div> |
|
|
<div class="p-6"> |
|
|
<h3 class="text-xl font-bold text-gray-800 mb-2">Japanese Motors Showroom</h3> |
|
|
<p class="text-gray-600 mb-4">123 Automotive Way, Chuo-ku, Tokyo, Japan 104-0061</p> |
|
|
<div class="flex flex-wrap gap-4"> |
|
|
<a href="https://maps.google.com/?q=123+Automotive+Way,Chuo-ku,Tokyo,Japan" class="bg-red-500 hover:bg-red-600 text-white px-4 py-2 rounded-md font-medium transition duration-300 inline-flex items-center"> |
|
|
<i data-feather="map" class="w-4 h-4 mr-2"></i> Get Directions |
|
|
</a> |
|
|
<a href="tel:+254756709823" class="bg-gray-800 hover:bg-gray-900 text-white px-4 py-2 rounded-md font-medium transition duration-300 inline-flex items-center"> |
|
|
<i data-feather="phone" class="w-4 h-4 mr-2"></i> Call for Directions |
|
|
</a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</section> |
|
|
|
|
|
|
|
|
<div id="chatWidget" class="fixed bottom-6 right-6 w-80 bg-white rounded-lg shadow-xl z-50 hidden"> |
|
|
<div class="bg-red-500 text-white p-4 rounded-t-lg flex justify-between items-center"> |
|
|
<h3 class="font-bold">Chat with Japanese Motors</h3> |
|
|
<button onclick="closeChat()" class="text-white hover:text-gray-200"> |
|
|
<i data-feather="x" class="w-5 h-5"></i> |
|
|
</button> |
|
|
</div> |
|
|
<div class="p-4 h-80 overflow-y-auto"> |
|
|
<div class="chat-bubble mb-4"> |
|
|
<p class="text-gray-800">Hello! How can we help you today?</p> |
|
|
</div> |
|
|
<div class="text-right mb-4 hidden" id="userMessage"> |
|
|
<div class="bg-red-500 text-white p-3 rounded-lg inline-block"> |
|
|
<p id="messageText"></p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="chat-bubble mb-4 hidden" id="responseMessage"> |
|
|
<p class="text-gray-800">Thanks for your message! Our team will respond shortly.</p> |
|
|
</div> |
|
|
</div> |
|
|
<div class="p-4 border-t"> |
|
|
<div class="flex"> |
|
|
<input type="text" placeholder="Type your message..." class="flex-1 border border-gray-300 rounded-l-md px-4 py-2 focus:outline-none focus:ring-2 focus:ring-red-500"> |
|
|
<button class="bg-red-500 text-white px-4 py-2 rounded-r-md hover:bg-red-600 transition duration-300"> |
|
|
<i data-feather="send" class="w-4 h-4"></i> |
|
|
</button> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div class="floating-chat"> |
|
|
<a href="https://wa.me/254756709823" class="bg-green-500 text-white p-4 rounded-full shadow-lg hover:bg-green-600 transition duration-300 flex items-center justify-center"> |
|
|
<i data-feather="message-circle" class="w-6 h-6"></i> |
|
|
</a> |
|
|
</div> |
|
|
|
|
|
|
|
|
<footer class="bg-gray-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> |
|
|
<h3 class="text-xl font-bold mb-4">Japanese Motors</h3> |
|
|
<p class="text-gray-400">Premium Japanese performance vehicles imported directly from Japan.</p> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold mb-4">Quick Links</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li><a href="../index.html" class="text-gray-400 hover:text-red-500">Home</a></li> |
|
|
<li><a href="gallery.html" class="text-gray-400 hover:text-red-500">Inventory</a></li> |
|
|
<li><a href="services.html" class="text-gray-400 hover:text-red-500">Services</a></li> |
|
|
<li><a href="about.html" class="text-gray-400 hover:text-red-500">About Us</a></li> |
|
|
<li><a href="contact.html" class="text-gray-400 hover:text-red-500">Contact</a></li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold mb-4">Contact Info</h3> |
|
|
<ul class="space-y-2"> |
|
|
<li class="flex items-center"> |
|
|
<i data-feather="map-pin" class="mr-2 w-4 h-4"></i> |
|
|
<span class="text-gray-400">123 Automotive Way, Tokyo, Japan</span> |
|
|
</li> |
|
|
<li class="flex items-center"> |
|
|
<i data-feather="phone" class="mr-2 w-4 h-4"></i> |
|
|
<span class="text-gray-400">+81 3 1234 5678</span> |
|
|
</li> |
|
|
<li class="flex items-center"> |
|
|
<i data-feather="mail" class="mr-2 w-4 h-4"></i> |
|
|
<span class="text-gray-400">info@japanesemotors.com</span> |
|
|
</li> |
|
|
</ul> |
|
|
</div> |
|
|
<div> |
|
|
<h3 class="text-lg font-bold mb-4">Follow Us</h3> |
|
|
<div class="flex space-x-4"> |
|
|
<a href="#" class="text-gray-400 hover:text-red-500"><i data-feather="facebook" class="w-6 h-6"></i></a> |
|
|
<a href="#" class="text-gray-400 hover:text-red-500"><i data-feather="instagram" class="w-6 h-6"></i></a> |
|
|
<a href="#" class="text-gray-400 hover:text-red-500"><i data-feather="twitter" class="w-6 h-6"></i></a> |
|
|
<a href="#" class="text-gray-400 hover:text-red-500"><i data-feather="youtube" class="w-6 h-6"></i></a> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
<div class="border-t border-gray-800 mt-8 pt-8 text-center text-gray-400"> |
|
|
<p>© 2023 Japanese Motors. All rights reserved.</p> |
|
|
</div> |
|
|
</div> |
|
|
</footer> |
|
|
|
|
|
<script> |
|
|
|
|
|
document.addEventListener('DOMContentLoaded', function() { |
|
|
feather.replace(); |
|
|
AOS.init(); |
|
|
|
|
|
|
|
|
document.getElementById('contactForm').addEventListener('submit', function(e) { |
|
|
e.preventDefault(); |
|
|
alert('Thank you for your message! We will contact you shortly.'); |
|
|
this.reset(); |
|
|
}); |
|
|
}); |
|
|
|
|
|
|
|
|
function openChat() { |
|
|
document.getElementById('chatWidget').classList.remove('hidden'); |
|
|
} |
|
|
|
|
|
function closeChat() { |
|
|
document.getElementById('chatWidget').classList.add('hidden'); |
|
|
} |
|
|
|
|
|
|
|
|
document.querySelector('#chatWidget button').addEventListener('click', function() { |
|
|
const input = document.querySelector('#chatWidget input'); |
|
|
if (input.value.trim() !== '') { |
|
|
document.getElementById('userMessage').classList.remove('hidden'); |
|
|
document.getElementById('messageText').textContent = input.value; |
|
|
input.value = ''; |
|
|
|
|
|
setTimeout(function() { |
|
|
document.getElementById('responseMessage').classList.remove('hidden'); |
|
|
}, 1000); |
|
|
} |
|
|
}); |
|
|
</script> |
|
|
</body> |
|
|
</html> |