Spaces:
Running
Running
Download index.html from StormveLuna/undefined: direct link, hf CLI and curl.
- Browser
- Download file 17 kB
-
https://huggingface.co/spaces/StormveLuna/undefined/resolve/main/index.html
- Command line
-
hf download hf://spaces/StormveLuna/undefined/index.html
-
curl -L -o index.html https://huggingface.co/spaces/StormveLuna/undefined/resolve/main/index.html
17 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>ViewTube Gem - Video Discovery</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script> | |
| tailwind.config = { | |
| theme: { | |
| extend: { | |
| colors: { | |
| youtube: '#FF0000', | |
| dark: '#0F0F0F', | |
| light: '#F1F1F1', | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <style> | |
| .video-grid { | |
| display: grid; | |
| grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); | |
| gap: 1.5rem; | |
| } | |
| .video-card:hover .thumbnail-overlay { | |
| opacity: 1; | |
| } | |
| .thumbnail-overlay { | |
| transition: all 0.3s ease; | |
| opacity: 0; | |
| } | |
| .sidebar { | |
| transition: all 0.3s ease; | |
| } | |
| @media (max-width: 768px) { | |
| .sidebar { | |
| transform: translateX(-100%); | |
| } | |
| .sidebar.active { | |
| transform: translateX(0); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-white dark:bg-dark text-gray-800 dark:text-gray-200"> | |
| <!-- Header --> | |
| <header class="sticky top-0 z-50 bg-white dark:bg-dark border-b border-gray-200 dark:border-gray-700"> | |
| <div class="flex items-center justify-between px-4 py-2"> | |
| <!-- Left Section --> | |
| <div class="flex items-center space-x-4"> | |
| <button id="menu-btn" class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| <div class="flex items-center"> | |
| <i data-feather="diamond" class="text-youtube w-8 h-8"></i> | |
| <span class="ml-2 text-xl font-bold">ViewTube Gem</span> | |
| </div> | |
| </div> | |
| <!-- Center Section - Search Bar --> | |
| <div class="hidden md:flex items-center flex-1 max-w-2xl mx-4"> | |
| <div class="flex w-full"> | |
| <input type="text" placeholder="Search" | |
| class="w-full px-4 py-2 border border-gray-300 dark:border-gray-600 rounded-l-full focus:outline-none focus:border-youtube dark:bg-gray-800"> | |
| <button class="px-5 py-2 bg-gray-100 dark:bg-gray-700 border border-l-0 border-gray-300 dark:border-gray-600 rounded-r-full hover:bg-gray-200 dark:hover:bg-gray-600"> | |
| <i data-feather="search"></i> | |
| </button> | |
| </div> | |
| <button class="ml-4 p-2 rounded-full bg-gray-100 dark:bg-gray-700 hover:bg-gray-200 dark:hover:bg-gray-600"> | |
| <i data-feather="mic"></i> | |
| </button> | |
| </div> | |
| <!-- Right Section --> | |
| <div class="flex items-center space-x-4"> | |
| <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="video"></i> | |
| </button> | |
| <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="bell"></i> | |
| </button> | |
| <button class="p-2 rounded-full hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="user"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <div class="flex"> | |
| <!-- Sidebar --> | |
| <aside class="sidebar fixed md:relative w-64 h-screen bg-white dark:bg-dark border-r border-gray-200 dark:border-gray-700 overflow-y-auto z-40"> | |
| <nav class="p-4"> | |
| <div class="space-y-1"> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg bg-gray-200 dark:bg-gray-700"> | |
| <i data-feather="home"></i> | |
| <span>Home</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="gem"></i> | |
| <span>Discover Gems</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="treasure"></i> | |
| <span>Collections</span> | |
| </a> | |
| </div> | |
| <div class="mt-6 border-t border-gray-200 dark:border-gray-700 pt-4"> | |
| <h3 class="px-2 mb-2 text-sm font-semibold">My Treasure</h3> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="clock"></i> | |
| <span>History</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="video"></i> | |
| <span>Your Videos</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <i data-feather="thumbs-up"></i> | |
| <span>Liked Videos</span> | |
| </a> | |
| </div> | |
| <div class="mt-6 border-t border-gray-200 dark:border-gray-700 pt-4"> | |
| <h3 class="px-2 mb-2 text-sm font-semibold">Subscriptions</h3> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <img src="http://static.photos/people/40x40/1" class="w-6 h-6 rounded-full" alt="Channel"> | |
| <span>Tech Channel</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <img src="http://static.photos/people/40x40/2" class="w-6 h-6 rounded-full" alt="Channel"> | |
| <span>Cooking Show</span> | |
| </a> | |
| <a href="#" class="flex items-center space-x-4 p-2 rounded-lg hover:bg-gray-200 dark:hover:bg-gray-700"> | |
| <img src="http://static.photos/people/40x40/3" class="w-6 h-6 rounded-full" alt="Channel"> | |
| <span>Music Studio</span> | |
| </a> | |
| </div> | |
| </nav> | |
| </aside> | |
| <!-- Main Content --> | |
| <main class="flex-1 p-4 md:ml-64"> | |
| <!-- Categories --> | |
| <div class="flex space-x-2 overflow-x-auto pb-2 scrollbar-hide"> | |
| <button class="px-3 py-1 rounded-full bg-gray-900 dark:bg-gray-700 text-white">All</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Music</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Gaming</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Live</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Cooking</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Comedy</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Recently uploaded</button> | |
| <button class="px-3 py-1 rounded-full bg-gray-200 dark:bg-gray-700 hover:bg-gray-300 dark:hover:bg-gray-600">Watched</button> | |
| </div> | |
| <!-- Videos Grid --> | |
| <div class="video-grid mt-6"> | |
| <!-- Video Card 1 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/technology/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">10:30</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/4" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">How to build a modern web application with Tailwind CSS</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Tech Channel</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">1.2M views • 2 days ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Card 2 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/food/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">15:45</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/5" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">5 Easy Dinner Recipes for Busy Weeknights</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Cooking Show</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">856K views • 1 week ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Card 3 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/music/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">3:22</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/6" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">New Pop Music Mix 2023 - Best Songs Compilation</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Music Studio</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">5.7M views • 3 weeks ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Card 4 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/gaming/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">22:18</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/7" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">NEW GAME REVIEW - Is It Worth Buying?</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Gaming Zone</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">2.1M views • 1 day ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Card 5 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/travel/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">12:05</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/8" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">Bali Travel Guide - Best Places to Visit</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Travel Diaries</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">3.4M views • 1 month ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Video Card 6 --> | |
| <div class="video-card"> | |
| <div class="relative"> | |
| <img src="http://static.photos/fitness/320x180/1" alt="Video thumbnail" class="w-full rounded-lg"> | |
| <div class="thumbnail-overlay absolute inset-0 bg-black bg-opacity-30 rounded-lg flex items-center justify-center"> | |
| <button class="p-3 bg-black bg-opacity-70 rounded-full"> | |
| <i data-feather="play" class="text-white"></i> | |
| </button> | |
| </div> | |
| <span class="absolute bottom-2 right-2 bg-black bg-opacity-80 text-white text-xs px-1 rounded">8:42</span> | |
| </div> | |
| <div class="flex mt-3"> | |
| <img src="http://static.photos/people/40x40/9" alt="Channel" class="w-10 h-10 rounded-full mr-3"> | |
| <div> | |
| <h3 class="font-medium line-clamp-2">30 Minute Full Body Workout at Home</h3> | |
| <p class="text-sm text-gray-600 dark:text-gray-400">Fitness Pro</p> | |
| <p class="text-xs text-gray-500 dark:text-gray-500">1.8M views • 2 weeks ago</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| </div> | |
| <!-- Mobile Search Bar --> | |
| <div class="md:hidden fixed bottom-4 right-4"> | |
| <button class="p-4 bg-youtube text-white rounded-full shadow-lg hover:bg-red-700"> | |
| <i data-feather="search"></i> | |
| </button> | |
| </div> | |
| <script> | |
| // Toggle sidebar on mobile | |
| document.getElementById('menu-btn').addEventListener('click', function() { | |
| document.querySelector('.sidebar').classList.toggle('active'); | |
| }); | |
| // Initialize feather icons | |
| feather.replace(); | |
| </script> | |
| </body> | |
| </html> | |