Download articles.html from ntl69/undefined: direct link, hf CLI and curl.
- Browser
- Download file 10.4 kB
-
https://huggingface.co/spaces/ntl69/undefined/resolve/ef831b838d36633db79900fa2bcfe6dcc149fb55/articles.html
- Command line
-
hf download hf://spaces/ntl69/undefined@ef831b838d36633db79900fa2bcfe6dcc149fb55/articles.html
-
curl -L -o articles.html https://huggingface.co/spaces/ntl69/undefined/resolve/ef831b838d36633db79900fa2bcfe6dcc149fb55/articles.html
10.4 kB
| <html lang="en" class="dark"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Articles - NoCap Nation</title> | |
| <link href="https://fonts.googleapis.com/css2?family=Bungee&family=Shrikhand:wght@400;700&display=swap" rel="stylesheet"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script> | |
| tailwind.config = { | |
| darkMode: 'class', | |
| theme: { | |
| extend: { | |
| colors: { | |
| primary: '#000000', | |
| secondary: '#1f2937', | |
| accent: '#4b5563' | |
| } | |
| } | |
| } | |
| } | |
| </script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/animate.css/4.1.1/animate.min.css"/> | |
| </head> | |
| <body class="bg-black text-gray-200 min-h-screen" style="position: relative;"> | |
| <div style="position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: url('http://static.photos/music/1200x630/5') center/cover no-repeat; opacity: 0.3; z-index: -1;"></div> | |
| <nav class="bg-black/80 shadow-lg backdrop-blur-sm"> | |
| <div class="container mx-auto px-4 py-3"> | |
| <div class="flex justify-between items-center"> | |
| <div class="flex items-center space-x-4"> | |
| <a href="/" class="text-white font-bold text-2xl flex items-center"> | |
| <img src="https://huggingface.co/spaces/ntl69/undefined/resolve/main/images/ChatGPT%20Image%20Oct%2015%2C%202025%2C%2011_20_23%20PM.png" alt="NoCap Nation Logo" class="h-10 w-10 rounded-full mr-3"> | |
| NoCap Nation | |
| </a> | |
| </div> | |
| <div class="hidden md:flex items-center space-x-8"> | |
| <a href="/" class="text-gray-300 hover:text-white transition flex items-center"> | |
| <i data-feather="home" class="mr-2 w-4 h-4"></i> Home | |
| </a> | |
| <a href="/articles" class="text-white hover:text-white transition flex items-center"> | |
| <i data-feather="file-text" class="mr-2 w-4 h-4"></i> Articles | |
| </a> | |
| <a href="/categories" class="text-gray-300 hover:text-white transition flex items-center"> | |
| <i data-feather="list" class="mr-2 w-4 h-4"></i> Categories | |
| </a> | |
| <a href="/about" class="text-white hover:text-white transition flex items-center"> | |
| <i data-feather="info" class="mr-2 w-4 h-4"></i> About | |
| </a> | |
| <div class="relative"> | |
| <input type="text" placeholder="Search..." class="bg-black text-white px-4 py-2 rounded-full w-64 focus:outline-none focus:ring-2 focus:ring-gray-600"> | |
| <i data-feather="search" class="absolute right-3 top-2.5 text-gray-400"></i> | |
| </div> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="md:hidden text-gray-300 focus:outline-none" id="mobile-menu-button" onclick="toggleMobileMenu()"> | |
| <i data-feather="menu"></i> | |
| </button> | |
| <a href="/subscribe" class="hidden md:block bg-black px-4 py-2 rounded-lg text-white hover:bg-gray-700 transition flex items-center"> | |
| <i data-feather="mail" class="mr-2 w-4 h-4"></i> Subscribe | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Search Bar with Recommendations --> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="max-w-4xl mx-auto relative"> | |
| <input type="text" id="searchInput" placeholder="Search for articles..." | |
| class="w-full bg-black text-white px-6 py-4 rounded-full focus:outline-none focus:ring-2 focus:ring-gray-600 border border-gray-700"> | |
| <button class="absolute right-3 top-3 bg-black hover:bg-gray-800 text-white px-6 py-2 rounded-full transition"> | |
| <i data-feather="search" class="inline-block"></i> Search | |
| </button> | |
| <div id="searchSuggestions" class="hidden absolute left-0 right-0 mt-1 bg-black rounded-lg shadow-lg z-50 max-h-60 overflow-y-auto"> | |
| <div class="p-2 text-gray-400">Popular searches:</div> | |
| <div class="divide-y divide-gray-700"> | |
| <a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Politics</a> | |
| <a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Technology</a> | |
| <a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Health</a> | |
| <a href="#" class="block px-4 py-2 hover:bg-gray-900 text-white">Business</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| const searchInput = document.getElementById('searchInput'); | |
| const searchSuggestions = document.getElementById('searchSuggestions'); | |
| searchInput.addEventListener('focus', () => { | |
| searchSuggestions.classList.remove('hidden'); | |
| }); | |
| searchInput.addEventListener('blur', () => { | |
| setTimeout(() => { | |
| searchSuggestions.classList.add('hidden'); | |
| }, 200); | |
| }); | |
| // Sample search suggestions - in a real app you would fetch these from an API | |
| const popularSearches = [ | |
| "Politics", | |
| "Technology", | |
| "Health", | |
| "Business", | |
| "World News", | |
| "Conspiracy Theories", | |
| "Latest Updates" | |
| ]; | |
| searchInput.addEventListener('input', (e) => { | |
| const value = e.target.value.toLowerCase(); | |
| if (value.length > 0) { | |
| const filtered = popularSearches.filter(item => | |
| item.toLowerCase().includes(value) | |
| ); | |
| // Update suggestions dropdown | |
| if (filtered.length > 0) { | |
| searchSuggestions.innerHTML = ` | |
| <div class="p-2 text-gray-400">Suggestions:</div> | |
| <div class="divide-y divide-gray-700"> | |
| ${filtered.map(item => ` | |
| <a href="/search?q=${encodeURIComponent(item)}" class="block px-4 py-2 hover:bg-gray-900 text-white">${item}</a> | |
| `).join('')} | |
| </div> | |
| `; | |
| } else { | |
| searchSuggestions.innerHTML = ` | |
| <div class="p-4 text-gray-400 text-center">No suggestions found</div> | |
| `; | |
| } | |
| searchSuggestions.classList.remove('hidden'); | |
| } else { | |
| searchSuggestions.innerHTML = ` | |
| <div class="p-2 text-gray-400">Popular searches:</div> | |
| <div class="divide-y divide-gray-700"> | |
| ${popularSearches.map(item => ` | |
| <a href="/search?q=${encodeURIComponent(item)}" class="block px-4 py-2 hover:bg-gray-900 text-white">${item}</a> | |
| `).join('')} | |
| </div> | |
| `; | |
| } | |
| }); | |
| </script> | |
| <main class="container mx-auto px-4 pb-12"> | |
| <h1 class="text-4xl mb-8" style="font-family: 'Shrikhand', cursive;">All Articles <span class="music-note text-pink-500">♫</span></h1> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8" style="background: linear-gradient(to right, rgba(0,0,0,0.1), rgba(107, 33, 168, 0.1), rgba(0,0,0,0.1));"> | |
| <!-- Article cards would be generated here from your CMS/backend --> | |
| <div class="bg-black rounded-lg p-6 hover:shadow-lg hover:shadow-purple-500/20 transition"> | |
| <h2 class="text-xl mb-2">Sample Article Title</h2> | |
| <p class="text-gray-400 mb-4">This would be a brief excerpt from the article content.</p> | |
| <a href="/article/1" class="text-white hover:underline flex items-center"> | |
| Read more <span class="music-note text-pink-500 ml-1">→</span> | |
| </a> | |
| </div> | |
| <!-- More articles... --> | |
| </div> | |
| </main> | |
| <script> | |
| </script> | |
| </body> | |
| </html> |