Download gallery.html from zaidmaga/undefined: direct link, hf CLI and curl.
- Browser
- Download file 15.8 kB
-
https://huggingface.co/spaces/zaidmaga/undefined/resolve/main/gallery.html
- Command line
-
hf download hf://spaces/zaidmaga/undefined/gallery.html
-
curl -L -o gallery.html https://huggingface.co/spaces/zaidmaga/undefined/resolve/main/gallery.html
15.8 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>AI Art Gallery - PixelWizard</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script> | |
| <script src="https://unpkg.com/feather-icons"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .gallery-bg { | |
| background: linear-gradient(135deg, #0f3460 0%, #1a1a2e 100%); | |
| } | |
| .gallery-card { | |
| background: rgba(255, 255, 255, 0.05); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| transition: all 0.3s ease; | |
| } | |
| .gallery-card:hover { | |
| background: rgba(255, 255, 255, 0.1); | |
| transform: translateY(-5px); | |
| } | |
| .filter-active { | |
| background: rgba(255, 255, 255, 0.15); | |
| border-color: rgba(255, 255, 255, 0.3); | |
| } | |
| .image-placeholder { | |
| background: rgba(255, 255, 255, 0.1); | |
| } | |
| .masonry-grid { | |
| column-count: 1; | |
| column-gap: 1rem; | |
| } | |
| @media (min-width: 768px) { | |
| .masonry-grid { | |
| column-count: 2; | |
| } | |
| } | |
| @media (min-width: 1024px) { | |
| .masonry-grid { | |
| column-count: 3; | |
| } | |
| } | |
| @media (min-width: 1280px) { | |
| .masonry-grid { | |
| column-count: 4; | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen gallery-bg text-white"> | |
| <!-- Navigation --> | |
| <nav class="glass-panel rounded-2xl mx-4 mt-4 md:mx-8"> | |
| <div class="container mx-auto px-6 py-4"> | |
| <div class="flex items-center justify-between"> | |
| <div class="flex items-center space-x-3"> | |
| <a href="index.html" class="flex items-center space-x-2"> | |
| <div class="w-6 h-6 bg-white rounded-full flex items-center justify-center"> | |
| <i data-feather="arrow-left" class="text-blue-600 w-3 h-3"></i> | |
| </div> | |
| <span class="text-lg font-semibold">AI Art Gallery</span> | |
| </a> | |
| </div> | |
| <div class="flex items-center space-x-4"> | |
| <button class="px-4 py-2 glass-panel rounded-lg hover:bg-white/10 transition-colors"> | |
| Upload Your Art | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </nav> | |
| <!-- Gallery Header --> | |
| <div class="container mx-auto px-6 py-12 text-center"> | |
| <h1 class="text-5xl md:text-6xl font-bold mb-6"> | |
| AI Generated | |
| <span class="bg-gradient-to-r from-cyan-400 to-blue-500 bg-clip-text text-transparent"> | |
| Masterpieces | |
| </span> | |
| </h1> | |
| <p class="text-xl text-blue-200 max-w-2xl mx-auto"> | |
| Explore stunning artworks created by our community using PixelWizard's advanced AI technology. | |
| </p> | |
| </div> | |
| <!-- Filter Bar --> | |
| <div class="container mx-auto px-6 mb-8"> | |
| <div class="flex flex-wrap gap-3 justify-center"> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors filter-active"> | |
| All | |
| </button> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors"> | |
| Portraits | |
| </button> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors"> | |
| Landscapes | |
| </button> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors"> | |
| Abstract | |
| </button> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors"> | |
| Fantasy | |
| </button> | |
| <button class="filter-button px-4 py-2 glass-panel rounded-xl hover:bg-white/10 transition-colors"> | |
| Realistic | |
| </button> | |
| </div> | |
| <!-- Gallery Grid --> | |
| <div class="container mx-auto px-6 pb-20"> | |
| <div class="masonry-grid"> | |
| <!-- Gallery Items --> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/people/320x240/1" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Street Performer</h4> | |
| <p class="text-sm text-blue-200">Enhanced with Flux 1.0</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/cityscape/320x240/2" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Urban Dreams</h4> | |
| <p class="text-sm text-blue-200">Style transfer applied</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/nature/320x240/3" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Mountain Majesty</h4> | |
| <p class="text-sm text-blue-200">Background enhancement</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/abstract/320x240/4" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Cosmic Harmony</h4> | |
| <p class="text-sm text-blue-200">AI generated from scratch</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/technology/320x240/5" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Digital Dreams</h4> | |
| <p class="text-sm text-blue-200">Multiple AI models</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <div class="gallery-card rounded-2xl p-4 mb-4 break-inside-avoid"> | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/vintage/320x240/6" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">Retro Vision</h4> | |
| <p class="text-sm text-blue-200">Vintage style applied</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <!-- Load More --> | |
| <div class="text-center pb-20"> | |
| <button class="px-8 py-3 glass-panel rounded-xl font-semibold hover:bg-white/10 transition-colors"> | |
| Load More Artworks | |
| </button> | |
| </div> | |
| <script> | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Filter functionality | |
| document.querySelectorAll('.filter-button').forEach(button => { | |
| button.addEventListener('click', function() { | |
| document.querySelectorAll('.filter-button').forEach(btn => { | |
| btn.classList.remove('filter-active'); | |
| }); | |
| this.classList.add('filter-active'); | |
| }); | |
| }); | |
| // Like functionality | |
| document.querySelectorAll('button:contains("heart")').forEach(button => { | |
| button.addEventListener('click', function() { | |
| const icon = this.querySelector('i'); | |
| if (icon.getAttribute('data-feather') === 'heart') { | |
| icon.setAttribute('data-feather', 'heart'); | |
| this.classList.add('text-red-400'); | |
| } else { | |
| icon.setAttribute('data-feather', 'heart'); | |
| this.classList.remove('text-red-400'); | |
| } | |
| feather.replace(); | |
| }); | |
| // Load more functionality | |
| document.querySelector('button:contains("Load More")').addEventListener('click', function() { | |
| // Simulate loading more items | |
| const grid = document.querySelector('.masonry-grid'); | |
| const newItem = document.createElement('div'); | |
| newItem.className = 'gallery-card rounded-2xl p-4 mb-4 break-inside-avoid'); | |
| newItem.innerHTML = ` | |
| <div class="image-placeholder rounded-xl mb-4 overflow-hidden"> | |
| <img src="http://static.photos/minimal/320x240/7" alt="AI Art" class="w-full h-auto object-cover"> | |
| </div> | |
| <div class="flex justify-between items-center"> | |
| <div> | |
| <h4 class="font-semibold">New Discovery</h4> | |
| <p class="text-sm text-blue-200">Latest AI creation</p> | |
| </div> | |
| <div class="flex space-x-2 mt-3"> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="heart" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="share-2" class="w-4 h-4"></i> | |
| </button> | |
| <button class="p-2 glass-panel rounded-lg hover:bg-white/10"> | |
| <i data-feather="download" class="w-4 h-4"></i> | |
| </button> | |
| </div> | |
| `; | |
| grid.appendChild(newItem); | |
| feather.replace(); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |