Spaces:
Running
Running
Download index.html from Ivanovivan0/new-epl: direct link, hf CLI and curl.
- Browser
- Download file 49.6 kB
-
https://huggingface.co/spaces/Ivanovivan0/new-epl/resolve/main/index.html
- Command line
-
hf download hf://spaces/Ivanovivan0/new-epl/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Ivanovivan0/new-epl/resolve/main/index.html
49.6 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Premier League Hub</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css"> | |
| <style> | |
| /* Custom styles to complement Tailwind */ | |
| .stadium-img { | |
| background-image: url('https://images.unsplash.com/photo-1574629810360-7efbbe195018?ixlib=rb-1.2.1&auto=format&fit=crop&w=1350&q=80'); | |
| background-size: cover; | |
| background-position: center; | |
| } | |
| .player-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.2); | |
| } | |
| .news-card:hover { | |
| transform: scale(1.02); | |
| } | |
| /* Animation for match cards */ | |
| @keyframes pulse { | |
| 0% { transform: scale(1); } | |
| 50% { transform: scale(1.03); } | |
| 100% { transform: scale(1); } | |
| } | |
| .live-match { | |
| animation: pulse 2s infinite; | |
| border-left: 4px solid #e63946; | |
| } | |
| /* Admin panel toggle */ | |
| .admin-panel { | |
| transition: all 0.3s ease; | |
| max-height: 0; | |
| overflow: hidden; | |
| } | |
| .admin-panel.open { | |
| max-height: 1000px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-100 font-sans"> | |
| <!-- Header/Navigation --> | |
| <header class="bg-blue-900 text-white shadow-lg sticky top-0 z-50"> | |
| <div class="container mx-auto px-4 py-3 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <img src="https://via.placeholder.com/50" alt="Premier League Logo" class="h-12"> | |
| <h1 class="text-2xl font-bold">Premier League Hub</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#home" class="hover:text-yellow-300 font-medium">Home</a> | |
| <a href="#teams" class="hover:text-yellow-300 font-medium">Teams</a> | |
| <a href="#matches" class="hover:text-yellow-300 font-medium">Matches</a> | |
| <a href="#table" class="hover:text-yellow-300 font-medium">League Table</a> | |
| <a href="#stats" class="hover:text-yellow-300 font-medium">Statistics</a> | |
| <a href="#news" class="hover:text-yellow-300 font-medium">News</a> | |
| </nav> | |
| <div class="flex items-center space-x-4"> | |
| <button id="admin-toggle" class="bg-red-600 hover:bg-red-700 px-3 py-1 rounded-full text-sm font-medium hidden"> | |
| Admin <i class="fas fa-lock ml-1"></i> | |
| </button> | |
| <button class="md:hidden" id="mobile-menu-button"> | |
| <i class="fas fa-bars text-2xl"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Mobile menu --> | |
| <div id="mobile-menu" class="hidden md:hidden bg-blue-800 px-4 py-2"> | |
| <a href="#home" class="block py-2 hover:text-yellow-300">Home</a> | |
| <a href="#teams" class="block py-2 hover:text-yellow-300">Teams</a> | |
| <a href="#matches" class="block py-2 hover:text-yellow-300">Matches</a> | |
| <a href="#table" class="block py-2 hover:text-yellow-300">League Table</a> | |
| <a href="#stats" class="block py-2 hover:text-yellow-300">Statistics</a> | |
| <a href="#news" class="block py-2 hover:text-yellow-300">News</a> | |
| </div> | |
| </header> | |
| <!-- Admin Panel (initially hidden) --> | |
| <div id="admin-panel" class="admin-panel bg-gray-800 text-white"> | |
| <div class="container mx-auto px-4 py-4"> | |
| <h2 class="text-xl font-bold mb-4">Administrator Panel</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-3 gap-6"> | |
| <!-- Team Management --> | |
| <div class="bg-gray-700 p-4 rounded-lg"> | |
| <h3 class="font-bold mb-3 text-yellow-300">Team Management</h3> | |
| <div class="space-y-3"> | |
| <button id="add-team-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add Team</button> | |
| <button id="edit-team-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit Team</button> | |
| <button id="delete-team-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete Team</button> | |
| </div> | |
| <div id="team-form" class="mt-4 hidden"> | |
| <input type="text" placeholder="Team Name" class="w-full mb-2 p-2 rounded text-black"> | |
| <input type="text" placeholder="City" class="w-full mb-2 p-2 rounded text-black"> | |
| <input type="text" placeholder="Stadium" class="w-full mb-2 p-2 rounded text-black"> | |
| <input type="text" placeholder="Head Coach" class="w-full mb-2 p-2 rounded text-black"> | |
| <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button> | |
| </div> | |
| </div> | |
| <!-- Match Management --> | |
| <div class="bg-gray-700 p-4 rounded-lg"> | |
| <h3 class="font-bold mb-3 text-yellow-300">Match Management</h3> | |
| <div class="space-y-3"> | |
| <button id="add-match-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add Match</button> | |
| <button id="edit-match-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit Match</button> | |
| <button id="delete-match-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete Match</button> | |
| </div> | |
| <div id="match-form" class="mt-4 hidden"> | |
| <select class="w-full mb-2 p-2 rounded text-black"> | |
| <option>Select Home Team</option> | |
| </select> | |
| <select class="w-full mb-2 p-2 rounded text-black"> | |
| <option>Select Away Team</option> | |
| </select> | |
| <input type="datetime-local" class="w-full mb-2 p-2 rounded text-black"> | |
| <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button> | |
| </div> | |
| </div> | |
| <!-- News Management --> | |
| <div class="bg-gray-700 p-4 rounded-lg"> | |
| <h3 class="font-bold mb-3 text-yellow-300">News Management</h3> | |
| <div class="space-y-3"> | |
| <button id="add-news-btn" class="w-full bg-blue-600 hover:bg-blue-700 py-2 px-4 rounded">Add News</button> | |
| <button id="edit-news-btn" class="w-full bg-green-600 hover:bg-green-700 py-2 px-4 rounded">Edit News</button> | |
| <button id="delete-news-btn" class="w-full bg-red-600 hover:bg-red-700 py-2 px-4 rounded">Delete News</button> | |
| </div> | |
| <div id="news-form" class="mt-4 hidden"> | |
| <input type="text" placeholder="News Title" class="w-full mb-2 p-2 rounded text-black"> | |
| <textarea placeholder="News Content" class="w-full mb-2 p-2 rounded text-black"></textarea> | |
| <button class="bg-blue-600 hover:bg-blue-700 py-1 px-3 rounded text-sm">Submit</button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Main Content --> | |
| <main> | |
| <!-- Hero Section --> | |
| <section id="home" class="stadium-img bg-gray-900 text-white py-20 bg-blend-overlay bg-opacity-70"> | |
| <div class="container mx-auto px-4 text-center"> | |
| <h1 class="text-4xl md:text-6xl font-bold mb-6">Premier League 2023/24</h1> | |
| <p class="text-xl md:text-2xl mb-8">Your ultimate source for everything Premier League - matches, stats, news and more</p> | |
| <div class="flex justify-center space-x-4"> | |
| <a href="#matches" class="bg-red-600 hover:bg-red-700 text-white font-bold py-3 px-6 rounded-full">Today's Matches</a> | |
| <a href="#table" class="bg-blue-600 hover:bg-blue-700 text-white font-bold py-3 px-6 rounded-full">League Table</a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Featured Match --> | |
| <section class="container mx-auto px-4 py-8 -mt-12 z-10 relative"> | |
| <div class="bg-white rounded-xl shadow-2xl overflow-hidden max-w-4xl mx-auto"> | |
| <div class="bg-red-600 text-white py-3 px-6"> | |
| <h2 class="text-xl font-bold">Featured Match</h2> | |
| </div> | |
| <div class="p-6"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <div class="text-center flex-1"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-20 mb-2"> | |
| <h3 class="text-xl font-bold">Manchester United</h3> | |
| </div> | |
| <div class="text-center mx-4"> | |
| <div class="text-5xl font-bold">2 - 1</div> | |
| <div class="text-sm mt-2">Full Time</div> | |
| </div> | |
| <div class="text-center flex-1"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-20 mb-2"> | |
| <h3 class="text-xl font-bold">Chelsea</h3> | |
| </div> | |
| </div> | |
| <div class="text-center"> | |
| <div class="inline-block bg-gray-200 rounded-full px-4 py-1"> | |
| <i class="fas fa-calendar-alt mr-2"></i> | |
| <span>Sat, 10 Feb 2024 • Old Trafford</span> | |
| </div> | |
| </div> | |
| <div class="mt-6 pt-4 border-t"> | |
| <h4 class="font-bold mb-2">Match Events:</h4> | |
| <ul class="space-y-2"> | |
| <li class="flex items-center"><span class="w-8 font-bold">23'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Bruno Fernandes</span></li> | |
| <li class="flex items-center"><span class="w-8 font-bold">45+2'</span> <span class="bg-yellow-200 px-2 rounded">🟨 Yellow Card - Cole Palmer</span></li> | |
| <li class="flex items-center"><span class="w-8 font-bold">56'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Marcus Rashford</span></li> | |
| <li class="flex items-center"><span class="w-8 font-bold">78'</span> <span class="bg-red-200 px-2 rounded">🟥 Red Card - Malo Gusto</span></li> | |
| <li class="flex items-center"><span class="w-8 font-bold">89'</span> <span class="bg-green-200 px-2 rounded">⚽ Goal - Nicolas Jackson</span></li> | |
| </ul> | |
| </div> | |
| <div class="mt-4 flex justify-center"> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full"> | |
| Match Details <i class="fas fa-arrow-right ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Teams Section --> | |
| <section id="teams" class="container mx-auto px-4 py-12"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Premier League Teams</h2> | |
| <div class="grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 gap-6"> | |
| <!-- Team cards will be generated here --> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-blue-900 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Arsenal</h3> | |
| <p class="text-sm text-gray-600">Emirates Stadium</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-red-600 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Liverpool</h3> | |
| <p class="text-sm text-gray-600">Anfield</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-blue-700 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Chelsea</h3> | |
| <p class="text-sm text-gray-600">Stamford Bridge</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-red-700 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Manchester United</h3> | |
| <p class="text-sm text-gray-600">Old Trafford</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-sky-600 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Manchester City</h3> | |
| <p class="text-sm text-gray-600">Etihad Stadium</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-black h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Newcastle United</h3> | |
| <p class="text-sm text-gray-600">St. James' Park</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-amber-700 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Tottenham Hotspur</h3> | |
| <p class="text-sm text-gray-600">Tottenham Hotspur Stadium</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-claret h-3" style="background-color: #7A263A;"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">West Ham United</h3> | |
| <p class="text-sm text-gray-600">London Stadium</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-green-700 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Aston Villa</h3> | |
| <p class="text-sm text-gray-600">Villa Park</p> | |
| </div> | |
| </div> | |
| <div class="team-card bg-white rounded-lg shadow-md overflow-hidden transition-transform hover:scale-105 cursor-pointer"> | |
| <div class="bg-blue-800 h-3"></div> | |
| <div class="p-4 text-center"> | |
| <img src="https://via.placeholder.com/80" alt="Team Logo" class="mx-auto h-16 mb-3"> | |
| <h3 class="font-bold text-lg">Everton</h3> | |
| <p class="text-sm text-gray-600">Goodison Park</p> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 text-center"> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full"> | |
| View All Teams <i class="fas fa-chevron-right ml-2"></i> | |
| </button> | |
| </div> | |
| </section> | |
| <!-- Matches Section --> | |
| <section id="matches" class="bg-gray-100 py-12"> | |
| <div class="container mx-auto px-4"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">Matches & Results</h2> | |
| <div class="flex justify-center mb-8"> | |
| <div class="inline-flex rounded-md shadow-sm" role="group"> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-l-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| Previous | |
| </button> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-white bg-blue-700 hover:bg-blue-800 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| Current Matchday | |
| </button> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-r-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| Upcoming | |
| </button> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6"> | |
| <!-- Match cards --> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span> | |
| <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Arsenal</span> | |
| </div> | |
| <div class="text-lg font-bold">2</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">West Ham</span> | |
| </div> | |
| <div class="text-lg font-bold">0</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>Emirates Stadium</span> | |
| <span>FT</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-red-600 live-match"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span> | |
| <span class="text-xs bg-red-100 text-red-800 px-2 py-1 rounded">LIVE 67'</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Aston Villa</span> | |
| </div> | |
| <div class="text-lg font-bold">1</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Man Utd</span> | |
| </div> | |
| <div class="text-lg font-bold">1</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>Villa Park</span> | |
| <span class="text-red-600 font-bold">LIVE</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Sun, 11 Feb</span> | |
| <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Chelsea</span> | |
| </div> | |
| <div class="text-lg font-bold text-gray-400">-</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Man City</span> | |
| </div> | |
| <div class="text-lg font-bold text-gray-400">-</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>Stamford Bridge</span> | |
| <span>14:00 GMT</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span> | |
| <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Liverpool</span> | |
| </div> | |
| <div class="text-lg font-bold">3</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Burnley</span> | |
| </div> | |
| <div class="text-lg font-bold">1</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>Anfield</span> | |
| <span>FT</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Sat, 10 Feb</span> | |
| <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Newcastle</span> | |
| </div> | |
| <div class="text-lg font-bold">2</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Bournemouth</span> | |
| </div> | |
| <div class="text-lg font-bold">2</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>St. James' Park</span> | |
| <span>FT</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="bg-white rounded-lg shadow-md overflow-hidden border-t-4 border-blue-600"> | |
| <div class="p-4"> | |
| <div class="flex justify-between items-center mb-2"> | |
| <span class="text-sm text-gray-500">Matchweek 24 • Mon, 12 Feb</span> | |
| <span class="text-xs bg-gray-200 px-2 py-1 rounded">Premier League</span> | |
| </div> | |
| <div class="flex items-center justify-between mb-2"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Tottenham</span> | |
| </div> | |
| <div class="text-lg font-bold text-gray-400">-</div> | |
| </div> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <img src="https://via.placeholder.com/30" alt="Team Logo" class="h-8"> | |
| <span class="font-medium">Brighton</span> | |
| </div> | |
| <div class="text-lg font-bold text-gray-400">-</div> | |
| </div> | |
| </div> | |
| <div class="bg-gray-100 px-4 py-2 text-sm"> | |
| <div class="flex justify-between"> | |
| <span>Tottenham Hotspur Stadium</span> | |
| <span>20:00 GMT</span> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="mt-8 text-center"> | |
| <button class="bg-blue-600 hover:bg-blue-700 text-white font-medium py-2 px-6 rounded-full"> | |
| View Full Schedule <i class="fas fa-calendar-alt ml-2"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- League Table Section --> | |
| <section id="table" class="container mx-auto px-4 py-12"> | |
| <h2 class="text-3xl font-bold mb-8 text-center">League Table</h2> | |
| <div class="flex justify-center mb-6"> | |
| <div class="inline-flex rounded-md shadow-sm" role="group"> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-l-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| 2023/24 | |
| </button> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-white bg-blue-700 hover:bg-blue-800 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| Current | |
| </button> | |
| <button type="button" class="px-4 py-2 text-sm font-medium text-blue-700 bg-blue-100 rounded-r-lg hover:bg-blue-200 focus:z-10 focus:ring-2 focus:ring-blue-700"> | |
| 2022/23 | |
| </button> | |
| </div> | |
| </div> | |
| <div class="overflow-x-auto"> | |
| <table class="min-w-full bg-white shadow-md rounded-lg overflow-hidden"> | |
| <thead class="bg-blue-900 text-white"> | |
| <tr> | |
| <th class="py-3 px-4 text-left">#</th> | |
| <th class="py-3 px-4 text-left">Team</th> | |
| <th class="py-3 px-4 text-center">MP</th> | |
| <th class="py-3 px-4 text-center">W</th> | |
| <th class="py-3 px-4 text-center">D</th> | |
| <th class="py-3 px-4 text-center">L</th> | |
| <th class="py-3 px-4 text-center">GF</th> | |
| <th class="py-3 px-4 text-center">GA</th> | |
| <th class="py-3 px-4 text-center">GD</th> | |
| <th class="py-3 px-4 text-center">Pts</th> | |
| <th class="py-3 px-4 text-center">Form</th> | |
| </tr> | |
| </thead> | |
| <tbody class="divide-y divide-gray-200"> | |
| <tr class="bg-blue-50"> | |
| <td class="py-3 px-4 font-bold">1</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Liverpool</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center">16</td> | |
| <td class="py-3 px-4 text-center">5</td> | |
| <td class="py-3 px-4 text-center">2</td> | |
| <td class="py-3 px-4 text-center">53</td> | |
| <td class="py-3 px-4 text-center">22</td> | |
| <td class="py-3 px-4 text-center font-bold">+31</td> | |
| <td class="py-3 px-4 text-center font-bold">53</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-gray-500 text-white rounded-full text-xs">D</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="py-3 px-4 font-bold">2</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Man City</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center">15</td> | |
| <td class="py-3 px-4 text-center">4</td> | |
| <td class="py-3 px-4 text-center">4</td> | |
| <td class="py-3 px-4 text-center">52</td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center font-bold">+29</td> | |
| <td class="py-3 px-4 text-center font-bold">49</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr class="bg-blue-50"> | |
| <td class="py-3 px-4 font-bold">3</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Arsenal</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center">15</td> | |
| <td class="py-3 px-4 text-center">4</td> | |
| <td class="py-3 px-4 text-center">4</td> | |
| <td class="py-3 px-4 text-center">48</td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center font-bold">+25</td> | |
| <td class="py-3 px-4 text-center font-bold">49</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="py-3 px-4 font-bold">4</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Aston Villa</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center">14</td> | |
| <td class="py-3 px-4 text-center">4</td> | |
| <td class="py-3 px-4 text-center">5</td> | |
| <td class="py-3 px-4 text-center">49</td> | |
| <td class="py-3 px-4 text-center">30</td> | |
| <td class="py-3 px-4 text-center font-bold">+19</td> | |
| <td class="py-3 px-4 text-center font-bold">46</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr class="bg-blue-50"> | |
| <td class="py-3 px-4 font-bold">5</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Tottenham</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">24</td> | |
| <td class="py-3 px-4 text-center">13</td> | |
| <td class="py-3 px-4 text-center">5</td> | |
| <td class="py-3 px-4 text-center">6</td> | |
| <td class="py-3 px-4 text-center">49</td> | |
| <td class="py-3 px-4 text-center">35</td> | |
| <td class="py-3 px-4 text-center font-bold">+14</td> | |
| <td class="py-3 px-4 text-center font-bold">44</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr> | |
| <td class="py-3 px-4 font-bold">6</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Man United</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">23</td> | |
| <td class="py-3 px-4 text-center">13</td> | |
| <td class="py-3 px-4 text-center">2</td> | |
| <td class="py-3 px-4 text-center">8</td> | |
| <td class="py-3 px-4 text-center">33</td> | |
| <td class="py-3 px-4 text-center">31</td> | |
| <td class="py-3 px-4 text-center font-bold">+2</td> | |
| <td class="py-3 px-4 text-center font-bold">41</td> | |
| <td class="py-3 px-4 text-center"> | |
| <div class="flex space-x-1 justify-center"> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-red-500 text-white rounded-full text-xs">L</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| <span class="w-5 h-5 flex items-center justify-center bg-green-500 text-white rounded-full text-xs">W</span> | |
| </div> | |
| </td> | |
| </tr> | |
| <tr class="bg-blue-50"> | |
| <td class="py-3 px-4 font-bold">7</td> | |
| <td class="py-3 px-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/20" alt="Team Logo" class="h-6 mr-2"> | |
| <span>Newcastle</span> | |
| </div> | |
| </td> | |
| <td class="py-3 px-4 text-center">24</td> | |
| <td class="py-3 px-4 text-center">11</td> | |
| <td class="py-3 px-4 text-center">3</td> | |
| <script> | |
| // Toggle mobile menu | |
| document.getElementById('mobile-menu-button').addEventListener('click', function() { | |
| const menu = document.getElementById('mobile-menu'); | |
| menu.classList.toggle('hidden'); | |
| }); | |
| // Toggle admin panel | |
| document.getElementById('admin-toggle').addEventListener('click', function() { | |
| const adminPanel = document.getElementById('admin-panel'); | |
| adminPanel.classList.toggle('open'); | |
| // Toggle admin button highlight | |
| this.classList.toggle('bg-yellow-500'); | |
| this.classList.toggle('bg-red-600'); | |
| }); | |
| // Team management buttons | |
| document.getElementById('add-team-btn').addEventListener('click', function() { | |
| document.getElementById('team-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('edit-team-btn').addEventListener('click', function() { | |
| document.getElementById('team-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('delete-team-btn').addEventListener('click', function() { | |
| alert('Delete team functionality would go here'); | |
| }); | |
| // Match management buttons | |
| document.getElementById('add-match-btn').addEventListener('click', function() { | |
| document.getElementById('match-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('edit-match-btn').addEventListener('click', function() { | |
| document.getElementById('match-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('delete-match-btn').addEventListener('click', function() { | |
| alert('Delete match functionality would go here'); | |
| }); | |
| // News management buttons | |
| document.getElementById('add-news-btn').addEventListener('click', function() { | |
| document.getElementById('news-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('edit-news-btn').addEventListener('click', function() { | |
| document.getElementById('news-form').classList.toggle('hidden'); | |
| }); | |
| document.getElementById('delete-news-btn').addEventListener('click', function() { | |
| alert('Delete news functionality would go here'); | |
| }); | |
| // Simulate admin login for demo (normally this would be server-side) | |
| setTimeout(function() { | |
| document.getElementById('admin-toggle').classList.remove('hidden'); | |
| }, 1500); | |
| </script> | |
| </div> | |
| </div> | |
| <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=Ivanovivan0/new-epl" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |