wheeldealas / index.html
Dagfinn1962's picture
Continue to work on the site add more features - Initial Deployment
f3f1646 verified
Raw
History Blame Contribute Delete
28.5 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>WheelDeal - Premium Tires & Rims</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>
.product-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.search-dropdown {
display: none;
}
.search-input:focus + .search-dropdown {
display: block;
}
.cart-notification {
animation: slideIn 0.3s ease-out;
}
@keyframes slideIn {
from { transform: translateX(100%); opacity: 0; }
to { transform: translateX(0); opacity: 1; }
}
.tire-size-selector {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
background-position: right 0.5rem center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
}
</style>
</head>
<body class="bg-gray-50">
<!-- Navigation -->
<nav class="bg-gray-900 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-4">
<a href="#" class="flex items-center">
<i class="fas fa-tire text-yellow-400 text-2xl mr-2"></i>
<span class="font-bold text-xl">WheelDeal</span>
</a>
</div>
<div class="hidden md:flex items-center space-x-6">
<a href="#" class="hover:text-yellow-400 transition">Tires</a>
<a href="#" class="hover:text-yellow-400 transition">Rims</a>
<a href="#" class="hover:text-yellow-400 transition">Packages</a>
<a href="#" class="hover:text-yellow-400 transition">Services</a>
</div>
<div class="flex items-center space-x-4">
<div class="relative">
<input type="text" placeholder="Search..." class="search-input bg-gray-800 text-white px-4 py-2 rounded-full focus:outline-none focus:ring-2 focus:ring-yellow-400 w-40 md:w-64">
<div class="search-dropdown absolute top-full left-0 mt-1 w-full bg-white text-gray-800 rounded shadow-lg z-10">
<div class="p-2 border-b">Popular Searches</div>
<a href="#" class="block p-2 hover:bg-gray-100">All-Season Tires</a>
<a href="#" class="block p-2 hover:bg-gray-100">20" Rims</a>
<a href="#" class="block p-2 hover:bg-gray-100">Winter Tires</a>
</div>
</div>
<a href="#" class="relative">
<i class="fas fa-shopping-cart text-xl"></i>
<span class="cart-count absolute -top-2 -right-2 bg-yellow-400 text-gray-900 text-xs font-bold rounded-full h-5 w-5 flex items-center justify-center">0</span>
</a>
<a href="#" class="hidden md:block bg-yellow-400 text-gray-900 px-4 py-2 rounded-full font-medium hover:bg-yellow-300 transition">My Garage</a>
</div>
<button class="md:hidden text-xl focus:outline-none">
<i class="fas fa-bars"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="bg-gradient-to-r from-gray-800 to-gray-900 text-white py-16">
<div class="container mx-auto px-4 flex flex-col md:flex-row items-center">
<div class="md:w-1/2 mb-8 md:mb-0">
<h1 class="text-4xl md:text-5xl font-bold mb-4">Premium Tires & Rims</h1>
<p class="text-xl mb-6">Find the perfect fit for your vehicle from our extensive database of premium products.</p>
<div class="flex flex-col sm:flex-row gap-4">
<select class="tire-size-selector bg-gray-700 text-white px-4 py-3 rounded-lg appearance-none pr-10 focus:outline-none focus:ring-2 focus:ring-yellow-400">
<option>Select Tire Size</option>
<option>205/55R16</option>
<option>225/45R17</option>
<option>235/40R18</option>
<option>245/35R19</option>
<option>255/30R20</option>
</select>
<button class="bg-yellow-400 text-gray-900 px-6 py-3 rounded-lg font-bold hover:bg-yellow-300 transition">Find Products</button>
</div>
</div>
<div class="md:w-1/2 flex justify-center">
<img src="https://images.unsplash.com/photo-1592921870789-0459590ec1e1?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Premium Tires" class="rounded-lg shadow-2xl max-w-full h-auto">
</div>
</div>
</section>
<!-- Database Filter Section -->
<section class="bg-white py-8">
<div class="container mx-auto px-4">
<div class="bg-gray-100 rounded-xl p-6 shadow-sm">
<h2 class="text-2xl font-bold mb-6">Filter Products</h2>
<div class="grid grid-cols-1 md:grid-cols-4 gap-6">
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Category</label>
<select class="w-full bg-white border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-400">
<option>All Categories</option>
<option>Tires</option>
<option>Rims</option>
<option>Tire & Rim Packages</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Brand</label>
<select class="w-full bg-white border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-400">
<option>All Brands</option>
<option>Michelin</option>
<option>Pirelli</option>
<option>Bridgestone</option>
<option>Goodyear</option>
<option>BBS</option>
<option>Enkei</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Price Range</label>
<select class="w-full bg-white border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-400">
<option>All Prices</option>
<option>Under $100</option>
<option>$100 - $200</option>
<option>$200 - $500</option>
<option>Over $500</option>
</select>
</div>
<div>
<label class="block text-sm font-medium text-gray-700 mb-1">Sort By</label>
<select class="w-full bg-white border border-gray-300 rounded-md px-3 py-2 focus:outline-none focus:ring-2 focus:ring-yellow-400">
<option>Featured</option>
<option>Price: Low to High</option>
<option>Price: High to Low</option>
<option>Customer Ratings</option>
</select>
</div>
</div>
<div class="mt-6">
<button class="bg-gray-900 text-white px-6 py-2 rounded-md font-medium hover:bg-gray-800 transition">Apply Filters</button>
<button class="ml-4 text-gray-700 hover:text-gray-900">Reset</button>
</div>
</div>
</div>
</section>
<!-- Products Grid (Simulating Database Results) -->
<section class="py-12 bg-gray-50">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold mb-8">Featured Products</h2>
<div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8">
<!-- Product 1 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1602817538382-562a5b1b041b?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1374&q=80" alt="Michelin Pilot Sport 4S" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-yellow-400 text-gray-900 text-xs font-bold px-2 py-1 rounded">BEST SELLER</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">Michelin Pilot Sport 4S</h3>
<p class="text-gray-600 text-sm">Summer Performance Tire</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.8</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 245/35R19</p>
<p class="text-gray-700 text-sm">Load Index: 93Y</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$289.99</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="1" data-name="Michelin Pilot Sport 4S" data-price="289.99">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
<!-- Product 2 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="BBS CH-R Wheels" class="w-full h-48 object-cover">
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">BBS CH-R Wheels</h3>
<p class="text-gray-600 text-sm">19" Alloy Rims</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.7</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 19x8.5</p>
<p class="text-gray-700 text-sm">Bolt Pattern: 5x112</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$399.00</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="2" data-name="BBS CH-R Wheels" data-price="399.00">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
<!-- Product 3 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1618843479313-40f4afd4ec38?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Pirelli Winter Sottozero" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded">WINTER</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">Pirelli Winter Sottozero</h3>
<p class="text-gray-600 text-sm">Winter Performance Tire</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.6</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 225/45R18</p>
<p class="text-gray-700 text-sm">Load Index: 91H</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$219.99</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="3" data-name="Pirelli Winter Sottozero" data-price="219.99">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
<!-- Product 4 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1558981806-ec527fa84c39?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Enkei Tuning Wheels" class="w-full h-48 object-cover">
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">Enkei Tuning Wheels</h3>
<p class="text-gray-600 text-sm">18" Alloy Rims</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.5</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 18x8</p>
<p class="text-gray-700 text-sm">Bolt Pattern: 5x114.3</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$279.00</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="4" data-name="Enkei Tuning Wheels" data-price="279.00">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
<!-- Product 5 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1601362840469-51e4d8d58785?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Bridgestone Blizzak WS90" class="w-full h-48 object-cover">
<span class="absolute top-2 right-2 bg-blue-500 text-white text-xs font-bold px-2 py-1 rounded">WINTER</span>
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">Bridgestone Blizzak WS90</h3>
<p class="text-gray-600 text-sm">Studless Ice & Snow</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.9</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 235/55R19</p>
<p class="text-gray-700 text-sm">Load Index: 101T</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$249.99</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="5" data-name="Bridgestone Blizzak WS90" data-price="249.99">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
<!-- Product 6 -->
<div class="product-card bg-white rounded-lg overflow-hidden shadow-md transition duration-300">
<div class="relative">
<img src="https://images.unsplash.com/photo-1558981806-ec527fa84c39?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1470&q=80" alt="Goodyear Eagle F1" class="w-full h-48 object-cover">
</div>
<div class="p-4">
<div class="flex justify-between items-start">
<div>
<h3 class="font-bold text-lg">Goodyear Eagle F1</h3>
<p class="text-gray-600 text-sm">Asymmetric Summer Tire</p>
</div>
<span class="text-yellow-400"><i class="fas fa-star"></i> 4.5</span>
</div>
<div class="mt-4">
<p class="text-gray-700 text-sm mb-2">Size: 255/40R18</p>
<p class="text-gray-700 text-sm">Load Index: 95Y</p>
</div>
<div class="mt-4 flex justify-between items-center">
<span class="font-bold text-lg">$199.99</span>
<button class="add-to-cart bg-gray-900 text-white px-3 py-1 rounded text-sm hover:bg-gray-800 transition" data-id="6" data-name="Goodyear Eagle F1" data-price="199.99">
<i class="fas fa-cart-plus mr-1"></i> Add
</button>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Newsletter Section -->
<section class="py-16 bg-gray-900 text-white">
<div class="container mx-auto px-4 text-center">
<h2 class="text-3xl font-bold mb-4">Stay Updated</h2>
<p class="text-xl mb-8 max-w-2xl mx-auto">Subscribe to our newsletter for exclusive deals, new arrivals, and tire maintenance tips.</p>
<div class="flex flex-col sm:flex-row justify-center max-w-md mx-auto">
<input type="email" placeholder="Your email address" class="px-4 py-3 rounded-l-lg text-gray-900 w-full sm:w-auto sm:flex-grow focus:outline-none">
<button class="bg-yellow-400 text-gray-900 px-6 py-3 rounded-r-lg font-bold hover:bg-yellow-300 transition mt-2 sm:mt-0 sm:ml-0">
Subscribe
</button>
</div>
</div>
</section>
<!-- Services Section -->
<section class="py-16 bg-white">
<div class="container mx-auto px-4">
<h2 class="text-3xl font-bold mb-12 text-center">Our Services</h2>
<div class="grid grid-cols-1 md:grid-cols-3 gap-8">
<div class="text-center p-6 rounded-lg bg-gray-50 hover:shadow-md transition">
<div class="text-4xl text-yellow-400 mb-4">
<i class="fas fa-tools"></i>
</div>
<h3 class="text-xl font-bold mb-2">Tire Installation</h3>
<p class="text-gray-600">Professional mounting and balancing services by certified technicians.</p>
</div>
<div class="text-center p-6 rounded-lg bg-gray-50 hover:shadow-md transition">
<div class="text-4xl text-yellow-400 mb-4">
<i class="fas fa-sync-alt"></i>
</div>
<h3 class="text-xl font-bold mb-2">Tire Rotation</h3>
<p class="text-gray-600">Extend your tire life with our regular rotation services.</p>
</div>
<div class="text-center p-6 rounded-lg bg-gray-50 hover:shadow-md transition">
<div class="text-4xl text-yellow-400 mb-4">
<i class="fas fa-car-crash"></i>
</div>
<h3 class="text-xl font-bold mb-2">Emergency Repair</h3>
<p class="text-gray-600">24/7 roadside assistance for flat tires and other emergencies.</p>
</div>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-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>
<h3 class="text-xl font-bold mb-4">WheelDeal</h3>
<p class="text-gray-400">Premium tires and rims for all vehicles. Quality products with expert installation services.</p>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Quick Links</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-white transition">Home</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Shop</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">Services</a></li>
<li><a href="#" class="text-gray-400 hover:text-white transition">About Us</a></li>
</ul>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Contact</h3>
<ul class="space-y-2 text-gray-400">
<li><i class="fas fa-map-marker-alt mr-2"></i> 123 Tire Street, Auto City</li>
<li><i class="fas fa-phone mr-2"></i> (555) 123-4567</li>
<li><i class="fas fa-envelope mr-2"></i> info@wheeldeal.com</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-white transition text-xl"><i class="fab fa-facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-white transition text-xl"><i class="fab fa-youtube"></i></a>
</div>
</div>
</div>
<div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400">
<p>&copy; 2023 WheelDeal. All rights reserved.</p>
</div>
</div>
</footer>
<!-- Cart Notification (hidden by default) -->
<div class="cart-notification fixed bottom-4 right-4 bg-gray-900 text-white px-6 py-3 rounded-lg shadow-lg hidden">
<div class="flex items-center">
<i class="fas fa-check-circle text-green-400 mr-2"></i>
<span>Item added to cart!</span>
</div>
</div>
<!-- Mobile Menu (hidden by default) -->
<div class="mobile-menu hidden fixed inset-0 bg-gray-900 bg-opacity-90 z-50">
<div class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<a href="#" class="flex items-center">
<i class="fas fa-tire text-yellow-400 text-2xl mr-2"></i>
<span class="font-bold text-xl">WheelDeal</span>
</a>
<button class="close-menu text-white text-2xl">
<i class="fas fa-times"></i>
</button>
</div>
<nav class="space-y-6 text-xl">
<a href="#" class="block hover:text-yellow-400 transition">Tires</a>
<a href="#" class="block hover:text-yellow-400 transition">Rims</a>
<a href="#" class="block hover:text-yellow-400 transition">Packages</a>
<a href="#" class="block hover:text-yellow-400 transition">Services</a>
<a href="#" class="block hover:text-yellow-400 transition">My Garage</a>
</nav>
</div>
</div>
<script>
// Simple cart functionality
document.querySelectorAll('.add-to-cart').forEach(button => {
button.addEventListener('click', function() {
const notification = document.querySelector('.cart-notification');
const cartCount = document.querySelector('.cart-count');
// Update cart count
let count = parseInt(cartCount.textContent);
cartCount.textContent = count + 1;
// Show notification
notification.classList.remove('hidden');
setTimeout(() => {
notification.classList.add('hidden');
}, 3000);
});
});
// Mobile menu toggle
const menuButton = document.querySelector('button.md\\:hidden');
const mobileMenu = document.querySelector('.mobile-menu');
const closeMenu = document.querySelector('.close-menu');
menuButton.addEventListener('click', () => {
mobileMenu.classList.remove('hidden');
});
closeMenu.addEventListener('click', () => {
mobileMenu.classList.add('hidden');
});
</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=Dagfinn1962/wheeldealas" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>