Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Videos | Hardcore Haven Hub</title> | |
| <link rel="stylesheet" href="style.css"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| </head> | |
| <body class="bg-gray-100 min-h-screen"> | |
| <custom-navbar></custom-navbar> | |
| <main class="container mx-auto px-4 py-8"> | |
| <h1 class="text-4xl font-bold mb-8 text-gray-800">Latest Videos</h1> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-6"> | |
| <!-- Video cards will be populated by JavaScript --> | |
| </div> | |
| </main> | |
| <custom-footer></custom-footer> | |
| <script src="components/navbar.js"></script> | |
| <script src="components/footer.js"></script> | |
| <script src="script.js"></script> | |
| <script> | |
| feather.replace(); | |
| // Sample video data - in a real app this would come from an API | |
| const videos = [ | |
| { | |
| title: "Hardcore Scene 1", | |
| thumbnail: "http://static.photos/people/640x360/1", | |
| views: "1.2M", | |
| duration: "12:34", | |
| model: "Jessica" | |
| }, | |
| { | |
| title: "Intense Action", | |
| thumbnail: "http://static.photos/people/640x360/2", | |
| views: "890K", | |
| duration: "15:20", | |
| model: "Sophia" | |
| }, | |
| { | |
| title: "Wild Session", | |
| thumbnail: "http://static.photos/people/640x360/3", | |
| views: "2.1M", | |
| duration: "18:45", | |
| model: "Lily" | |
| }, | |
| { | |
| title: "Hardcore Fantasy", | |
| thumbnail: "http://static.photos/people/640x360/4", | |
| views: "1.5M", | |
| duration: "20:12", | |
| model: "Emma" | |
| } | |
| ]; | |
| document.addEventListener('DOMContentLoaded', () => { | |
| const grid = document.querySelector('.grid'); | |
| videos.forEach(video => { | |
| const card = document.createElement('div'); | |
| card.className = 'bg-white rounded-lg shadow-md overflow-hidden hover:shadow-xl transition-shadow'; | |
| card.innerHTML = ` | |
| <div class="relative"> | |
| <img src="${video.thumbnail}" alt="${video.title}" class="w-full h-48 object-cover"> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-70 text-white px-2 py-1 rounded text-sm">${video.duration}</span> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-semibold text-lg mb-1">${video.title}</h3> | |
| <div class="flex justify-between text-gray-600 text-sm"> | |
| <span>${video.views} views</span> | |
| <span>${video.model}</span> | |
| </div> | |
| </div> | |
| `; | |
| grid.appendChild(card); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> |