Spaces:
Running
Running
Download index.html from nhatai1995/anycoder-3fe2ebcc: direct link, hf CLI and curl.
- Browser
- Download file 16.2 kB
-
https://huggingface.co/spaces/nhatai1995/anycoder-3fe2ebcc/resolve/main/index.html
- Command line
-
hf download hf://spaces/nhatai1995/anycoder-3fe2ebcc/index.html
-
curl -L -o index.html https://huggingface.co/spaces/nhatai1995/anycoder-3fe2ebcc/resolve/main/index.html
16.2 kB
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Hello - Sherlock by Trailblazer Labs</title> | |
| <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css" rel="stylesheet"> | |
| <style> | |
| :root { | |
| --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%); | |
| --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%); | |
| --dark-bg: #0a0a0a; | |
| --card-bg: rgba(255, 255, 255, 0.05); | |
| --glass-bg: rgba(255, 255, 255, 0.1); | |
| --text-primary: #ffffff; | |
| --text-secondary: #b0b0b0; | |
| --accent: #00d4ff; | |
| --glow: 0 0 20px rgba(102, 126, 234, 0.5); | |
| } | |
| * { | |
| margin: 0; | |
| padding: 0; | |
| box-sizing: border-box; | |
| } | |
| body { | |
| font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; | |
| background: var(--dark-bg); | |
| color: var(--text-primary); | |
| overflow: hidden; | |
| min-height: 100vh; | |
| position: relative; | |
| } | |
| /* Animated Background */ | |
| body::before { | |
| content: ''; | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| background: | |
| radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%), | |
| radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.3) 0%, transparent 50%), | |
| radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.2) 0%, transparent 50%); | |
| animation: backgroundShift 20s ease-in-out infinite; | |
| z-index: -2; | |
| } | |
| @keyframes backgroundShift { | |
| 0%, 100% { transform: scale(1) rotate(0deg); } | |
| 50% { transform: scale(1.1) rotate(180deg); } | |
| } | |
| /* Floating Particles */ | |
| .particles { | |
| position: fixed; | |
| top: 0; | |
| left: 0; | |
| width: 100%; | |
| height: 100%; | |
| pointer-events: none; | |
| z-index: -1; | |
| } | |
| .particle { | |
| position: absolute; | |
| background: var(--accent); | |
| border-radius: 50%; | |
| animation: float 6s ease-in-out infinite; | |
| } | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.7; } | |
| 50% { transform: translateY(-20px) rotate(180deg); opacity: 1; } | |
| } | |
| /* Header */ | |
| .header { | |
| position: fixed; | |
| top: 20px; | |
| left: 20px; | |
| right: 20px; | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| z-index: 1000; | |
| backdrop-filter: blur(20px); | |
| background: var(--glass-bg); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 20px; | |
| padding: 15px 25px; | |
| } | |
| .logo { | |
| display: flex; | |
| align-items: center; | |
| gap: 10px; | |
| font-size: 1.2rem; | |
| font-weight: 700; | |
| background: var(--primary-gradient); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| } | |
| .built-with { | |
| color: var(--text-secondary); | |
| text-decoration: none; | |
| font-size: 0.9rem; | |
| transition: all 0.3s ease; | |
| } | |
| .built-with:hover { | |
| color: var(--accent); | |
| text-shadow: var(--glow); | |
| } | |
| /* Main Container */ | |
| .container { | |
| display: flex; | |
| flex-direction: column; | |
| justify-content: center; | |
| align-items: center; | |
| min-height: 100vh; | |
| padding: 100px 20px 40px; | |
| max-width: 800px; | |
| margin: 0 auto; | |
| } | |
| /* Hello Card */ | |
| .hello-card { | |
| background: var(--card-bg); | |
| backdrop-filter: blur(30px); | |
| border: 1px solid rgba(255, 255, 255, 0.1); | |
| border-radius: 30px; | |
| padding: 60px 40px; | |
| text-align: center; | |
| box-shadow: | |
| 0 25px 45px rgba(0, 0, 0, 0.3), | |
| inset 0 1px 0 rgba(255, 255, 255, 0.2); | |
| position: relative; | |
| overflow: hidden; | |
| transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1); | |
| animation: cardEntrance 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94); | |
| } | |
| .hello-card::before { | |
| content: ''; | |
| position: absolute; | |
| top: -50%; | |
| left: -50%; | |
| width: 200%; | |
| height: 200%; | |
| background: var(--secondary-gradient); | |
| opacity: 0.1; | |
| transform: rotate(45deg); | |
| transition: all 0.6s ease; | |
| } | |
| .hello-card:hover::before { | |
| transform: rotate(45deg) scale(1.1); | |
| } | |
| .hello-card:hover { | |
| transform: translateY(-10px); | |
| box-shadow: | |
| 0 35px 60px rgba(0, 0, 0, 0.4), | |
| inset 0 1px 0 rgba(255, 255, 255, 0.3), | |
| var(--glow); | |
| } | |
| @keyframes cardEntrance { | |
| 0% { | |
| opacity: 0; | |
| transform: translateY(50px) scale(0.9); | |
| } | |
| 100% { | |
| opacity: 1; | |
| transform: translateY(0) scale(1); | |
| } | |
| } | |
| .hello-icon { | |
| font-size: 4rem; | |
| color: var(--accent); | |
| margin-bottom: 30px; | |
| filter: drop-shadow(0 0 20px var(--accent)); | |
| animation: iconPulse 2s ease-in-out infinite; | |
| } | |
| @keyframes iconPulse { | |
| 0%, 100% { transform: scale(1); } | |
| 50% { transform: scale(1.1); } | |
| } | |
| .hello-title { | |
| font-size: clamp(3rem, 8vw, 6rem); | |
| font-weight: 900; | |
| background: var(--primary-gradient); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| margin-bottom: 20px; | |
| letter-spacing: -2px; | |
| line-height: 1; | |
| } | |
| .hello-subtitle { | |
| font-size: clamp(1.2rem, 3vw, 1.8rem); | |
| color: var(--text-secondary); | |
| margin-bottom: 40px; | |
| font-weight: 300; | |
| } | |
| /* Interactive Buttons */ | |
| .action-buttons { | |
| display: flex; | |
| gap: 20px; | |
| flex-wrap: wrap; | |
| justify-content: center; | |
| } | |
| .btn { | |
| padding: 15px 30px; | |
| border: none; | |
| border-radius: 50px; | |
| font-size: 1.1rem; | |
| font-weight: 600; | |
| cursor: pointer; | |
| transition: all 0.3s ease; | |
| position: relative; | |
| overflow: hidden; | |
| text-decoration: none; | |
| display: inline-flex; | |
| align-items: center; | |
| gap: 10px; | |
| backdrop-filter: blur(10px); | |
| } | |
| .btn-primary { | |
| background: var(--primary-gradient); | |
| box-shadow: var(--glow); | |
| color: white; | |
| } | |
| .btn-secondary { | |
| background: var(--glass-bg); | |
| border: 2px solid rgba(255, 255, 255, 0.2); | |
| color: var(--text-primary); | |
| } | |
| .btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3); | |
| } | |
| .btn:active { | |
| transform: translateY(-1px); | |
| } | |
| /* Stats */ | |
| .stats { | |
| display: flex; | |
| gap: 30px; | |
| margin-top: 50px; | |
| justify-content: center; | |
| flex-wrap: wrap; | |
| } | |
| .stat-item { | |
| text-align: center; | |
| opacity: 0; | |
| animation: statFadeIn 1s ease forwards; | |
| } | |
| .stat-item:nth-child(1) { animation-delay: 0.2s; } | |
| .stat-item:nth-child(2) { animation-delay: 0.4s; } | |
| .stat-item:nth-child(3) { animation-delay: 0.6s; } | |
| @keyframes statFadeIn { | |
| to { | |
| opacity: 1; | |
| transform: translateY(0); | |
| } | |
| } | |
| .stat-number { | |
| font-size: 2.5rem; | |
| font-weight: 800; | |
| background: var(--secondary-gradient); | |
| -webkit-background-clip: text; | |
| -webkit-text-fill-color: transparent; | |
| background-clip: text; | |
| display: block; | |
| } | |
| .stat-label { | |
| color: var(--text-secondary); | |
| font-size: 0.9rem; | |
| margin-top: 5px; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .header { | |
| flex-direction: column; | |
| gap: 15px; | |
| padding: 20px; | |
| } | |
| .hello-card { | |
| padding: 40px 25px; | |
| margin: 20px; | |
| } | |
| .action-buttons { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .btn { | |
| width: 100%; | |
| max-width: 280px; | |
| justify-content: center; | |
| } | |
| .stats { | |
| flex-direction: column; | |
| gap: 20px; | |
| } | |
| } | |
| /* Scroll Indicator */ | |
| .scroll-indicator { | |
| position: fixed; | |
| bottom: 30px; | |
| left: 50%; | |
| transform: translateX(-50%); | |
| color: var(--text-secondary); | |
| animation: bounce 2s infinite; | |
| z-index: 100; | |
| } | |
| @keyframes bounce { | |
| 0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); } | |
| 40% { transform: translateX(-50%) translateY(-10px); } | |
| 60% { transform: translateX(-50%) translateY(-5px); } | |
| } | |
| </style> | |
| </head> | |
| <body> | |
| <!-- Particles --> | |
| <div class="particles" id="particles"></div> | |
| <!-- Header --> | |
| <div class="header"> | |
| <div class="logo"> | |
| <i class="fas fa-searchengin"></i> | |
| <span>Sherlock</span> | |
| </div> | |
| <a href="https://huggingface.co/spaces/akhaliq/anycoder" target="_blank" class="built-with"> | |
| <i class="fas fa-heart"></i> | |
| Built with anycoder | |
| </a> | |
| </div> | |
| <!-- Main Content --> | |
| <div class="container"> | |
| <div class="hello-card"> | |
| <div class="hello-icon"> | |
| <i class="fas fa-wave"></i> | |
| </div> | |
| <h1 class="hello-title" data-text="Hello">Hello</h1> | |
| <p class="hello-subtitle"> | |
| Welcome to the future of interactive web experiences. | |
| Built with cutting-edge design and modern CSS. | |
| </p> | |
| <div class="action-buttons"> | |
| <button class="btn btn-primary" onclick="waveEffect()"> | |
| <i class="fas fa-hand-wave"></i> | |
| Wave Back | |
| </button> | |
| <button class="btn btn-secondary" onclick="changeTheme()"> | |
| <i class="fas fa-magic"></i> | |
| Magic Mode | |
| </button> | |
| </div> | |
| </div> | |
| <div class="stats"> | |
| <div class="stat-item"> | |
| <span class="stat-number" data-target="42">0</span> | |
| <span class="stat-label">Interactive Elements</span> | |
| </div> | |
| <div class="stat-item"> | |
| <span class="stat-number" data-target="100">0</span> | |
| <span class="stat-label">Animations</span> | |
| </div> | |
| <div class="stat-item"> | |
| <span class="stat-number" data-target="99">0</span> | |
| <span class="stat-label">Pure CSS</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div class="scroll-indicator"> | |
| <i class="fas fa-mouse-pointer"></i> | |
| </div> | |
| <script> | |
| // Create floating particles | |
| function createParticles() { | |
| const particlesContainer = document.getElementById('particles'); | |
| for (let i = 0; i < 12; i++) { | |
| const particle = document.createElement('div'); | |
| particle.className = 'particle'; | |
| particle.style.left = Math.random() * 100 + '%'; | |
| particle.style.top = Math.random() * 100 + '%'; | |
| particle.style.width = particle.style.height = (Math.random() * 6 + 2) + 'px'; | |
| particle.style.animationDelay = Math.random() * 6 + 's'; | |
| particle.style.animationDuration = (Math.random() * 3 + 4) + 's'; | |
| particlesContainer.appendChild(particle); | |
| } | |
| } | |
| // Wave effect | |
| function waveEffect() { | |
| const title = document.querySelector('.hello-title'); | |
| title.style.transform = 'scale(1.2)'; | |
| title.innerHTML = '👋 Hello 👋'; | |
| setTimeout(() => { | |
| title.style.transform = ''; | |
| title.innerHTML = 'Hello'; | |
| }, 800); | |
| } | |
| // Theme changer | |
| let themeMode = 0; | |
| function changeTheme() { | |
| themeMode = (themeMode + 1) % 3; | |
| document.body.style.setProperty('--primary-gradient', | |
| themeMode === 0 ? 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' : | |
| themeMode === 1 ? 'linear-gradient(135deg, #f093fb 0%, #f5576c 100%)' : | |
| 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)' | |
| ); | |
| } | |
| // Animate stats | |
| function animateStats() { | |
| const stats = document.querySelectorAll('.stat-number'); | |
| stats.forEach(stat => { | |
| const target = parseInt(stat.getAttribute('data-target')); | |
| let current = 0; | |
| const increment = target / 50; | |
| const timer = setInterval(() => { | |
| current += increment; | |
| if (current >= target) { | |
| stat.textContent = target + '%'; | |
| clearInterval(timer); | |
| } else { | |
| stat.textContent = Math.floor(current) + '%'; | |
| } | |
| }, 30); | |
| }); | |
| } | |
| // Mouse trail effect | |
| document.addEventListener('mousemove', (e) => { | |
| const trail = document.createElement('div'); | |
| trail.style.position = 'fixed'; | |
| trail.style.left = e.clientX + 'px'; | |
| trail.style.top = e.clientY + 'px'; | |
| trail.style.width = '4px'; | |
| trail.style.height = '4px'; | |
| trail.style.background = 'var(--accent)'; | |
| trail.style.borderRadius = '50%'; | |
| trail.style.pointerEvents = 'none'; | |
| trail.style.zIndex = '9999'; | |
| trail.style.animation = 'float 1s ease-out forwards'; | |
| document.body.appendChild(trail); | |
| setTimeout(() => trail.remove(), 1000); | |
| }); | |
| // Intersection Observer for scroll animations | |
| const observer = new IntersectionObserver((entries) => { | |
| entries.forEach(entry => { | |
| if (entry.isIntersecting) { | |
| animateStats(); | |
| observer.unobserve(entry.target); | |
| } | |
| }); | |
| }); | |
| observer.observe(document.querySelector('.stats')); | |
| // Initialize | |
| window.addEventListener('load', () => { | |
| createParticles(); | |
| setTimeout(animateStats, 1000); | |
| }); | |
| // Parallax effect | |
| window.addEventListener('scroll', () => { | |
| const scrolled = window.pageYOffset; | |
| const parallax = document.querySelector('.hello-card'); | |
| if (parallax) { | |
| parallax.style.transform = `translateY(${scrolled * 0.5}px)`; | |
| } | |
| }); | |
| </script> | |
| </body> | |
| </html> |