Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Chromatic Canvas - Where Colors Come Alive</title> | |
| <link rel="icon" type="image/x-icon" href="/static/favicon.ico"> | |
| <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 src="https://cdn.jsdelivr.net/npm/vanta@latest/dist/vanta.globe.min.js"></script> | |
| <script src="https://cdn.jsdelivr.net/npm/animejs/lib/anime.min.js"></script> | |
| <style> | |
| @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap'); | |
| :root { | |
| --primary-undefined: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| --secondary-undefined: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); | |
| --accent-undefined: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%); | |
| } | |
| body { | |
| font-family: 'Inter', sans-serif; | |
| } | |
| .undefined-gradient { | |
| background: var(--primary-undefined); | |
| } | |
| .undefined-gradient-secondary { | |
| background: var(--secondary-undefined); | |
| } | |
| .undefined-gradient-accent { | |
| background: var(--accent-undefined); | |
| } | |
| .floating-animation { | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0px); } | |
| 50% { transform: translateY(-20px); } | |
| } | |
| .color-transition { | |
| transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); | |
| } | |
| .glass-effect { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen bg-gradient-to-br from-gray-900 via-purple-900 to-indigo-900 text-white"> | |
| <div id="vanta-background" class="fixed inset-0 z-0"></div> | |
| <!-- Navigation --> | |
| <nav class="relative z-10 glass-effect rounded-full mx-4 mt-4 max-w-6xl mx-auto"> | |
| <div class="px-6 py-4 flex justify-between items-center"> | |
| <div class="flex items-center space-x-2"> | |
| <div class="w-8 h-8 undefined-gradient rounded-full"></div> | |
| <span class="text-xl font-bold">ChromaticCanvas</span> | |
| </div> | |
| <div class="hidden md:flex space-x-8"> | |
| <a href="index.html" class="color-transition hover:undefined-gradient hover:bg-clip-text hover:text-transparent font-medium">首页</a> | |
| <a href="gallery.html" class="color-transition hover:undefined-gradient-secondary hover:bg-clip-text hover:text-transparent font-medium">画廊</a> | |
| <a href="create.html" class="color-transition hover:undefined-gradient-accent hover:bg-clip-text hover:text-transparent font-medium">创作</a> | |
| <a href="about.html" class="color-transition hover:text-gray-300 font-medium">关于</a> | |
| </div> | |
| <button class="undefined-gradient px-6 py-2 rounded-full font-semibold color-transition hover:scale-105"> | |
| Get Started | |
| </button> | |
| </div> | |
| </nav> | |
| <!-- Hero Section --> | |
| <section class="relative z-10 min-h-screen flex items-center justify-center px-4"> | |
| <div class="text-center max-w-4xl"> | |
| <div class="floating-animation mb-8"> | |
| <div class="w-24 h-24 undefined-gradient rounded-full mx-auto flex items-center justify-center"> | |
| <i data-feather="palette" class="w-12 h-12"></i> | |
| </div> | |
| </div> | |
| <h1 class="text-5xl md:text-7xl font-bold mb-6"> | |
| 色彩<span class="undefined-gradient bg-clip-text text-transparent">绽放</span> | |
| <span class="undefined-gradient-secondary bg-clip-text text-transparent">无限</span> | |
| <span class="undefined-gradient-accent bg-clip-text text-transparent">可能</span> | |
| </h1> | |
| <p class="text-xl md:text-2xl text-gray-300 mb-8 leading-relaxed"> | |
| 体验色彩渐变的无限美感,在视觉和谐的交响曲中感受色彩的魔力。 | |
| 我们的平台将无限色彩组合转化为令人惊叹的数字艺术。 | |
| </p> | |
| <div class="flex flex-col sm:flex-row gap-4 justify-center"> | |
| <a href="create.html" class="undefined-gradient px-8 py-4 rounded-full font-semibold text-lg color-transition hover:scale-105 flex items-center justify-center gap-2"> | |
| <i data-feather="play"></i> | |
| 开始创作 | |
| </a> | |
| <a href="gallery.html" class="glass-effect px-8 py-4 rounded-full font-semibold text-lg color-transition hover:bg-white hover:bg-opacity-20 flex items-center justify-center gap-2"> | |
| <i data-feather="eye"></i> | |
| 浏览画廊 | |
| </a> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Features Section --> | |
| <section class="relative z-10 py-20 px-4"> | |
| <div class="max-w-6xl mx-auto"> | |
| <h2 class="text-4xl font-bold text-center mb-16"> | |
| <span class="undefined-gradient bg-clip-text text-transparent">无限</span> 特色功能 | |
| </h2> | |
| <div class="grid md:grid-cols-3 gap-8"> | |
| <!-- Feature 1 --> | |
| <div class="glass-effect p-8 rounded-2xl color-transition hover:scale-105"> | |
| <div class="w-16 h-16 undefined-gradient rounded-xl flex items-center justify-center mb-6"> | |
| <i data-feather="zap" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">动态渐变</h3> | |
| <p class="text-gray-300">体验流畅的色彩过渡,实时适应您的创作愿景。</p> | |
| </div> | |
| <!-- Feature 2 --> | |
| <div class="glass-effect p-8 rounded-2xl color-transition hover:scale-105"> | |
| <div class="w-16 h-16 undefined-gradient-secondary rounded-xl flex items-center justify-center mb-6"> | |
| <i data-feather="sliders" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">无限组合</h3> | |
| <p class="text-gray-300">探索无限色彩调色板,打破传统设计界限。</p> | |
| </div> | |
| <!-- Feature 3 --> | |
| <div class="glass-effect p-8 rounded-2xl color-transition hover:scale-105"> | |
| <div class="w-16 h-16 undefined-gradient-accent rounded-xl flex items-center justify-center mb-6"> | |
| <i data-feather="cloud" class="w-8 h-8"></i> | |
| </div> | |
| <h3 class="text-2xl font-bold mb-4">云端同步</h3> | |
| <p class="text-gray-300">您的创作将自动保存并在所有设备间同步。</p> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Color Showcase --> | |
| <section class="relative z-10 py-20 px-4"> | |
| <div class="max-w-6xl mx-auto"> | |
| <h2 class="text-4xl font-bold text-center mb-16"> | |
| <span class="undefined-gradient-secondary bg-clip-text text-transparent">无限</span> 色彩光谱 | |
| </h2> | |
| <div class="grid grid-cols-2 md:grid-cols-4 gap-4"> | |
| <div class="aspect-square undefined-gradient rounded-2xl color-transition hover:scale-110"></div> | |
| <div class="aspect-square undefined-gradient-secondary rounded-2xl color-transition hover:scale-110"></div> | |
| <div class="aspect-square undefined-gradient-accent rounded-2xl color-transition hover:scale-110"></div> | |
| <div class="aspect-square bg-gradient-to-br from-pink-500 via-red-500 to-yellow-500 rounded-2xl color-transition hover:scale-110"></div> | |
| </div> | |
| </div> | |
| </section> | |
| <!-- Footer --> | |
| <footer class="relative z-10 glass-effect mt-20 rounded-t-3xl"> | |
| <div class="max-w-6xl mx-auto px-4 py-12"> | |
| <div class="grid md:grid-cols-4 gap-8"> | |
| <div> | |
| <div class="flex items-center space-x-2 mb-4"> | |
| <div class="w-8 h-8 undefined-gradient rounded-full"></div> | |
| <span class="text-xl font-bold">ChromaticCanvas</span> | |
| </div | |
| <p class="text-gray-300">无限色彩创造无限美丽。</p> | |
| </div> | |
| <div | |
| <h4 class="font-semibold mb-4">探索</h4> | |
| <ul class="space-y-2 text-gray-300"> | |
| <li><a href="gallery.html" class="color-transition hover:text-white">画廊</a></li> | |
| <li><a href="#" class="color-transition hover:text-white">模板</a></li> | |
| <li><a href="#" class="color-transition hover:text-white">社区</a></li> | |
| </ul> | |
| </div> | |
| <div | |
| <h4 class="font-semibold mb-4">资源</h4> | |
| <ul class="space-y-2 text-gray-300"> | |
| <li><a href="#" class="color-transition hover:text-white">文档</a></li> | |
| <li><a href="#" class="color-transition hover:text-white">教程</a></li> | |
| <li><a href="#" class="color-transition hover:text-white">API</a></li> | |
| </ul> | |
| </div> | |
| <div | |
| <h4 class="font-semibold mb-4">联系</h4> | |
| <div class="flex space-x-4"> | |
| <a href="#" class="w-10 h-10 glass-effect rounded-full flex items-center justify-center color-transition hover:undefined-gradient"> | |
| <i data-feather="twitter"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 glass-effect rounded-full flex items-center justify-center color-transition hover:undefined-gradient-secondary"> | |
| <i data-feather="instagram"></i> | |
| </a> | |
| <a href="#" class="w-10 h-10 glass-effect rounded-full flex items-center justify-center color-transition hover:undefined-gradient-accent"> | |
| <i data-feather="github"></i> | |
| </a> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="border-t border-gray-700 mt-8 pt-8 text-center text-gray-400" | |
| <p>© 2024 Chromatic Canvas. 保留所有权利。拥抱无限可能。</p> | |
| </div> | |
| </div> | |
| </footer> | |
| <script> | |
| // Initialize Vanta.js background | |
| VANTA.GLOBE({ | |
| el: "#vanta-background", | |
| mouseControls: true, | |
| touchControls: true, | |
| gyroControls: false, | |
| minHeight: 200.00, | |
| minWidth: 200.00, | |
| scale: 1.00, | |
| scaleMobile: 1.00, | |
| color: 0x667eea, | |
| backgroundColor: 0x0, | |
| size: 0.8 | |
| }); | |
| // Initialize Feather Icons | |
| feather.replace(); | |
| // Add scroll animations | |
| document.addEventListener('DOMContentLoaded', function() { | |
| const observerOptions = { | |
| threshold: 0.1, | |
| rootMargin: '0px 0px -50px 0px' | |
| }; | |
| const observer = new IntersectionObserver((entries) => { | |
| entries.forEach(entry => { | |
| if (entry.isIntersecting) { | |
| entry.target.style.opacity = '1'; | |
| entry.target.style.transform = 'translateY(0)'; | |
| } | |
| }); | |
| }, observerOptions); | |
| // Animate elements on scroll | |
| const animatedElements = document.querySelectorAll('.glass-effect, .undefined-gradient, .undefined-gradient-secondary, .undefined-gradient-accent'); | |
| animatedElements.forEach(el => { | |
| el.style.opacity = '0'; | |
| el.style.transform = 'translateY(30px)'; | |
| el.style.transition = 'opacity 0.6s ease, transform 0.6s ease'; | |
| observer.observe(el); | |
| }); | |
| }); | |
| </script> | |
| </body> | |
| </html> | |