speedshift / index.html
mazen20asd's picture
## **🌐 Prompt for Web-Vibe Coding LLM (Lovable-Style)**
fae09d4 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>SpeedShift | Formula 1 Experience</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/gsap.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/gsap/3.12.2/ScrollTrigger.min.js"></script>
<link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700&family=Roboto:wght@300;400;500&display=swap" rel="stylesheet">
</head>
<body class="bg-black text-white font-roboto">
<!-- Loading Animation -->
<div id="loading" class="fixed inset-0 bg-black z-50 flex items-center justify-center">
<div class="pit-stop-loader">
<div class="tire"></div>
<div class="tire"></div>
<div class="tire"></div>
<div class="tire"></div>
</div>
</div>
<!-- Header -->
<header class="fixed top-0 w-full z-40 py-4 px-6 bg-black/80 backdrop-blur-md border-b border-red-600/20">
<div class="container mx-auto flex justify-between items-center">
<div class="flex items-center space-x-2">
<div class="w-3 h-3 rounded-full bg-red-600 animate-pulse"></div>
<h1 class="text-2xl font-orbitron font-bold tracking-wider">SPEED<span class="text-red-600">SHIFT</span></h1>
</div>
<nav class="hidden md:flex space-x-8">
<a href="#teams" class="hover:text-red-500 transition duration-300">TEAMS</a>
<a href="#drivers" class="hover:text-red-500 transition duration-300">DRIVERS</a>
<a href="#calendar" class="hover:text-red-500 transition duration-300">RACES</a>
<a href="#standings" class="hover:text-red-500 transition duration-300">STANDINGS</a>
</nav>
<div class="flex items-center space-x-4">
<button id="soundToggle" class="p-2 rounded-full hover:bg-gray-800 transition">
<i data-feather="volume-2"></i>
</button>
<button class="md:hidden p-2">
<i data-feather="menu"></i>
</button>
</div>
</div>
</header>
<!-- Hero Section -->
<section class="relative min-h-screen flex items-center overflow-hidden">
<div class="absolute inset-0 z-0">
<div class="parallax-layer" data-depth="0.2">
<div class="bg-gradient-to-r from-black via-transparent to-black absolute inset-0"></div>
<img src="http://static.photos/technology/1200x630/42" alt="F1 Car" class="w-full h-full object-cover opacity-80">
</div>
<div class="parallax-layer speed-lines" data-depth="0.5"></div>
</div>
<div class="container mx-auto px-6 relative z-10">
<div class="max-w-3xl">
<h2 class="text-5xl md:text-7xl font-orbitron font-bold leading-tight mb-4">
<span class="block">FEEL THE</span>
<span class="text-red-600">SPEED OF F1</span>
</h2>
<p class="text-xl mb-8 text-gray-300 max-w-2xl">Experience the thrill of Formula 1 with live updates, driver stats, race schedules and championship standings.</p>
<div class="flex space-x-4">
<button class="bg-red-600 hover:bg-red-700 text-white px-8 py-3 rounded-lg font-medium transition transform hover:scale-105">
LIVE RACE
</button>
<button class="border border-red-600 text-red-600 hover:bg-red-600 hover:text-white px-8 py-3 rounded-lg font-medium transition">
FULL CALENDAR
</button>
</div>
</div>
</div>
</section>
<!-- Teams Section -->
<section id="teams" class="py-20 bg-gradient-to-b from-black to-gray-900">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-orbitron font-bold mb-12 text-center">F1 TEAMS 2024</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8">
<!-- Team Card -->
<div class="team-card group">
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 group-hover:border-red-600 transition-all duration-500">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/red/640x360/1" alt="Mercedes" class="w-full h-full object-cover group-hover:scale-110 transition duration-700">
</div>
<div class="p-6">
<div class="flex justify-between items-start">
<div>
<h3 class="text-2xl font-orbitron font-bold">MERCEDES</h3>
<p class="text-red-500">W14 Hybrid</p>
</div>
<div class="bg-red-600 w-10 h-10 rounded-full flex items-center justify-center">
<span class="font-bold">1</span>
</div>
</div>
<div class="mt-4 flex space-x-2">
<div class="flex-1 bg-gray-700 rounded-full h-2 overflow-hidden">
<div class="bg-red-600 h-full w-4/5"></div>
</div>
<span class="text-sm">85%</span>
</div>
</div>
</div>
</div>
<!-- More teams would be generated dynamically -->
<div class="team-card group">
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 group-hover:border-red-600 transition-all duration-500">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/blue/640x360/2" alt="Red Bull" class="w-full h-full object-cover group-hover:scale-110 transition duration-700">
</div>
<div class="p-6">
<div class="flex justify-between items-start">
<div>
<h3 class="text-2xl font-orbitron font-bold">RED BULL</h3>
<p class="text-red-500">RB19</p>
</div>
<div class="bg-red-600 w-10 h-10 rounded-full flex items-center justify-center">
<span class="font-bold">2</span>
</div>
</div>
<div class="mt-4 flex space-x-2">
<div class="flex-1 bg-gray-700 rounded-full h-2 overflow-hidden">
<div class="bg-red-600 h-full w-3/5"></div>
</div>
<span class="text-sm">72%</span>
</div>
</div>
</div>
</div>
<div class="team-card group">
<div class="bg-gray-800 rounded-xl overflow-hidden border border-gray-700 group-hover:border-red-600 transition-all duration-500">
<div class="h-48 overflow-hidden">
<img src="http://static.photos/black/640x360/3" alt="Ferrari" class="w-full h-full object-cover group-hover:scale-110 transition duration-700">
</div>
<div class="p-6">
<div class="flex justify-between items-start">
<div>
<h3 class="text-2xl font-orbitron font-bold">FERRARI</h3>
<p class="text-red-500">SF-23</p>
</div>
<div class="bg-red-600 w-10 h-10 rounded-full flex items-center justify-center">
<span class="font-bold">3</span>
</div>
</div>
<div class="mt-4 flex space-x-2">
<div class="flex-1 bg-gray-700 rounded-full h-2 overflow-hidden">
<div class="bg-red-600 h-full w-2/5"></div>
</div>
<span class="text-sm">58%</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Drivers Section -->
<section id="drivers" class="py-20 bg-black">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-orbitron font-bold mb-12 text-center">TOP DRIVERS</h2>
<div class="driver-slider relative">
<div class="driver-track flex overflow-hidden">
<!-- Driver Card -->
<div class="driver-slide flex-shrink-0 w-full md:w-1/2 lg:w-1/3 px-4">
<div class="bg-gradient-to-br from-gray-900 to-black border border-gray-800 rounded-2xl overflow-hidden">
<div class="p-6">
<div class="flex items-center mb-6">
<div class="w-20 h-20 rounded-full overflow-hidden border-2 border-red-600 mr-4">
<img src="http://static.photos/people/320x240/10" alt="Driver" class="w-full h-full object-cover">
</div>
<div>
<h3 class="text-2xl font-orbitron font-bold">MAX VERSTAPPEN</h3>
<p class="text-red-500">Red Bull Racing</p>
</div>
</div>
<div class="grid grid-cols-3 gap-4">
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">POLES</p>
<p class="text-2xl font-orbitron" data-countup="12">12</p>
</div>
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">WINS</p>
<p class="text-2xl font-orbitron" data-countup="15">15</p>
</div>
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">POINTS</p>
<p class="text-2xl font-orbitron" data-countup="395">395</p>
</div>
</div>
</div>
</div>
</div>
<!-- More drivers would be generated dynamically -->
<div class="driver-slide flex-shrink-0 w-full md:w-1/2 lg:w-1/3 px-4">
<div class="bg-gradient-to-br from-gray-900 to-black border border-gray-800 rounded-2xl overflow-hidden">
<div class="p-6">
<div class="flex items-center mb-6">
<div class="w-20 h-20 rounded-full overflow-hidden border-2 border-red-600 mr-4">
<img src="http://static.photos/people/320x240/11" alt="Driver" class="w-full h-full object-cover">
</div>
<div>
<h3 class="text-2xl font-orbitron font-bold">LEWIS HAMILTON</h3>
<p class="text-red-500">Mercedes</p>
</div>
</div>
<div class="grid grid-cols-3 gap-4">
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">POLES</p>
<p class="text-2xl font-orbitron" data-countup="8">8</p>
</div>
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">WINS</p>
<p class="text-2xl font-orbitron" data-countup="7">7</p>
</div>
<div class="text-center p-4 bg-gray-800 rounded-lg">
<p class="text-gray-400">POINTS</p>
<p class="text-2xl font-orbitron" data-countup="248">248</p>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="flex justify-center mt-8 space-x-2">
<button class="driver-prev w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-red-600 transition">
<i data-feather="chevron-left"></i>
</button>
<button class="driver-next w-10 h-10 rounded-full bg-gray-800 flex items-center justify-center hover:bg-red-600 transition">
<i data-feather="chevron-right"></i>
</button>
</div>
</div>
</div>
</section>
<!-- Race Calendar -->
<section id="calendar" class="py-20 bg-gradient-to-b from-black to-gray-900">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-orbitron font-bold mb-12 text-center">RACE CALENDAR 2024</h2>
<div class="race-timeline">
<div class="race-item mb-12 relative pl-8 border-l-2 border-red-600 border-opacity-30">
<div class="absolute -left-3 top-0 w-6 h-6 rounded-full bg-red-600"></div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
<div class="flex flex-wrap justify-between items-center">
<div>
<h3 class="text-2xl font-orbitron font-bold">MONACO GRAND PRIX</h3>
<p class="text-gray-400">Circuit de Monaco • May 26</p>
</div>
<div class="flex items-center mt-4 md:mt-0">
<img src="http://static.photos/minimal/320x240/1" alt="Flag" class="w-12 h-8 rounded mr-4">
<span class="text-red-500 font-medium">UPCOMING</span>
</div>
</div>
</div>
</div>
<div class="race-item mb-12 relative pl-8 border-l-2 border-red-600 border-opacity-30">
<div class="absolute -left-3 top-0 w-6 h-6 rounded-full bg-red-600"></div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
<div class="flex flex-wrap justify-between items-center">
<div>
<h3 class="text-2xl font-orbitron font-bold">BELGIAN GRAND PRIX</h3>
<p class="text-gray-400">Circuit de Spa-Francorchamps • Aug 25</p>
</div>
<div class="flex items-center mt-4 md:mt-0">
<img src="http://static.photos/minimal/320x240/2" alt="Flag" class="w-12 h-8 rounded mr-4">
<span class="text-red-500 font-medium">UPCOMING</span>
</div>
</div>
</div>
</div>
<div class="race-item relative pl-8 border-l-2 border-red-600 border-opacity-30">
<div class="absolute -left-3 top-0 w-6 h-6 rounded-full bg-red-600"></div>
<div class="bg-gray-800 rounded-xl p-6 shadow-lg">
<div class="flex flex-wrap justify-between items-center">
<div>
<h3 class="text-2xl font-orbitron font-bold">ABU DHABI GRAND PRIX</h3>
<p class="text-gray-400">Yas Marina Circuit • Nov 24</p>
</div>
<div class="flex items-center mt-4 md:mt-0">
<img src="http://static.photos/minimal/320x240/3" alt="Flag" class="w-12 h-8 rounded mr-4">
<span class="text-red-500 font-medium">FINAL</span>
</div>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Championship Standings -->
<section id="standings" class="py-20 bg-black">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-orbitron font-bold mb-12 text-center">CHAMPIONSHIP STANDINGS</h2>
<div class="overflow-x-auto">
<table class="w-full standings-table">
<thead>
<tr class="border-b border-gray-800">
<th class="text-left py-4">POS</th>
<th class="text-left py-4">DRIVER</th>
<th class="text-left py-4">TEAM</th>
<th class="text-right py-4">POINTS</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-800 hover:bg-gray-900 transition">
<td class="py-4 font-orbitron text-red-600">1</td>
<td class="py-4">
<div class="flex items-center">
<span class="mr-4">1</span>
<span>Max Verstappen</span>
</div>
</td>
<td class="py-4">Red Bull</td>
<td class="py-4 text-right font-orbitron">395</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900 transition">
<td class="py-4 font-orbitron text-gray-500">2</td>
<td class="py-4">
<div class="flex items-center">
<span class="mr-4">2</span>
<span>Lewis Hamilton</span>
</div>
</td>
<td class="py-4">Mercedes</td>
<td class="py-4 text-right font-orbitron">248</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900 transition">
<td class="py-4 font-orbitron text-gray-500">3</td>
<td class="py-4">
<div class="flex items-center">
<span class="mr-4">3</span>
<span>Charles Leclerc</span>
</div>
</td>
<td class="py-4">Ferrari</td>
<td class="py-4 text-right font-orbitron">225</td>
</tr>
</tbody>
</table>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-gray-900 py-12 border-t border-gray-800">
<div class="container mx-auto px-6">
<div class="flex flex-col md:flex-row justify-between items-center">
<div class="mb-6 md:mb-0">
<div class="flex items-center space-x-2">
<div class="w-3 h-3 rounded-full bg-red-600"></div>
<h2 class="text-2xl font-orbitron font-bold">SPEED<span class="text-red-600">SHIFT</span></h2>
</div>
<p class="mt-2 text-gray-500">Feel the speed of Formula 1</p>
</div>
<div class="flex space-x-6">
<a href="#" class="text-gray-400 hover:text-red-500 transition">
<i data-feather="twitter"></i>
</a>
<a href="#" class="text-gray-400 hover:text-red-500 transition">
<i data-feather="instagram"></i>
</a>
<a href="#" class="text-gray-400 hover:text-red-500 transition">
<i data-feather="youtube"></i>
</a>
<a href="#" class="text-gray-400 hover:text-red-500 transition">
<i data-feather="facebook"></i>
</a>
</div>
</div>
<div class="mt-8 pt-8 border-t border-gray-800 text-center text-gray-500">
<p>&copy; 2024 SpeedShift. All rights reserved. Not affiliated with Formula 1.</p>
</div>
</div>
</footer>
<script src="script.js"></script>
<script>
feather.replace();
</script>
<script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
</body>
</html>