Download index.html from itgdace/blog-post: direct link, hf CLI and curl.
- Browser
- Download file 16.1 kB
-
https://huggingface.co/spaces/itgdace/blog-post/resolve/main/index.html
- Command line
-
hf download hf://spaces/itgdace/blog-post/index.html
-
curl -L -o index.html https://huggingface.co/spaces/itgdace/blog-post/resolve/main/index.html
16.1 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>The Matrix Blog</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 CSS for animations and effects */ | |
| .post-card:hover { | |
| transform: translateY(-5px); | |
| box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); | |
| } | |
| .matrix-code { | |
| position: absolute; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: rgba(0, 0, 0, 0.7); | |
| z-index: -1; | |
| overflow: hidden; | |
| } | |
| .code-char { | |
| position: absolute; | |
| color: #0f0; | |
| font-family: 'Courier New', monospace; | |
| font-size: 14px; | |
| opacity: 0.7; | |
| animation: fall linear infinite; | |
| } | |
| @keyframes fall { | |
| to { | |
| transform: translateY(100vh); | |
| } | |
| } | |
| .nav-link::after { | |
| content: ''; | |
| display: block; | |
| width: 0; | |
| height: 2px; | |
| background: #0f0; | |
| transition: width .3s; | |
| } | |
| .nav-link:hover::after { | |
| width: 100%; | |
| } | |
| .search-input:focus { | |
| outline: none; | |
| box-shadow: 0 0 0 2px rgba(0, 255, 0, 0.3); | |
| } | |
| /* Custom scrollbar */ | |
| ::-webkit-scrollbar { | |
| width: 8px; | |
| } | |
| ::-webkit-scrollbar-track { | |
| background: #111; | |
| } | |
| ::-webkit-scrollbar-thumb { | |
| background: #0f0; | |
| border-radius: 4px; | |
| } | |
| </style> | |
| </head> | |
| <body class="bg-gray-900 text-gray-100 min-h-screen relative overflow-x-hidden"> | |
| <!-- Matrix code background effect --> | |
| <div class="matrix-code" id="matrixCode"></div> | |
| <!-- Header --> | |
| <header class="bg-black bg-opacity-80 backdrop-blur-sm sticky top-0 z-50 border-b border-green-900"> | |
| <div class="container mx-auto px-4 py-3 flex flex-col md:flex-row justify-between items-center"> | |
| <div class="flex items-center space-x-3 mb-4 md:mb-0"> | |
| <img src="logo.jpg" alt="The Matrix Blog Logo" class="h-10 w-10 rounded-full border border-green-500"> | |
| <h1 class="text-2xl font-bold text-green-400">The Matrix Blog</h1> | |
| </div> | |
| <nav class="flex items-center space-x-1"> | |
| <a href="#" class="nav-link px-3 py-2 rounded hover:bg-gray-800 transition">Home</a> | |
| <a href="#" class="nav-link px-3 py-2 rounded hover:bg-gray-800 transition">Articles</a> | |
| <a href="#" class="nav-link px-3 py-2 rounded hover:bg-gray-800 transition">About</a> | |
| <a href="#" class="nav-link px-3 py-2 rounded hover:bg-gray-800 transition">Contact</a> | |
| <div class="relative ml-3"> | |
| <input type="text" placeholder="Search..." class="search-input bg-gray-800 text-white px-4 py-2 rounded-full focus:ring-2 focus:ring-green-500 w-40 md:w-64 transition-all"> | |
| <button class="absolute right-3 top-2 text-gray-400 hover:text-green-400"> | |
| <i class="fas fa-search"></i> | |
| </button> | |
| </div> | |
| </nav> | |
| </div> | |
| </header> | |
| <!-- Mobile menu button (hidden on larger screens) --> | |
| <button id="mobileMenuButton" class="md:hidden fixed bottom-6 right-6 bg-green-600 text-white p-3 rounded-full z-50 shadow-lg"> | |
| <i class="fas fa-bars text-xl"></i> | |
| </button> | |
| <!-- Mobile menu (hidden by default) --> | |
| <div id="mobileMenu" class="hidden fixed inset-0 bg-black bg-opacity-90 z-40 flex flex-col items-center justify-center"> | |
| <button id="closeMobileMenu" class="absolute top-6 right-6 text-green-400 text-2xl"> | |
| <i class="fas fa-times"></i> | |
| </button> | |
| <nav class="flex flex-col items-center space-y-6"> | |
| <a href="#" class="text-2xl text-green-400 hover:text-white transition">Home</a> | |
| <a href="#" class="text-2xl text-green-400 hover:text-white transition">Articles</a> | |
| <a href="#" class="text-2xl text-green-400 hover:text-white transition">About</a> | |
| <a href="#" class="text-2xl text-green-400 hover:text-white transition">Contact</a> | |
| </nav> | |
| </div> | |
| <!-- Main content --> | |
| <main class="container mx-auto px-4 py-8 relative z-10"> | |
| <!-- Hero section --> | |
| <section class="mb-12 text-center"> | |
| <h2 class="text-4xl md:text-5xl font-bold mb-4 text-green-400">Welcome to The Matrix</h2> | |
| <p class="text-xl md:text-2xl text-gray-300 max-w-3xl mx-auto">Exploring the digital frontier, artificial intelligence, and the nature of reality.</p> | |
| </section> | |
| <!-- Featured post --> | |
| <section class="mb-16"> | |
| <div class="bg-gray-800 bg-opacity-70 rounded-xl overflow-hidden border border-green-900 hover:border-green-600 transition-all duration-300"> | |
| <div class="md:flex"> | |
| <div class="md:w-1/2"> | |
| <img src="https://source.unsplash.com/random/800x600/?matrix,code" alt="Featured Post" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="p-8 md:w-1/2"> | |
| <div class="uppercase tracking-wide text-sm text-green-400 font-semibold mb-1">Featured</div> | |
| <h3 class="text-2xl md:text-3xl font-bold mb-3">The Red Pill or the Blue Pill: Choosing Your Reality</h3> | |
| <p class="text-gray-300 mb-4">An in-depth exploration of how our perceptions shape our reality and what it means to truly "wake up" in the digital age.</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Author" class="h-10 w-10 rounded-full mr-3"> | |
| <div> | |
| <p class="text-sm font-medium">Morpheus</p> | |
| <p class="text-xs text-gray-400">May 15, 2023 · 8 min read</p> | |
| </div> | |
| </div> | |
| <a href="#" class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-full text-sm font-medium transition">Read More</a> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Latest articles --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl md:text-3xl font-bold mb-6 text-green-400 border-b border-green-900 pb-2">Latest Articles</h2> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8"> | |
| <!-- Article 1 --> | |
| <article class="post-card bg-gray-800 bg-opacity-70 rounded-lg overflow-hidden border border-gray-700 hover:border-green-500 transition-all duration-300"> | |
| <img src="https://source.unsplash.com/random/600x400/?ai" alt="Article 1" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center text-xs text-gray-400 mb-2"> | |
| <span class="bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Technology</span> | |
| <span>June 2, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Neural Networks: The Digital Brain</h3> | |
| <p class="text-gray-300 mb-4">How artificial neural networks mimic the human brain and what this means for the future of AI.</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Author" class="h-8 w-8 rounded-full mr-2"> | |
| <span class="text-sm">Trinity</span> | |
| </div> | |
| <a href="#" class="text-green-400 hover:text-green-300 text-sm font-medium transition">Read →</a> | |
| </div> | |
| </div> | |
| </article> | |
| <!-- Article 2 --> | |
| <article class="post-card bg-gray-800 bg-opacity-70 rounded-lg overflow-hidden border border-gray-700 hover:border-green-500 transition-all duration-300"> | |
| <img src="https://source.unsplash.com/random/600x400/?virtual,reality" alt="Article 2" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center text-xs text-gray-400 mb-2"> | |
| <span class="bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Philosophy</span> | |
| <span>May 28, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">Simulation Theory: Are We Living in a Computer?</h3> | |
| <p class="text-gray-300 mb-4">Examining the evidence for and against the simulation hypothesis and its philosophical implications.</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Author" class="h-8 w-8 rounded-full mr-2"> | |
| <span class="text-sm">Cypher</span> | |
| </div> | |
| <a href="#" class="text-green-400 hover:text-green-300 text-sm font-medium transition">Read →</a> | |
| </div> | |
| </div> | |
| </article> | |
| <!-- Article 3 --> | |
| <article class="post-card bg-gray-800 bg-opacity-70 rounded-lg overflow-hidden border border-gray-700 hover:border-green-500 transition-all duration-300"> | |
| <img src="https://source.unsplash.com/random/600x400/?cyberpunk" alt="Article 3" class="w-full h-48 object-cover"> | |
| <div class="p-6"> | |
| <div class="flex items-center text-xs text-gray-400 mb-2"> | |
| <span class="bg-green-900 text-green-300 px-2 py-1 rounded mr-2">Future</span> | |
| <span>May 20, 2023</span> | |
| </div> | |
| <h3 class="text-xl font-bold mb-2">The Rise of Cyberpunk Cities</h3> | |
| <p class="text-gray-300 mb-4">How modern metropolises are evolving into the high-tech, low-life environments of cyberpunk fiction.</p> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center"> | |
| <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Author" class="h-8 w-8 rounded-full mr-2"> | |
| <span class="text-sm">Niobe</span> | |
| </div> | |
| <a href="#" class="text-green-400 hover:text-green-300 text-sm font-medium transition">Read →</a> | |
| </div> | |
| </div> | |
| </article> | |
| </div> | |
| </section> | |
| <!-- Popular categories --> | |
| <section class="mb-12"> | |
| <h2 class="text-2xl md:text-3xl font-bold mb-6 text-green-400 border-b border-green-900 pb-2">Popular Categories</h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <a href="#" class="category-card bg-gray-800 bg-opacity-70 rounded-lg p-6 text-center border border-gray-700 hover:border-green-500 hover:bg-gray-700 transition-all duration-300"> | |
| <div class="text-green-400 mb-2 text-3xl"> | |
| <i class="fas fa-brain"></i> | |
| </div> | |
| <h3 class="font-bold">AI</h3> | |
| <p class="text-sm text-gray-400">12 Articles</p> | |
| </a> | |
| <a href="#" class="category-card bg-gray-800 bg-opacity-70 rounded-lg p-6 text-center border border-gray-700 hover:border-green-500 hover:bg-gray-700 transition-all duration-300"> | |
| <div class="text-green-400 mb-2 text-3xl"> | |
| <i class="fas fa-code"></i> | |
| </div> | |
| <h3 class="font-bold">Programming</h3> | |
| <p class="text-sm text-gray-400">18 Articles</p> | |
| </a> | |
| <a href="#" class="category-card bg-gray-800 bg-opacity-70 rounded-lg p-6 text-center border border-gray-700 hover:border-green-500 hover:bg-gray-700 transition-all duration-300"> | |
| <div class="text-green-400 mb-2 text-3xl"> | |
| <i class="fas fa-question"></i> | |
| </div> | |
| <h3 class="font-bold">Philosophy</h3> | |
| <p class="text-sm text-gray-400">9 Articles</p> | |
| </a> | |
| <a href="#" class="category-card bg-gray-800 bg-opacity-70 rounded-lg p-6 text-center border border-gray-700 hover:border-green-500 hover:bg-gray-700 transition-all duration-300"> | |
| <div class="text-green-400 mb-2 text-3xl"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <h3 class="font-bold">Robotics</h3> | |
| <p class="text-sm text-gray-400">7 Articles</p> | |
| </a> | |
| </div> | |
| </section> | |
| <!-- Newsletter --> | |
| <section class="bg-gray-800 bg-opacity-70 rounded-xl p-8 border border-green-900 mb-12"> | |
| <div class="md:flex items-center justify-between"> | |
| <div class="md:w-2/3 mb-6 md:mb-0"> | |
| <h2 class="text-2xl font-bold mb-2 text-green-400">Stay Updated</h2> | |
| <p class="text-gray-300">Subscribe to our newsletter for the latest articles on technology, philosophy, and the digital frontier.</p> | |
| </div> | |
| <div class="md:w-1/3"> | |
| <form class="flex"> | |
| <input type="email" placeholder="Your email" class="flex-grow bg-gray-700 text-white px-4 py-2 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-green-500"> | |
| <button type="submit" class="bg-green-600 hover:bg-green-700 text-white px-4 py-2 rounded-r-lg transition">Subscribe</button> | |
| </form> | |
| </div> | |
| </div> | |
| </section> | |
| </main> | |
| <!-- Footer --> | |
| <footer class="bg-black bg-opacity-80 border-t border-green-900 py-8"> | |
| <div class="container mx-auto px-4"> | |
| <div class="md:flex md:justify-between"> | |
| <div class="mb-8 md:mb-0"> | |
| <div class="flex items-center space-x-3 mb-4"> | |
| <img src="logo.jpg" alt="The Matrix Blog Logo" class="h-8 w-8 rounded-full border border-green-500"> | |
| <h2 class="text-xl font-bold text-green-400">The Matrix Blog</h2> | |
| </div> | |
| <p class="text-gray-400 max-w-md">Exploring the boundaries between technology, consciousness, and reality in the digital age.</p> | |
| </div> | |
| <div class="grid grid-cols-2 md:grid-cols-3 gap-8"> | |
| <div> | |
| <h3 class="text-lg font-semibold mb-4 text-green-400">Quick Links</h3> | |
| <ul class="space-y-2"> | |
| <li><a href="#" | |
| </html> |