Download index.html from MaharaNyashaa/https-github-com-nyashamahara: direct link, hf CLI and curl.
- Browser
- Download file 54.4 kB
-
https://huggingface.co/spaces/MaharaNyashaa/https-github-com-nyashamahara/resolve/main/index.html
- Command line
-
hf download hf://spaces/MaharaNyashaa/https-github-com-nyashamahara/index.html
-
curl -L -o index.html https://huggingface.co/spaces/MaharaNyashaa/https-github-com-nyashamahara/resolve/main/index.html
54.4 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auto Campus - Premium Vehicle Importers in Zimbabwe</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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#39FF14', // Neon green
secondary: '#ffffff',
dark: '#1a1a1a'
}
}
}
}
</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;
scroll-behavior: smooth;
}
.hero {
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
background-size: cover;
background-position: center;
height: 90vh;
}
.car-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3);
}
.car-card {
transition: all 0.3s ease;
}
.whatsapp-btn:hover {
background-color: #25D366;
}
.contact-btn:hover {
background-color: #39FF14;
color: #000;
}
.nav-link:hover {
color: #39FF14;
}
.country-flag {
width: 30px;
height: 20px;
object-fit: cover;
border-radius: 2px;
margin-right: 5px;
}
.scroll-indicator {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-20px);
}
60% {
transform: translateY(-10px);
}
}
.testimonial-card {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
}
.swiper {
width: 100%;
height: 300px;
}
.swiper-slide {
text-align: center;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}
.swiper-slide img {
display: block;
width: 100%;
height: 100%;
object-fit: cover;
}
.admin-panel {
display: none;
}
.modal {
display: none;
position: fixed;
z-index: 100;
left: 0;
top: 0;
width: 100%;
height: 100%;
overflow: auto;
background-color: rgba(0,0,0,0.8);
}
.modal-content {
background-color: #fefefe;
margin: 10% auto;
padding: 20px;
border: 1px solid #888;
width: 80%;
max-width: 600px;
border-radius: 10px;
}
.close {
color: #aaa;
float: right;
font-size: 28px;
font-weight: bold;
cursor: pointer;
}
.close:hover {
color: black;
}
</style>
</head>
<body class="bg-gray-100">
<!-- Header/Navigation -->
<header class="bg-dark text-white sticky top-0 z-50 shadow-lg">
<div class="container mx-auto px-4 py-3 flex justify-between items-center">
<div class="flex items-center">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-3">
<i class="fas fa-car text-2xl text-dark"></i>
</div>
<h1 class="text-2xl font-bold">AUTO <span class="text-primary">CAMPUS</span></h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#home" class="nav-link text-white hover:text-primary transition">Home</a>
<a href="#stock" class="nav-link text-white hover:text-primary transition">Available Stock</a>
<a href="#services" class="nav-link text-white hover:text-primary transition">Services</a>
<a href="#about" class="nav-link text-white hover:text-primary transition">About Us</a>
<a href="#contact" class="nav-link text-white hover:text-primary transition">Contact</a>
<button onclick="openAdminLogin()" class="text-white hover:text-primary transition">
<i class="fas fa-user-cog"></i> Admin
</button>
</nav>
<div class="flex items-center space-x-4">
<a href="https://wa.me/447909524842" target="_blank" class="bg-primary text-dark px-4 py-2 rounded-full font-medium flex items-center hover:bg-white transition">
<i class="fab fa-whatsapp mr-2"></i> WhatsApp
</a>
<button class="md:hidden text-white" id="mobile-menu-button">
<i class="fas fa-bars text-2xl"></i>
</button>
</div>
</div>
<!-- Mobile Menu -->
<div class="md:hidden hidden bg-dark py-4 px-4" id="mobile-menu">
<div class="flex flex-col space-y-4">
<a href="#home" class="nav-link text-white hover:text-primary transition">Home</a>
<a href="#stock" class="nav-link text-white hover:text-primary transition">Available Stock</a>
<a href="#services" class="nav-link text-white hover:text-primary transition">Services</a>
<a href="#about" class="nav-link text-white hover:text-primary transition">About Us</a>
<a href="#contact" class="nav-link text-white hover:text-primary transition">Contact</a>
<button onclick="openAdminLogin()" class="text-white hover:text-primary transition text-left">
<i class="fas fa-user-cog mr-2"></i> Admin Panel
</button>
</div>
</div>
</header>
<!-- Admin Login Modal -->
<div id="adminLoginModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal('adminLoginModal')">×</span>
<h2 class="text-2xl font-bold mb-6">Admin Login</h2>
<form id="adminLoginForm">
<div class="mb-4">
<label for="adminPassword" class="block text-gray-700 font-medium mb-2">Password</label>
<input type="password" id="adminPassword" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
</div>
<button type="submit" class="w-full bg-primary text-dark py-3 rounded-lg font-bold hover:bg-white transition">Login</button>
</form>
</div>
</div>
<!-- Add Vehicle Modal -->
<div id="addVehicleModal" class="modal">
<div class="modal-content">
<span class="close" onclick="closeModal('addVehicleModal')">×</span>
<h2 class="text-2xl font-bold mb-6">Add New Vehicle</h2>
<form id="addVehicleForm">
<div class="mb-4">
<label for="vehicleModel" class="block text-gray-700 font-medium mb-2">Model</label>
<input type="text" id="vehicleModel" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
</div>
<div class="mb-4">
<label for="vehicleYear" class="block text-gray-700 font-medium mb-2">Year</label>
<input type="number" id="vehicleYear" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
</div>
<div class="mb-4">
<label for="vehicleMileage" class="block text-gray-700 font-medium mb-2">Mileage (km)</label>
<input type="number" id="vehicleMileage" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
</div>
<div class="mb-4">
<label for="vehiclePrice" class="block text-gray-700 font-medium mb-2">Price ($)</label>
<input type="number" id="vehiclePrice" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
</div>
<div class="mb-4">
<label for="vehicleCountry" class="block text-gray-700 font-medium mb-2">Country of Origin</label>
<select id="vehicleCountry" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" required>
<option value="jp">Japan</option>
<option value="gb">United Kingdom</option>
<option value="za">South Africa</option>
<option value="sg">Singapore</option>
<option value="th">Thailand</option>
</select>
</div>
<div class="mb-4">
<label for="vehicleSpecs" class="block text-gray-700 font-medium mb-2">Specifications (comma separated)</label>
<textarea id="vehicleSpecs" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" placeholder="Automatic, Diesel, 4x4, etc."></textarea>
</div>
<div class="mb-4">
<label for="vehicleImages" class="block text-gray-700 font-medium mb-2">Upload Images (Multiple)</label>
<input type="file" id="vehicleImages" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary" multiple accept="image/*" required>
</div>
<button type="submit" class="w-full bg-primary text-dark py-3 rounded-lg font-bold hover:bg-white transition">Add Vehicle</button>
</form>
</div>
</div>
<!-- Hero Section -->
<section class="hero flex items-center justify-center text-white" id="home">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-6">Premium <span class="text-primary">Vehicle</span> Imports</h1>
<p class="text-xl md:text-2xl mb-8 max-w-3xl mx-auto">We import high-quality vehicles from Japan, UK, South Africa, Singapore & Thailand directly to Zimbabwe</p>
<div class="flex flex-col md:flex-row justify-center space-y-4 md:space-y-0 md:space-x-6">
<a href="#stock" class="bg-primary text-dark px-8 py-4 rounded-full font-bold text-lg hover:bg-white transition">View Available Stock</a>
<a href="#contact" class="border-2 border-white text-white px-8 py-4 rounded-full font-bold text-lg hover:bg-white hover:text-dark transition">Contact Us</a>
</div>
<div class="mt-16 scroll-indicator">
<a href="#stock" class="text-white animate-bounce">
<i class="fas fa-chevron-down text-3xl"></i>
</a>
</div>
</div>
</section>
<!-- Available Stock Section -->
<section class="py-16 bg-white" id="stock">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Available <span class="text-primary">Stock</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Browse our current inventory of imported vehicles ready for delivery in Zimbabwe</p>
</div>
<div id="stockContainer" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Car cards will be dynamically inserted here -->
</div>
<div class="text-center mt-12">
<a href="#contact" class="inline-block bg-primary text-dark px-8 py-3 rounded-full font-bold text-lg hover:bg-white transition">Request Specific Vehicle</a>
</div>
</div>
</section>
<!-- Admin Panel Section (Hidden by default) -->
<section id="adminPanel" class="admin-panel py-16 bg-gray-100">
<div class="container mx-auto px-4">
<div class="flex justify-between items-center mb-8">
<h2 class="text-3xl font-bold">Admin Panel</h2>
<button onclick="openAddVehicleModal()" class="bg-primary text-dark px-6 py-2 rounded-lg font-bold hover:bg-white transition">
<i class="fas fa-plus mr-2"></i> Add Vehicle
</button>
</div>
<div class="bg-white rounded-xl shadow-lg p-6">
<h3 class="text-xl font-bold mb-4">Manage Inventory</h3>
<div id="adminStockContainer" class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- Admin view of car cards with delete buttons will be inserted here -->
</div>
</div>
</div>
</section>
<!-- Services Section -->
<section class="py-16 bg-gray-100" id="services">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Our <span class="text-primary">Services</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Comprehensive vehicle import solutions tailored to your needs</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-ship text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">Vehicle Importation</h3>
<p class="text-gray-600">We handle the entire import process from sourcing to delivery, ensuring your vehicle arrives safely in Zimbabwe.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-search text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">Vehicle Sourcing</h3>
<p class="text-gray-600">Tell us what you're looking for and we'll find the perfect vehicle from our network of trusted suppliers worldwide.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-file-invoice-dollar text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">Customs Clearance</h3>
<p class="text-gray-600">We handle all customs documentation and clearance procedures to ensure smooth delivery of your vehicle.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-truck text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">Logistics & Delivery</h3>
<p class="text-gray-600">From port to your doorstep, we manage all transportation logistics for a hassle-free experience.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-money-bill-wave text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">Flexible Payment Plan</h3>
<p class="text-gray-600">Pay 80% upfront and the remaining balance within 90 days. No hidden fees or charges.</p>
</div>
<div class="bg-white p-8 rounded-xl shadow-lg hover:shadow-xl transition">
<div class="w-16 h-16 bg-primary rounded-full flex items-center justify-center mb-6">
<i class="fas fa-cogs text-2xl text-dark"></i>
</div>
<h3 class="text-xl font-bold mb-3">After-Sales Support</h3>
<p class="text-gray-600">Our relationship doesn't end at delivery. We provide ongoing support and connect you with trusted service providers.</p>
</div>
</div>
</div>
</section>
<!-- About Us Section -->
<section class="py-16 bg-white" id="about">
<div class="container mx-auto px-4">
<div class="flex flex-col lg:flex-row items-center">
<div class="lg:w-1/2 mb-8 lg:mb-0 lg:pr-12">
<img src="https://images.unsplash.com/photo-1601584115197-04eaa82d0f77?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="About Auto Campus" class="rounded-xl shadow-lg w-full">
</div>
<div class="lg:w-1/2">
<h2 class="text-3xl md:text-4xl font-bold mb-6">About <span class="text-primary">Auto Campus</span></h2>
<p class="text-gray-600 mb-6">Auto Campus is a premier vehicle import company based in Harare, Zimbabwe. With years of experience in the automotive industry, we specialize in importing high-quality vehicles from Japan, UK, South Africa, Singapore, and Thailand.</p>
<p class="text-gray-600 mb-6">Our mission is to provide Zimbabwean customers with access to the best international vehicles at competitive prices, with transparent pricing and exceptional customer service throughout the import process.</p>
<p class="text-gray-600 mb-8">We pride ourselves on our extensive network of trusted suppliers, our in-depth knowledge of import regulations, and our commitment to customer satisfaction.</p>
<div class="grid grid-cols-2 gap-4">
<div class="flex items-center">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-4">
<i class="fas fa-check text-white"></i>
</div>
<span class="font-medium">Trusted Suppliers</span>
</div>
<div class="flex items-center">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-4">
<i class="fas fa-check text-white"></i>
</div>
<span class="font-medium">Transparent Pricing</span>
</div>
<div class="flex items-center">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-4">
<i class="fas fa-check text-white"></i>
</div>
<span class="font-medium">Quality Assurance</span>
</div>
<div class="flex items-center">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-4">
<i class="fas fa-check text-white"></i>
</div>
<span class="font-medium">Customer Support</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Testimonials Section -->
<section class="py-16 bg-dark text-white">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Client <span class="text-primary">Testimonials</span></h2>
<p class="text-gray-300 max-w-2xl mx-auto">Hear what our satisfied customers have to say about their experience with Auto Campus</p>
</div>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="testimonial-card p-8 rounded-xl border border-gray-700">
<div class="flex items-center mb-6">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center text-dark font-bold mr-4">TM</div>
<div>
<h4 class="font-bold">Tinashe M.</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-300">"I imported my Toyota Hilux through Auto Campus and the process was seamless. They handled everything from sourcing to delivery. The vehicle arrived in perfect condition as promised. Highly recommended!"</p>
</div>
<div class="testimonial-card p-8 rounded-xl border border-gray-700">
<div class="flex items-center mb-6">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center text-dark font-bold mr-4">SM</div>
<div>
<h4 class="font-bold">Sarah 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"></i>
</div>
</div>
</div>
<p class="text-gray-300">"The team at Auto Campus found me the perfect Honda Fit from Japan at a great price. Their communication was excellent throughout the process. Will definitely use their services again for my next vehicle."</p>
</div>
<div class="testimonial-card p-8 rounded-xl border border-gray-700">
<div class="flex items-center mb-6">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center text-dark font-bold mr-4">JM</div>
<div>
<h4 class="font-bold">James M.</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-300">"As a construction company, we've imported several earth moving equipment through Auto Campus. Their knowledge of heavy machinery imports is impressive. They've saved us time and money on multiple occasions."</p>
</div>
</div>
</div>
</section>
<!-- Contact Section -->
<section class="py-16 bg-white" id="contact">
<div class="container mx-auto px-4">
<div class="text-center mb-12">
<h2 class="text-3xl md:text-4xl font-bold mb-4">Contact <span class="text-primary">Us</span></h2>
<p class="text-gray-600 max-w-2xl mx-auto">Get in touch for inquiries about our available stock or to discuss your specific vehicle import needs</p>
</div>
<div class="flex flex-col lg:flex-row">
<div class="lg:w-1/2 mb-8 lg:mb-0 lg:pr-12">
<div class="bg-gray-100 p-8 rounded-xl">
<h3 class="text-2xl font-bold mb-6">Contact Information</h3>
<div class="mb-6">
<h4 class="font-bold text-lg mb-2 flex items-center">
<i class="fas fa-map-marker-alt text-primary mr-3"></i> Address
</h4>
<p class="text-gray-600">Cumberland Eastlea, Harare, Zimbabwe</p>
</div>
<div class="mb-6">
<h4 class="font-bold text-lg mb-2 flex items-center">
<i class="fas fa-envelope text-primary mr-3"></i> Email
</h4>
<a href="mailto:millernyasha@gmail.com" class="text-gray-600 hover:text-primary transition">millernyasha@gmail.com</a>
</div>
<div class="mb-6">
<h4 class="font-bold text-lg mb-2 flex items-center">
<i class="fas fa-phone-alt text-primary mr-3"></i> Phone
</h4>
<a href="tel:+447909524842" class="text-gray-600 hover:text-primary transition">+44 7909 524842</a>
</div>
<div class="mb-6">
<h4 class="font-bold text-lg mb-2 flex items-center">
<i class="fab fa-whatsapp text-primary mr-3"></i> WhatsApp
</h4>
<a href="https://wa.me/447909524842" target="_blank" class="text-gray-600 hover:text-primary transition">+44 7909 524842</a>
</div>
<div>
<h4 class="font-bold text-lg mb-2 flex items-center">
<i class="fas fa-clock text-primary mr-3"></i> Business Hours
</h4>
<p class="text-gray-600">Monday - Friday: 8:00 AM - 5:00 PM</p>
<p class="text-gray-600">Saturday: 9:00 AM - 1:00 PM</p>
<p class="text-gray-600">Sunday: Closed</p>
</div>
</div>
</div>
<div class="lg:w-1/2">
<div class="bg-gray-100 p-8 rounded-xl">
<h3 class="text-2xl font-bold mb-6">Send Us a Message</h3>
<form id="contact-form">
<div class="mb-4">
<label for="name" class="block text-gray-700 font-medium mb-2">Your 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-primary">
</div>
<div class="mb-4">
<label for="email" class="block text-gray-700 font-medium mb-2">Email Address</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-primary">
</div>
<div class="mb-4">
<label for="phone" class="block text-gray-700 font-medium mb-2">Phone Number</label>
<input type="tel" id="phone" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
</div>
<div class="mb-4">
<label for="subject" class="block text-gray-700 font-medium mb-2">Subject</label>
<select id="subject" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary">
<option value="">Select a subject</option>
<option value="stock">Available Stock Inquiry</option>
<option value="import">Vehicle Import Request</option>
<option value="equipment">Earth Moving Equipment</option>
<option value="other">Other Inquiry</option>
</select>
</div>
<div class="mb-6">
<label for="message" class="block text-gray-700 font-medium mb-2">Your Message</label>
<textarea id="message" rows="5" class="w-full px-4 py-2 border border-gray-300 rounded-lg focus:outline-none focus:ring-2 focus:ring-primary"></textarea>
</div>
<button type="submit" class="w-full bg-primary text-dark py-3 rounded-lg font-bold hover:bg-white transition">Send Message</button>
</form>
</div>
</div>
</div>
</div>
</section>
<!-- Map Section -->
<div class="h-96 w-full">
<iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d3798.712126199042!2d31.0330153154431!3d-17.82429988777119!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x0%3A0x0!2zMTfCsDQ5JzI3LjUiUyAzMcKwMDInMDkuOSJF!5e0!3m2!1sen!2szw!4v1620000000000!5m2!1sen!2szw" width="100%" height="100%" style="border:0;" allowfullscreen="" loading="lazy"></iframe>
</div>
<!-- Footer -->
<footer class="bg-dark text-white py-12">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row justify-between">
<div class="mb-8 md:mb-0">
<div class="flex items-center mb-4">
<div class="w-12 h-12 bg-primary rounded-full flex items-center justify-center mr-3">
<i class="fas fa-car text-2xl text-dark"></i>
</div>
<h2 class="text-2xl font-bold">AUTO <span class="text-primary">CAMPUS</span></h2>
</div>
<p class="text-gray-400 mb-4 max-w-md">Your trusted partner for premium vehicle imports in Zimbabwe.</p>
<div class="flex space-x-4">
<a href="#" class="text-gray-400 hover:text-primary transition">
<i class="fab fa-facebook-f"></i>
</a>
<a href="#" class="text-gray-400 hover:text-primary transition">
<i class="fab fa-twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-primary transition">
<i class="fab fa-instagram"></i>
</a>
<a href="https://wa.me/447909524842" target="_blank" class="text-gray-400 hover:text-primary transition">
<i class="fab fa-whatsapp"></i>
</a>
</div>
</div>
<div class="grid grid-cols-2 md:grid-cols-3 gap-8">
<div>
<h3 class="text-lg font-bold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#home" class="text-gray-400 hover:text-primary transition">Home</a></li>
<li><a href="#stock" class="text-gray-400 hover:text-primary transition">Available Stock</a></li>
<li><a href="#services" class="text-gray-400 hover:text-primary transition">Services</a></li>
<li><a href="#about" class="text-gray-400 hover:text-primary transition">About Us</a></li>
<li><a href="#contact" class="text-gray-400 hover:text-primary transition">Contact</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Services</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-primary transition">Vehicle Importation</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Customs Clearance</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Logistics</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">Payment Plans</a></li>
<li><a href="#" class="text-gray-400 hover:text-primary transition">After-Sales</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Import Countries</h3>
<ul class="space-y-2">
<li class="flex items-center">
<img src="https://flagcdn.com/w20/jp.png" alt="Japan" class="country-flag">
<span class="text-gray-400">Japan</span>
</li>
<li class="flex items-center">
<img src="https://flagcdn.com/w20/gb.png" alt="UK" class="country-flag">
<span class="text-gray-400">United Kingdom</span>
</li>
<li class="flex items-center">
<img src="https://flagcdn.com/w20/za.png" alt="South Africa" class="country-flag">
<span class="text-gray-400">South Africa</span>
</li>
<li class="flex items-center">
<img src="https://flagcdn.com/w20/sg.png" alt="Singapore" class="country-flag">
<span class="text-gray-400">Singapore</span>
</li>
<li class="flex items-center">
<img src="https://flagcdn.com/w20/th.png" alt="Thailand" class="country-flag">
<span class="text-gray-400">Thailand</span>
</li>
</ul>
</div>
</div>
</div>
<div class="border-t border-gray-800 mt-12 pt-8 text-center text-gray-400">
<p>© 2023 Auto Campus. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Floating WhatsApp Button -->
<a href="https://wa.me/447909524842" target="_blank" class="fixed bottom-8 right-8 bg-primary text-dark w-16 h-16 rounded-full flex items-center justify-center text-3xl shadow-lg hover:bg-white transition whatsapp-btn">
<i class="fab fa-whatsapp"></i>
</a>
<!-- Swiper JS -->
<script src="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.js"></script>
<script>
// Sample vehicle data
let vehicles = [
{
id: 1,
model: "Toyota Hilux",
year: 2023,
mileage: 4200,
price: 28500,
country: "jp",
specs: ["Automatic", "Diesel", "4x4"],
images: [
"https://images.unsplash.com/photo-1494972308805-46370bec5c93?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1553440569-bcc63803a83d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1025&q=80",
"https://images.unsplash.com/photo-1507136566006-cfc505b114fc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1021&q=80"
],
status: "NEW"
},
{
id: 2,
model: "Mercedes Benz C200",
year: 2021,
mileage: 18500,
price: 35000,
country: "za",
specs: ["Automatic", "Petrol", "Leather"],
images: [
"https://images.unsplash.com/photo-1555215695-3004980ad54e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1555215695-3004980ad54e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1555215695-3004980ad54e?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D3D&auto=format&fit=crop&w=1470&q=80"
]
},
{
id: 3,
model: "Nissan NP300",
year: 2022,
mileage: 7800,
price: 22000,
country: "gb",
specs: ["Manual", "Diesel", "Double Cab"],
images: [
"https://images.unsplash.com/photo-1580273916550-e4c6842fa61d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1567&q=80",
"https://images.unsplash.com/photo-1580273916550-e4c6842fa61d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1567&q=80",
"https://images.unsplash.com/photo-1580273916550-e4c6842fa61d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1567&q=80"
],
status: "LOW MILEAGE"
},
{
id: 4,
model: "Honda Fit",
year: 2020,
mileage: 25000,
price: 14500,
country: "jp",
specs: ["Automatic", "Petrol", "Hybrid"],
images: [
"https://images.unsplash.com/photo-1631725993080-8a5e3a0e59e5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1631725993080-8a5e3a0e59e5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1631725993080-8a5e3a0e59e5?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
]
},
{
id: 5,
model: "BMW X5",
year: 2021,
mileage: 15200,
price: 45000,
country: "sg",
specs: ["Automatic", "Diesel", "Luxury"],
images: [
"https://images.unsplash.com/photo-1633477189729-9290b3263835?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1522&q=80",
"https://images.unsplash.com/photo-1633477189729-9290b3263835?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1522&q=80",
"https://images.unsplash.com/photo-1633477189729-9290b3263835?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1522&q=80"
]
},
{
id: 6,
model: "Komatsu PC200 Excavator",
year: 2019,
mileage: 1200,
price: 62000,
country: "th",
specs: ["Hydraulic", "Diesel", "Earth Moving"],
images: [
"https://images.unsplash.com/photo-1621841957884-1210fe19a716?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1621841957884-1210fe19a716?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80",
"https://images.unsplash.com/photo-1621841957884-1210fe19a716?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80"
]
}
];
// Initialize the stock display
function renderStock() {
const stockContainer = document.getElementById('stockContainer');
const adminStockContainer = document.getElementById('adminStockContainer');
stockContainer.innerHTML = '';
adminStockContainer.innerHTML = '';
vehicles.forEach(vehicle => {
// Create car card for public view
const carCard = createCarCard(vehicle);
stockContainer.appendChild(carCard);
// Create car card for admin view with delete button
const adminCarCard = createCarCard(vehicle, true);
adminStockContainer.appendChild(adminCarCard);
});
}
// Create a car card element
function createCarCard(vehicle, isAdmin = false) {
const countryFlags = {
'jp': 'https://flagcdn.com/w20/jp.png',
'gb': 'https://flagcdn.com/w20/gb.png',
'za': 'https://flagcdn.com/w20/za.png',
'sg': 'https://flagcdn.com/w20/sg.png',
'th': 'https://flagcdn.com/w20/th.png'
};
const card = document.createElement('div');
card.className = 'car-card bg-white rounded-xl overflow-hidden shadow-lg';
card.dataset.id = vehicle.id;
// Create image slider
const sliderId = `slider-${vehicle.id}`;
let sliderHTML = `
<div class="swiper ${sliderId}">
<div class="swiper-wrapper">
`;
vehicle.images.forEach(image => {
sliderHTML += `
<div class="swiper-slide">
<img src="${image}" alt="${vehicle.model}" class="w-full h-64 object-cover">
</div>
`;
});
sliderHTML += `
</div>
<div class="swiper-pagination"></div>
</div>
`;
// Create card content
let statusBadge = '';
if (vehicle.status) {
statusBadge = `<div class="absolute top-4 left-4 bg-primary text-dark px-3 py-1 rounded-full font-bold">${vehicle.status}</div>`;
}
let deleteButton = '';
if (isAdmin) {
deleteButton = `
<button onclick="deleteVehicle(${vehicle.id})" class="absolute top-4 left-4 bg-red-500 text-white px-3 py-1 rounded-full font-bold hover:bg-red-700 transition">
<i class="fas fa-trash"></i>
</button>
`;
statusBadge = statusBadge.replace('left-4', 'left-16');
}
card.innerHTML = `
<div class="relative">
${sliderHTML}
${statusBadge}
${deleteButton}
<div class="absolute top-4 right-4 flex">
<img src="${countryFlags[vehicle.country]}" alt="${vehicle.country}" class="country-flag" title="Imported from ${getCountryName(vehicle.country)}">
</div>
</div>
<div class="p-6">
<h3 class="text-xl font-bold mb-2">${vehicle.model} ${vehicle.year}</h3>
<div class="flex justify-between items-center mb-4">
<span class="text-primary font-bold">$${vehicle.price.toLocaleString()}</span>
<span class="text-gray-600">${vehicle.mileage.toLocaleString()} km</span>
</div>
<div class="flex flex-wrap gap-2 mb-4">
${vehicle.specs.map(spec => `<span class="bg-gray-100 px-3 py-1 rounded-full text-sm">${spec}</span>`).join('')}
</div>
<a href="#contact" class="block text-center bg-dark text-white py-2 rounded-lg hover:bg-primary hover:text-dark transition">Inquire Now</a>
</div>
`;
// Initialize swiper for this card
setTimeout(() => {
new Swiper(`.${sliderId}`, {
pagination: {
el: `.${sliderId} .swiper-pagination`,
clickable: true,
},
});
}, 100);
return card;
}
// Get country name from code
function getCountryName(code) {
const countries = {
'jp': 'Japan',
'gb': 'United Kingdom',
'za': 'South Africa',
'sg': 'Singapore',
'th': 'Thailand'
};
return countries[code] || '';
}
// Delete a vehicle
function deleteVehicle(id) {
if (confirm('Are you sure you want to delete this vehicle?')) {
vehicles = vehicles.filter(vehicle => vehicle.id !== id);
renderStock();
}
}
// Add a new vehicle
function addVehicle(vehicle) {
// Generate a new ID
const newId = vehicles.length > 0 ? Math.max(...vehicles.map(v => v.id)) + 1 : 1;
vehicle.id = newId;
vehicles.push(vehicle);
renderStock();
closeModal('addVehicleModal');
}
// Modal functions
function openAdminLogin() {
document.getElementById('adminLoginModal').style.display = 'block';
}
function openAddVehicleModal() {
document.getElementById('addVehicleModal').style.display = 'block';
}
function closeModal(id) {
document.getElementById(id).style.display = 'none';
}
// Mobile menu toggle
const mobileMenuButton = document.getElementById('mobile-menu-button');
const mobileMenu = document.getElementById('mobile-menu');
mobileMenuButton.addEventListener('click', () => {
mobileMenu.classList.toggle('hidden');
});
// Form submission
const contactForm = document.getElementById('contact-form');
contactForm.addEventListener('submit', (e) => {
e.preventDefault();
// Get form values
const name = document.getElementById('name').value;
const email = document.getElementById('email').value;
const phone = document.getElementById('phone').value;
const subject = document.getElementById('subject').value;
const message = document.getElementById('message').value;
// Here you would typically send this data to your server
// For demo purposes, we'll just show an alert
alert(`Thank you, ${name}! Your message has been received. We'll contact you soon at ${email} or ${phone}.`);
// Reset form
contactForm.reset();
});
// Admin login form
const adminLoginForm = document.getElementById('adminLoginForm');
adminLoginForm.addEventListener('submit', (e) => {
e.preventDefault();
const password = document.getElementById('adminPassword').value;
if (password === 'mbudzi') {
document.getElementById('adminPanel').style.display = 'block';
document.getElementById('adminLoginModal').style.display = 'none';
window.location.href = '#adminPanel';
} else {
alert('Incorrect password. Please try again.');
}
});
// Add vehicle form
const addVehicleForm = document.getElementById('addVehicleForm');
addVehicleForm.addEventListener('submit', (e) => {
e.preventDefault();
const model = document.getElementById('vehicleModel').value;
const year = parseInt(document.getElementById('vehicleYear').value);
const mileage = parseInt(document.getElementById('vehicleMileage').value);
const price = parseInt(document.getElementById('vehiclePrice').value);
const country = document.getElementById('vehicleCountry').value;
const specs = document.getElementById('vehicleSpecs').value.split(',').map(s => s.trim()).filter(s => s);
// For demo purposes, we'll use placeholder images
// In a real app, you would upload and process the actual images
const images = [
'https://images.unsplash.com/photo-1494972308805-46370bec5c93?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80',
'https://images.unsplash.com/photo-1553440569-bcc63803a83d?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1025&q=80',
'https://images.unsplash.com/photo-1507136566006-cfc505b114fc?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1021&q=80'
];
const newVehicle = {
model,
year,
mileage,
price,
country,
specs,
images
};
addVehicle(newVehicle);
});
// Smooth scrolling for anchor 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.classList.contains('hidden')) {
mobileMenu.classList.add('hidden');
}
}
});
});
// Initialize the page
document.addEventListener('DOMContentLoaded', () => {
renderStock();
});
</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=MaharaNyashaa/https-github-com-nyashamahara" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Auto Campus - Premium Vehicle Importers in Zimbabwe</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">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@9/swiper-bundle.min.css" />
<script>
tailwind.config = {
theme: {
extend: {
colors: {
primary: '#39FF14', // Neon green
secondary: '#ffffff',
dark: '#1a1a1a'
}
}
}
}
</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;
scroll-behavior: smooth;
}
.hero {
background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://images.unsplash.com/photo-1503376780353-7e6692767b70?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80');
background-size: cover;
background-position: center;
height: 90vh;
}
.car-card:hover {
transform: translateY(-10px);
box-shadow: 0 10px 20px rgba(57, 255, 20, 0.3);
}
.car-card {
transition: all 0.3s ease;
}
.whatsapp-btn:hover {
background-color: #25D366;
}
.contact-btn:hover {
background-color: #39FF14;
color: #000;
}
.nav-link:hover {
color: #39FF14;
}
.country-flag {
width: 30px;
height: 20px;
object-fit: cover;
border-radius: 2px;
margin-right: 5px;
}
.scroll-indicator {
animation: bounce 2s infinite;
}
@keyframes bounce {
0%, 20%, 50%, 80%, 100% {
transform: translateY(0);
}
40% {
transform: translateY(-20px);
}
60% {
transform: translateY(-10px);
}
}
.testimonial-card {
background: rgba(255,255,255,0.1);
backdrop-filter: blur(10px);
}
.swiper {
width: 100%;
height: 300px;
}
.swiper-slide {
text-align: center;
background: #fff;
display: flex;
justify-content: center;
align-items: center;
}