undefined / formula1.html
Okwutecloud's picture
Create a formula one game
5b76f58 verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>F1 World - Everything Formula 1</title>
<link rel="icon" type="image/x-icon" href="/static/favicon.ico">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script>
tailwind.config = {
theme: {
extend: {
colors: {
f1red: '#E10600',
dark: '#15151E',
light: '#F4F4F4'
}
}
}
}
</script>
<style>
.hero-section {
background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('http://static.photos/sport/1200x630/1');
background-size: cover;
background-position: center;
}
.news-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}
.driver-card:hover {
transform: scale(1.03);
}
</style>
</head>
<body class="bg-dark text-light">
<!-- Navigation -->
<nav class="bg-black py-4 border-b border-gray-800 sticky top-0 z-50">
<div class="container mx-auto px-4 flex justify-between items-center">
<div class="flex items-center space-x-8">
<a href="#" class="text-2xl font-bold text-f1red">F1<span class="text-white">WORLD</span></a>
<div class="hidden md:flex space-x-6">
<a href="#" class="hover:text-f1red">News</a>
<a href="#" class="hover:text-f1red">Schedule</a>
<a href="#" class="hover:text-f1red">Drivers</a>
<a href="#" class="hover:text-f1red">Teams</a>
<a href="f1game.html" class="hover:text-f1red">Game</a>
<a href="#" class="hover:text-f1red">Standings</a>
</div>
</div>
<div class="flex items-center space-x-4">
<button class="bg-f1red hover:bg-red-800 text-white px-4 py-2 rounded-md hidden md:block">
Subscribe
</button>
<button class="md:hidden">
<i data-feather="menu" class="text-white"></i>
</button>
</div>
</div>
</nav>
<!-- Hero Section -->
<section class="hero-section text-white py-24">
<div class="container mx-auto px-4 text-center">
<h1 class="text-4xl md:text-6xl font-bold mb-4">F1 2023 SEASON</h1>
<p class="text-xl mb-8 max-w-2xl mx-auto">Experience the thrill of Formula 1 racing with live updates, exclusive content, and in-depth analysis</p>
<div class="flex justify-center space-x-4">
<a href="#" class="bg-f1red hover:bg-red-800 text-white font-bold py-3 px-8 rounded-md">Latest News</a>
<a href="#" class="bg-transparent hover:bg-gray-800 text-white font-bold py-3 px-8 border border-white rounded-md">Watch Highlights</a>
</div>
</div>
</section>
<!-- Next Race Banner -->
<section class="bg-f1red py-4">
<div class="container mx-auto px-4">
<div class="flex flex-col md:flex-row items-center justify-between">
<div class="text-center md:text-left mb-2 md:mb-0">
<h3 class="font-bold">NEXT RACE: MONACO GRAND PRIX</h3>
<p class="text-sm">May 28, 2023 - Circuit de Monaco</p>
</div>
<div class="flex items-center space-x-4">
<div class="text-center">
<div class="text-2xl font-bold">28</div>
<div class="text-xs">MAY</div>
</div>
<div class="hidden md:block border-l border-white h-12"></div>
<div class="hidden md:flex items-center space-x-2">
<i data-feather="clock" class="w-4 h-4"></i>
<span>Race: 15:00 Local Time</span>
</div>
<a href="#" class="bg-black hover:bg-gray-900 text-white px-4 py-2 rounded text-sm">View Schedule</a>
</div>
</div>
</div>
</section>
<!-- Latest News -->
<section class="py-12 bg-dark">
<div class="container mx-auto px-4">
<h2 class="text-2xl font-bold mb-8 border-b border-gray-800 pb-2">Latest News</h2>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<!-- News Card 1 -->
<div class="news-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300">
<img src="http://static.photos/sport/640x360/2" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-f1red text-sm">Race Report</span>
<h3 class="font-bold text-lg my-2">Verstappen dominates Spanish GP</h3>
<p class="text-gray-400 text-sm mb-4">Max Verstappen extended his championship lead with a commanding victory...</p>
<div class="flex justify-between items-center text-sm">
<span class="text-gray-500">2 hours ago</span>
<a href="#" class="text-f1red hover:underline">Read More</a>
</div>
</div>
</div>
<!-- News Card 2 -->
<div class="news-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300">
<img src="http://static.photos/sport/640x360/3" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-f1red text-sm">Team News</span>
<h3 class="font-bold text-lg my-2">Ferrari announces major upgrades</h3>
<p class="text-gray-400 text-sm mb-4">Scuderia Ferrari has brought significant upgrades to Monaco in bid to close gap...</p>
<div class="flex justify-between items-center text-sm">
<span class="text-gray-500">5 hours ago</span>
<a href="#" class="text-f1red hover:underline">Read More</a>
</div>
</div>
</div>
<!-- News Card 3 -->
<div class="news-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300">
<img src="http://static.photos/sport/640x360/4" alt="News" class="w-full h-48 object-cover">
<div class="p-4">
<span class="text-f1red text-sm">Driver Market</span>
<h3 class="font-bold text-lg my-2">Ricciardo in talks with multiple teams</h3>
<p class="text-gray-400 text-sm mb-4">Daniel Ricciardo reveals he's been approached by several teams for 2024...</p>
<div class="flex justify-between items-center text-sm">
<span class="text-gray-500">1 day ago</span>
<a href="#" class="text-f1red hover:underline">Read More</a>
</div>
</div>
</div>
</div>
<div class="text-center mt-8">
<a href="#" class="inline-block border border-f1red text-f1red hover:bg-f1red hover:text-white px-6 py-2 rounded-md">View All News</a>
</div>
</div>
</section>
<!-- Championship Standings -->
<section class="py-12 bg-black">
<div class="container mx-auto px-4">
<h2 class="text-2xl font-bold mb-8 border-b border-gray-800 pb-2">Championship Standings</h2>
<!-- Drivers Standings -->
<div class="mb-12">
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-bold">Drivers' Championship</h3>
<a href="#" class="text-f1red hover:underline text-sm">Full Standings</a>
</div>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left border-b border-gray-800">
<th class="pb-2">Pos</th>
<th class="pb-2">Driver</th>
<th class="pb-2">Team</th>
<th class="pb-2 text-right">Points</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">1</td>
<td class="py-3 flex items-center">
<img src="http://static.photos/people/40x40/1" alt="Driver" class="w-8 h-8 rounded-full mr-2">
<span>Max Verstappen</span>
</td>
<td class="py-3">
<span class="text-red-500">Red Bull Racing</span>
</td>
<td class="py-3 text-right">144</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">2</td>
<td class="py-3 flex items-center">
<img src="http://static.photos/people/40x40/2" alt="Driver" class="w-8 h-8 rounded-full mr-2">
<span>Sergio Perez</span>
</td>
<td class="py-3">
<span class="text-red-500">Red Bull Racing</span>
</td>
<td class="py-3 text-right">129</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">3</td>
<td class="py-3 flex items-center">
<img src="http://static.photos/people/40x40/3" alt="Driver" class="w-8 h-8 rounded-full mr-2">
<span>Fernando Alonso</span>
</td>
<td class="py-3">
<span class="text-green-500">Aston Martin</span>
</td>
<td class="py-3 text-right">99</td>
</tr>
</tbody>
</table>
</div>
</div>
<!-- Constructors Standings -->
<div>
<div class="flex justify-between items-center mb-4">
<h3 class="text-xl font-bold">Constructors' Championship</h3>
<a href="#" class="text-f1red hover:underline text-sm">Full Standings</a>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4">
<div class="bg-gray-900 p-4 rounded-lg border-l-4 border-red-500">
<div class="flex justify-between items-start">
<div>
<h4 class="font-bold">1. Red Bull Racing</h4>
<p class="text-gray-400 text-sm">Honda RBPT</p>
</div>
<span class="text-xl font-bold">273</span>
</div>
</div>
<div class="bg-gray-900 p-4 rounded-lg border-l-4 border-silver-500">
<div class="flex justify-between items-start">
<div>
<h4 class="font-bold">2. Aston Martin</h4>
<p class="text-gray-400 text-sm">Mercedes</p>
</div>
<span class="text-xl font-bold">154</span>
</div>
</div>
<div class="bg-gray-900 p-4 rounded-lg border-l-4 border-red-500">
<div class="flex justify-between items-start">
<div>
<h4 class="font-bold">3. Ferrari</h4>
<p class="text-gray-400 text-sm">Ferrari</p>
</div>
<span class="text-xl font-bold">122</span>
</div>
</div>
<div class="bg-gray-900 p-4 rounded-lg border-l-4 border-blue-500">
<div class="flex justify-between items-start">
<div>
<h4 class="font-bold">4. Mercedes</h4>
<p class="text-gray-400 text-sm">Mercedes</p>
</div>
<span class="text-xl font-bold">119</span>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Featured Drivers -->
<section class="py-12 bg-dark">
<div class="container mx-auto px-4">
<h2 class="text-2xl font-bold mb-8 border-b border-gray-800 pb-2">Featured Drivers</h2>
<div class="grid grid-cols-2 md:grid-cols-4 gap-4">
<!-- Driver 1 -->
<div class="driver-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300 relative group">
<img src="http://static.photos/people/320x240/1" alt="Driver" class="w-full h-64 object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-90"></div>
<div class="absolute bottom-0 left-0 p-4 w-full">
<h3 class="font-bold text-xl">Max Verstappen</h3>
<p class="text-f1red">Red Bull Racing</p>
<div class="mt-2 opacity-0 group-hover:opacity-100 transition-opacity">
<div class="flex items-center text-sm">
<span class="mr-2">Wins: 5</span>
<span>Podiums: 7</span>
</div>
<a href="#" class="inline-block mt-2 text-white hover:underline text-sm">View Profile</a>
</div>
</div>
</div>
<!-- Driver 2 -->
<div class="driver-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300 relative group">
<img src="http://static.photos/people/320x240/2" alt="Driver" class="w-full h-64 object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-90"></div>
<div class="absolute bottom-0 left-0 p-4 w-full">
<h3 class="font-bold text-xl">Lewis Hamilton</h3>
<p class="text-blue-400">Mercedes</p>
<div class="mt-2 opacity-0 group-hover:opacity-100 transition-opacity">
<div class="flex items-center text-sm">
<span class="mr-2">Wins: 0</span>
<span>Podiums: 3</span>
</div>
<a href="#" class="inline-block mt-2 text-white hover:underline text-sm">View Profile</a>
</div>
</div>
</div>
<!-- Driver 3 -->
<div class="driver-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300 relative group">
<img src="http://static.photos/people/320x240/3" alt="Driver" class="w-full h-64 object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-90"></div>
<div class="absolute bottom-0 left-0 p-4 w-full">
<h3 class="font-bold text-xl">Fernando Alonso</h3>
<p class="text-green-500">Aston Martin</p>
<div class="mt-2 opacity-0 group-hover:opacity-100 transition-opacity">
<div class="flex items-center text-sm">
<span class="mr-2">Wins: 0</span>
<span>Podiums: 5</span>
</div>
<a href="#" class="inline-block mt-2 text-white hover:underline text-sm">View Profile</a>
</div>
</div>
</div>
<!-- Driver 4 -->
<div class="driver-card bg-gray-900 rounded-lg overflow-hidden transition-transform duration-300 relative group">
<img src="http://static.photos/people/320x240/4" alt="Driver" class="w-full h-64 object-cover">
<div class="absolute inset-0 bg-gradient-to-t from-black to-transparent opacity-90"></div>
<div class="absolute bottom-0 left-0 p-4 w-full">
<h3 class="font-bold text-xl">Charles Leclerc</h3>
<p class="text-red-500">Ferrari</p>
<div class="mt-2 opacity-0 group-hover:opacity-100 transition-opacity">
<div class="flex items-center text-sm">
<span class="mr-2">Wins: 0</span>
<span>Podiums: 2</span>
</div>
<a href="#" class="inline-block mt-2 text-white hover:underline text-sm">View Profile</a>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Upcoming Races -->
<section class="py-12 bg-black">
<div class="container mx-auto px-4">
<h2 class="text-2xl font-bold mb-8 border-b border-gray-800 pb-2">Upcoming Races</h2>
<div class="overflow-x-auto">
<table class="w-full">
<thead>
<tr class="text-left border-b border-gray-800">
<th class="pb-2">Round</th>
<th class="pb-2">Grand Prix</th>
<th class="pb-2">Circuit</th>
<th class="pb-2">Date</th>
<th class="pb-2">Local Time</th>
</tr>
</thead>
<tbody>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">7</td>
<td class="py-3">Monaco</td>
<td class="py-3">Circuit de Monaco</td>
<td class="py-3">May 28</td>
<td class="py-3">15:00</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">8</td>
<td class="py-3">Spain</td>
<td class="py-3">Circuit de Barcelona-Catalunya</td>
<td class="py-3">June 4</td>
<td class="py-3">15:00</td>
</tr>
<tr class="border-b border-gray-800 hover:bg-gray-900">
<td class="py-3">9</td>
<td class="py-3">Canada</td>
<td class="py-3">Circuit Gilles Villeneuve</td>
<td class="py-3">June 18</td>
<td class="py-3">14:00</td>
</tr>
</tbody>
</table>
</div>
<div class="text-center mt-8">
<a href="#" class="inline-block border border-f1red text-f1red hover:bg-f1red hover:text-white px-6 py-2 rounded-md">Full Calendar</a>
</div>
</div>
</section>
<!-- Footer -->
<footer class="bg-black py-8 border-t border-gray-800">
<div class="container mx-auto px-4">
<div class="grid grid-cols-1 md:grid-cols-4 gap-8 mb-8">
<div>
<h3 class="text-lg font-bold mb-4">F1 World</h3>
<p class="text-gray-400 text-sm">Your ultimate destination for everything Formula 1 - news, standings, schedules, and more.</p>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Sections</h3>
<ul class="space-y-2">
<li><a href="#" class="text-gray-400 hover:text-f1red">News</a></li>
<li><a href="#" class="text-gray-400 hover:text-f1red">Schedule</a></li>
<li><a href="#" class="text-gray-400 hover:text-f1red">Drivers</a></li>
<li><a href="#" class="text-gray-400 hover:text-f1red">Teams</a></li>
<li><a href="f1game.html" class="text-gray-400 hover:text-f1red">F1 Game</a></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-f1red"><i data-feather="facebook"></i></a>
<a href="#" class="text-gray-400 hover:text-f1red"><i data-feather="twitter"></i></a>
<a href="#" class="text-gray-400 hover:text-f1red"><i data-feather="instagram"></i></a>
<a href="#" class="text-gray-400 hover:text-f1red"><i data-feather="youtube"></i></a>
</div>
</div>
<div>
<h3 class="text-lg font-bold mb-4">Subscribe</h3>
<p class="text-gray-400 text-sm mb-2">Get the latest F1 news delivered to your inbox</p>
<div class="flex">
<input type="email" placeholder="Your email" class="bg-gray-900 text-white px-4 py-2 rounded-l-md focus:outline-none w-full">
<button class="bg-f1red hover:bg-red-800 text-white px-4 py-2 rounded-r-md">Subscribe</button>
</div>
</div>
</div>
<div class="pt-6 border-t border-gray-800 text-center text-sm text-gray-500">
<p>© 2023 F1 World. Not affiliated with Formula 1 companies. All content for educational purposes only.</p>
</div>
</div>
</footer>
<script>
feather.replace();
</script>
</body>
</html>