Spaces:
Running
Running
Download index.html from Cameronbarry/browser: direct link, hf CLI and curl.
- Browser
- Download file 13.7 kB
-
https://huggingface.co/spaces/Cameronbarry/browser/resolve/main/index.html
- Command line
-
hf download hf://spaces/Cameronbarry/browser/index.html
-
curl -L -o index.html https://huggingface.co/spaces/Cameronbarry/browser/resolve/main/index.html
13.7 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>GameTube - Gaming Browser for Google TV</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> | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| height: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #1a1a1a; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #4f46e5; | |
| border-radius: 4px; | |
| } | |
| ::-webkit-scrollbar-thumb:hover { | |
| background: #6366f1; | |
| } | |
| /* Custom focus styles for TV navigation */ | |
| .focusable:focus { | |
| outline: none; | |
| transform: scale(1.05); | |
| box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.5); | |
| z-index: 10; | |
| transition: all 0.2s ease; | |
| } | |
| /* Pulse animation for live content */ | |
| @keyframes pulse { | |
| 0%, 100% { | |
| opacity: 1; | |
| } | |
| 50% { | |
| opacity: 0.5; | |
| } | |
| } | |
| .animate-pulse { | |
| animation: pulse 2s infinite; | |
| } | |
| /* Custom gradient background */ | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #1e1b4b 0%, #111827 100%); | |
| } | |
| </style> | |
| </head> | |
| <body class="gradient-bg text-white font-sans overflow-hidden h-screen"> | |
| <!-- Main Container --> | |
| <div class="flex flex-col h-full"> | |
| <!-- Top Navigation Bar --> | |
| <header class="bg-black bg-opacity-80 px-6 py-4 flex items-center justify-between border-b border-gray-800"> | |
| <div class="flex items-center space-x-6"> | |
| <div class="flex items-center"> | |
| <i class="fas fa-gamepad text-indigo-500 text-3xl mr-2"></i> | |
| <h1 class="text-2xl font-bold bg-gradient-to-r from-indigo-500 to-purple-600 bg-clip-text text-transparent">GameTube</h1> | |
| </div> | |
| <nav class="hidden md:flex space-x-6"> | |
| <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center"> | |
| <i class="fas fa-home mr-2"></i> Home | |
| </a> | |
| <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center"> | |
| <i class="fas fa-fire mr-2"></i> Trending | |
| </a> | |
| <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center"> | |
| <i class="fas fa-trophy mr-2"></i> Esports | |
| </a> | |
| <a href="#" class="focusable px-3 py-2 rounded-lg hover:bg-gray-800 transition flex items-center"> | |
| <i class="fas fa-broadcast-tower mr-2"></i> Live | |
| </a> | |
| </nav> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="focusable p-2 rounded-full hover:bg-gray-800 transition"> | |
| <i class="fas fa-search text-xl"></i> | |
| </button> | |
| <button class="focusable p-2 rounded-full hover:bg-gray-800 transition"> | |
| <i class="fas fa-user-circle text-xl"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content Area --> | |
| <main class="flex-1 overflow-hidden flex"> | |
| <!-- Sidebar (hidden on mobile) --> | |
| <aside class="hidden md:block w-64 bg-black bg-opacity-50 overflow-y-auto p-4 border-r border-gray-800"> | |
| <div class="mb-8"> | |
| <h2 class="text-lg font-semibold mb-4 px-2">Categories</h2> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-shield-alt mr-3 text-indigo-400"></i> Action | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-running mr-3 text-green-400"></i> Adventure | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-chess mr-3 text-yellow-400"></i> Strategy | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-car mr-3 text-red-400"></i> Racing | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-futbol mr-3 text-blue-400"></i> Sports | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <i class="fas fa-ghost mr-3 text-purple-400"></i> Horror | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div class="mb-8"> | |
| <h2 class="text-lg font-semibold mb-4 px-2">Following</h2> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3"> | |
| Ninja | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3"> | |
| Shroud | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3"> | |
| Pokimane | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Streamer" class="w-8 h-8 rounded-full mr-3"> | |
| TimTheTatman | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| <div> | |
| <h2 class="text-lg font-semibold mb-4 px-2">Recent Games</h2> | |
| <ul class="space-y-2"> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3"> | |
| Valorant | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3"> | |
| Apex Legends | |
| </a> | |
| </li> | |
| <li> | |
| <a href="#" class="focusable flex items-center px-3 py-2 rounded-lg hover:bg-gray-800 transition"> | |
| <img src="https://via.placeholder.com/40" alt="Game" class="w-8 h-8 rounded mr-3"> | |
| Call of Duty | |
| </a> | |
| </li> | |
| </ul> | |
| </div> | |
| </aside> | |
| <!-- Content Section --> | |
| <section class="flex-1 overflow-y-auto p-6"> | |
| <!-- Featured Stream --> | |
| <div class="mb-8"> | |
| <h2 class="text-2xl font-bold mb-4">Featured Live Stream</h2> | |
| <div class="relative rounded-xl overflow-hidden focusable"> | |
| <img src="https://via.placeholder.com/1280x720" alt="Featured Stream" class="w-full h-auto"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4"> | |
| <div class="flex items-center"> | |
| <img src="https://via.placeholder.com/40" alt="Streamer" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-bold text-lg">VALORANT Champions Tour - Grand Finals</h3> | |
| <p class="text-sm text-gray-300">Riot Games • 45.2K viewers</p> | |
| </div> | |
| </div> | |
| <div class="mt-2 flex items-center"> | |
| <span class="bg-red-600 text-xs px-2 py-1 rounded-full flex items-center mr-3"> | |
| <span class="w-2 h-2 bg-white rounded-full mr-1 animate-pulse"></span> | |
| LIVE | |
| </span> | |
| <span class="text-sm">Day 3 • Grand Finals</span> | |
| </div> | |
| </div> | |
| <div class="absolute top-4 right-4"> | |
| <button class="focusable bg-black bg-opacity-70 p-2 rounded-full hover:bg-opacity-100 transition"> | |
| <i class="fas fa-heart text-white"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Trending Now --> | |
| <div class="mb-8"> | |
| <div class="flex items-center justify-between mb-4"> | |
| <h2 class="text-2xl font-bold">Trending Now</h2> | |
| <a href="#" class="focusable text-indigo-400 hover:text-indigo-300 transition">View All</a> | |
| </div> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-4"> | |
| <!-- Game Card 1 --> | |
| <div class="focusable bg-gray-900 rounded-xl overflow-hidden hover:bg-gray-800 transition transform hover:scale-105"> | |
| <div class="relative"> | |
| <img src="https://via.placeholder.com/400x225" alt="Game" class="w-full h-auto"> | |
| <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-2"> | |
| <span class="text-xs bg-indigo-600 px-2 py-1 rounded">NEW RELEASE</span> | |
| </div> | |
| </div> | |
| <div class="p-4"> | |
| <h3 class="font-bold mb-1">Starfield</h3> | |
| <p class="text-sm text-gray-400 mb-2">Bethesda Game Studios</p> | |
| <div class="flex items-center text-sm"> | |
| <i class="fas fa-star text-yellow-400 mr-1"></i> | |
| <span>4.8</span> | |
| <span class="mx-2">•</span> | |
| <span>RPG</span> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Game Card 2 --> | |
| <div class="focusable bg-gray-900 rounded-xl overflow-hidden hover:bg-gray-800 transition transform hover: | |
| <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=Cameronbarry/browser" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |