Download index.html from mmmput/digital: direct link, hf CLI and curl.
- Browser
- Download file 13.9 kB
-
https://huggingface.co/spaces/mmmput/digital/resolve/main/index.html
- Command line
-
hf download hf://spaces/mmmput/digital/index.html
-
curl -L -o index.html https://huggingface.co/spaces/mmmput/digital/resolve/main/index.html
13.9 kB
| <html lang="ru"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Digital Showcase - Product Showcase</title> | |
| <script src="https://cdn.tailwindcss.com"></script> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css" rel="stylesheet"> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| min-height: 100vh; | |
| } | |
| .product-card { | |
| transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| } | |
| .product-card:hover { | |
| transform: translateY(-10px) scale(1.02); | |
| box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); | |
| } | |
| .product-image { | |
| transition: transform 0.6s ease; | |
| overflow: hidden; | |
| } | |
| .product-card:hover .product-image img { | |
| transform: scale(1.1); | |
| } | |
| .try-button { | |
| background: linear-gradient(45deg, #ff6b6b, #ff8e8e); | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| } | |
| .try-button::before { | |
| content: ''; | |
| position: absolute; | |
| top: 0; | |
| left: -100%; | |
| width: 100%; | |
| height: 100%; | |
| background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); | |
| transition: left 0.5s; | |
| } | |
| .try-button:hover::before { | |
| left: 100%; | |
| } | |
| .try-button:hover { | |
| transform: translateY(-2px); | |
| box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4); | |
| } | |
| .floating-particles { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| pointer-events: none; | |
| z-index: -1; | |
| } | |
| .particle { | |
| position: absolute; | |
| background: rgba(255, 255, 255, 0.1); | |
| border-radius: 50%; | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0px) rotate(0deg); } | |
| 50% { transform: translateY(-20px) rotate(180deg); } | |
| } | |
| .category-filter { | |
| transition: all 0.3s ease; | |
| } | |
| .category-filter.active { | |
| background: rgba(255, 255, 255, 0.2); | |
| transform: scale(1.05); | |
| } | |
| .modal { | |
| backdrop-filter: blur(5px); | |
| background: rgba(0, 0, 0, 0.5); | |
| } | |
| .modal-content { | |
| animation: slideIn 0.3s ease-out; | |
| } | |
| @keyframes slideIn { | |
| from { | |
| opacity: 0; | |
| transform: translateY(-50px) scale(0.9); | |
| } | |
| to { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen"> | |
| <!-- Floating Particles Background --> | |
| <div class="floating-particles" id="particles"></div> | |
| <!-- Header --> | |
| <header class="relative z-10"> | |
| <div class="container mx-auto px-4 py-8"> | |
| <div class="text-center mb-12"> | |
| <h1 class="text-5xl md:text-7xl font-bold text-white mb-4 animate-pulse"> | |
| <i class="fas fa-gem mr-4"></i>Digital Showcase | |
| </h1> | |
| <p class="text-xl text-gray-200 max-w-2xl mx-auto"> | |
| Discover the future of digital products | |
| </p> | |
| </div> | |
| <!-- Category Filter --> | |
| <div class="flex flex-wrap justify-center gap-4 mb-8"> | |
| <button class="category-filter active px-6 py-3 rounded-full text-white font-medium bg-white/10 backdrop-blur-sm" data-category="all"> | |
| All Products | |
| </button> | |
| <button class="category-filter px-6 py-3 rounded-full text-white font-medium bg-white/10 backdrop-blur-sm" data-category="ai"> | |
| AI Solutions | |
| </button> | |
| <button class="category-filter px-6 py-3 rounded-full text-white font-medium bg-white/10 backdrop-blur-sm" data-category="analytics"> | |
| Analytics | |
| </button> | |
| <button class="category-filter px-6 py-3 rounded-full text-white font-medium bg-white/10 backdrop-blur-sm" data-category="design"> | |
| Design | |
| </button> | |
| </div> | |
| </div> | |
| </header> | |
| <!-- Product Grid --> | |
| <main class="container mx-auto px-4 pb-16"> | |
| <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 gap-8" id="productGrid"> | |
| <!-- Products will be dynamically inserted here --> | |
| </div> | |
| </main> | |
| <!-- Modal --> | |
| <div id="productModal" class="modal fixed inset-0 z-50 hidden"> | |
| <div class="flex items-center justify-center min-h-screen p-4"> | |
| <div class="modal-content bg-white rounded-2xl max-w-md w-full p-8"> | |
| <div class="text-center"> | |
| <i class="fas fa-check-circle text-6xl text-green-500 mb-4"></i> | |
| <h3 class="text-2xl font-bold text-gray-800 mb-2">Product Added!</h3> | |
| <p class="text-gray-600 mb-6">Thank you for your interest. We will contact you shortly.</p> | |
| <button onclick="closeModal()" class="bg-gradient-to-r from-purple-500 to-pink-500 text-white px-6 py-3 rounded-full font-medium hover:shadow-lg transition-all"> | |
| Close | |
| </button> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| <script> | |
| // Product Data | |
| const products = [ | |
| { | |
| id: 1, | |
| name: "Neural Vision AI", | |
| description: "Advanced computer vision solution with 99.9% recognition accuracy", | |
| image: "https://images.unsplash.com/photo-1677442136019-21780ecad995?w=400&h=300&fit=crop", | |
| category: "ai" | |
| }, | |
| { | |
| id: 2, | |
| name: "DataFlow Analytics", | |
| description: "Powerful platform for real-time big data analysis", | |
| image: "https://images.unsplash.com/photo-1551288049-bebda4e38f71?w=400&h=300&fit=crop", | |
| category: "analytics" | |
| }, | |
| { | |
| id: 3, | |
| name: "Creative Studio Pro", | |
| description: "Innovative design tool with AI assistant", | |
| image: "https://images.unsplash.com/photo-1561070791-2526d30994b5?w=400&h=300&fit=crop", | |
| category: "design" | |
| }, | |
| { | |
| id: 4, | |
| name: "Smart Predictor", | |
| description: "Predictive analytics for business with machine learning", | |
| image: "https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=400&h=300&fit=crop", | |
| category: "ai" | |
| }, | |
| { | |
| id: 5, | |
| name: "Cloud Metrics", | |
| description: "Comprehensive solution for monitoring and analyzing cloud services", | |
| image: "https://images.unsplash.com/photo-1460925895917-afdab827c52f?w=400&h=300&fit=crop", | |
| category: "analytics" | |
| }, | |
| { | |
| id: 6, | |
| name: "Design Harmony", | |
| description: "Tool for creating harmonious design systems", | |
| image: "https://images.unsplash.com/photo-1581291518633-83b4ebd1d83e?w=400&h=300&fit=crop", | |
| category: "design" | |
| }, | |
| { | |
| id: 7, | |
| name: "Voice Assistant SDK", | |
| description: "SDK for creating voice assistants with natural language", | |
| image: "https://images.unsplash.com/photo-1589254065878-42c9da997008?w=400&h=300&fit=crop", | |
| category: "ai" | |
| }, | |
| { | |
| id: 8, | |
| name: "UX Research Hub", | |
| description: "Platform for conducting UX research and testing", | |
| image: "https://images.unsplash.com/photo-1587440871875-191322ee64b0?w=400&h=300&fit=crop", | |
| category: "design" | |
| } | |
| ]; | |
| // Create floating particles | |
| function createParticles() { | |
| const particlesContainer = document.getElementById('particles'); | |
| for (let i = 0; i < 50; i++) { | |
| const particle = document.createElement('div'); | |
| particle.className = 'particle'; | |
| particle.style.left = Math.random() * 100 + '%'; | |
| particle.style.top = Math.random() * 100 + '%'; | |
| particle.style.width = Math.random() * 4 + 2 + 'px'; | |
| particle.style.height = particle.style.width; | |
| particle.style.animationDelay = Math.random() * 6 + 's'; | |
| particle.style.animationDuration = (Math.random() * 3 + 3) + 's'; | |
| particlesContainer.appendChild(particle); | |
| } | |
| } | |
| // Render products | |
| function renderProducts(productsToRender = products) { | |
| const grid = document.getElementById('productGrid'); | |
| grid.innerHTML = ''; | |
| productsToRender.forEach(product => { | |
| const card = document.createElement('div'); | |
| card.className = 'product-card bg-white/10 backdrop-blur-lg rounded-2xl overflow-hidden'; | |
| card.innerHTML = ` | |
| <div class="product-image h-48 overflow-hidden"> | |
| <img src="${product.image}" alt="${product.name}" class="w-full h-full object-cover"> | |
| </div> | |
| <div class="p-6"> | |
| <h3 class="text-xl font-bold text-white mb-2">${product.name}</h3> | |
| <p class="text-gray-200 text-sm mb-4 line-clamp-3">${product.description}</p> | |
| <button onclick="tryProduct(${product.id})" class="try-button w-full py-3 px-4 rounded-xl text-white font-semibold"> | |
| <i class="fas fa-rocket mr-2"></i>Try Now | |
| </button> | |
| </div> | |
| `; | |
| grid.appendChild(card); | |
| }); | |
| } | |
| // Filter products | |
| function filterProducts(category) { | |
| const buttons = document.querySelectorAll('.category-filter'); | |
| buttons.forEach(btn => btn.classList.remove('active')); | |
| event.target.classList.add('active'); | |
| if (category === 'all') { | |
| renderProducts(); | |
| } else { | |
| const filtered = products.filter(p => p.category === category); | |
| renderProducts(filtered); | |
| } | |
| } | |
| // Try product function | |
| function tryProduct(productId) { | |
| const product = products.find(p => p.id === productId); | |
| console.log('Trying product:', product.name); | |
| // Show modal | |
| document.getElementById('productModal').classList.remove('hidden'); | |
| } | |
| // Close modal | |
| function closeModal() { | |
| document.getElementById('productModal').classList.add('hidden'); | |
| } | |
| // Event listeners | |
| document.addEventListener('DOMContentLoaded', () => { | |
| createParticles(); | |
| renderProducts(); | |
| // Category filter listeners | |
| document.querySelectorAll('.category-filter').forEach(button => { | |
| button.addEventListener('click', (e) => { | |
| filterProducts(e.target.dataset.category); | |
| }); | |
| }); | |
| // Close modal on backdrop click | |
| document.getElementById('productModal').addEventListener('click', (e) => { | |
| if (e.target.id === 'productModal') { | |
| closeModal(); | |
| } | |
| }); | |
| }); | |
| // Add some interactive effects | |
| document.addEventListener('mousemove', (e) => { | |
| const particles = document.querySelectorAll('.particle'); | |
| particles.forEach(particle => { | |
| const rect = particle.getBoundingClientRect(); | |
| const x = e.clientX - rect.left; | |
| const y = e.clientY - rect.top; | |
| const distance = Math.sqrt(x * x + y * y); | |
| if (distance < 100) { | |
| particle.style.transform = `translate(${x * 0.1}px, ${y * 0.1}px)`; | |
| } | |
| }); | |
| }); | |
| </script> | |
| <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=mmmput/digital" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |