Spaces:
Running
Running
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Digital Assistant</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> | |
| @keyframes float { | |
| 0%, 100% { transform: translateY(0); } | |
| 50% { transform: translateY(-10px); } | |
| } | |
| .floating { animation: float 3s ease-in-out infinite; } | |
| .gradient-bg { | |
| background: linear-gradient(135deg, #6e8efb 0%, #a777e3 50%, #f8a5ff 100%); | |
| } | |
| .glass-card { | |
| background: rgba(255, 255, 255, 0.1); | |
| backdrop-filter: blur(10px); | |
| border: 1px solid rgba(255, 255, 255, 0.2); | |
| } | |
| .command-btn:hover { | |
| transform: translateY(-3px); | |
| box-shadow: 0 10px 20px rgba(0,0,0,0.2); | |
| } | |
| .command-btn { | |
| transition: all 0.3s ease; | |
| } | |
| </style> | |
| </head> | |
| <body class="min-h-screen gradient-bg text-white font-sans overflow-x-hidden"> | |
| <div class="container mx-auto px-4 py-12"> | |
| <!-- Header --> | |
| <header class="flex justify-between items-center mb-12"> | |
| <div> | |
| <h1 class="text-3xl md:text-4xl font-bold">Nexus<span class="text-purple-200">AI</span></h1> | |
| <p class="text-purple-100">Your digital companion</p> | |
| </div> | |
| <div class="flex space-x-4"> | |
| <button class="glass-card px-4 py-2 rounded-full hover:bg-white/20 transition"> | |
| <i class="fas fa-cog"></i> | |
| </button> | |
| <button class="glass-card px-4 py-2 rounded-full hover:bg-white/20 transition"> | |
| <i class="fas fa-moon"></i> | |
| </button> | |
| </div> | |
| </header> | |
| <!-- Main Content --> | |
| <main class="flex flex-col lg:flex-row gap-8"> | |
| <!-- Assistant Avatar --> | |
| <div class="lg:w-1/3 flex flex-col items-center"> | |
| <div class="relative floating mb-6"> | |
| <div class="w-48 h-48 md:w-64 md:h-64 rounded-full glass-card flex items-center justify-center"> | |
| <div class="w-40 h-40 md:w-56 md:h-56 rounded-full bg-white/10 flex items-center justify-center"> | |
| <i class="fas fa-robot text-6xl md:text-8xl text-purple-200"></i> | |
| </div> | |
| </div> | |
| <div class="absolute -bottom-2 -right-2 bg-purple-400 rounded-full w-12 h-12 flex items-center justify-center"> | |
| <i class="fas fa-bolt text-white"></i> | |
| </div> | |
| </div> | |
| <div class="glass-card rounded-2xl p-6 w-full text-center"> | |
| <h3 class="text-xl font-semibold mb-2">Status: <span class="text-green-300">Active</span></h3> | |
| <div class="h-2 bg-white/20 rounded-full mb-4"> | |
| <div class="h-2 bg-purple-300 rounded-full w-3/4"></div> | |
| </div> | |
| <p class="text-sm opacity-80">Ready to assist with your requests</p> | |
| </div> | |
| </div> | |
| <!-- Interaction Panel --> | |
| <div class="lg:w-2/3"> | |
| <div class="glass-card rounded-2xl p-6 md:p-8 mb-8"> | |
| <div class="flex items-start mb-6"> | |
| <div class="bg-purple-400 rounded-full w-10 h-10 flex items-center justify-center mr-4"> | |
| <i class="fas fa-robot"></i> | |
| </div> | |
| <div class="flex-1"> | |
| <h2 class="text-2xl font-bold mb-2">What can I do for you today?</h2> | |
| <p class="opacity-90">I'm your digital assistant, ready to help with information, tasks, or just some friendly conversation.</p> | |
| </div> | |
| </div> | |
| <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8"> | |
| <button class="command-btn glass-card p-4 rounded-xl flex items-center"> | |
| <div class="bg-blue-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3"> | |
| <i class="fas fa-search"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium">Search Information</h4> | |
| <p class="text-xs opacity-70">Find facts, data, or answers</p> | |
| </div> | |
| </button> | |
| <button class="command-btn glass-card p-4 rounded-xl flex items-center"> | |
| <div class="bg-green-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3"> | |
| <i class="fas fa-tasks"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium">Task Management</h4> | |
| <p class="text-xs opacity-70">Organize your to-dos</p> | |
| </div> | |
| </button> | |
| <button class="command-btn glass-card p-4 rounded-xl flex items-center"> | |
| <div class="bg-yellow-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3"> | |
| <i class="fas fa-calendar"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium">Schedule</h4> | |
| <p class="text-xs opacity-70">Manage your calendar</p> | |
| </div> | |
| </button> | |
| <button class="command-btn glass-card p-4 rounded-xl flex items-center"> | |
| <div class="bg-pink-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3"> | |
| <i class="fas fa-lightbulb"></i> | |
| </div> | |
| <div> | |
| <h4 class="font-medium">Creative Help</h4> | |
| <p class="text-xs opacity-70">Ideas, writing, design</p> | |
| </div> | |
| </button> | |
| </div> | |
| <!-- Input Area --> | |
| <div class="relative"> | |
| <input type="text" placeholder="Ask me anything..." | |
| class="w-full bg-white/10 border border-white/20 rounded-full py-4 px-6 pr-16 focus:outline-none focus:ring-2 focus:ring-purple-300"> | |
| <button class="absolute right-3 top-1/2 transform -translate-y-1/2 bg-purple-400 w-10 h-10 rounded-full flex items-center justify-center hover:bg-purple-500 transition"> | |
| <i class="fas fa-paper-plane"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <!-- Recent Activity --> | |
| <div class="glass-card rounded-2xl p-6"> | |
| <h3 class="text-xl font-semibold mb-4 flex items-center"> | |
| <i class="fas fa-history mr-2"></i> Recent Activity | |
| </h3> | |
| <div class="space-y-4"> | |
| <div class="flex items-start"> | |
| <div class="bg-blue-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1"> | |
| <i class="fas fa-search text-xs"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Weather in New York</p> | |
| <p class="text-sm opacity-70">Currently 72°F, partly cloudy</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-green-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1"> | |
| <i class="fas fa-tasks text-xs"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Added task</p> | |
| <p class="text-sm opacity-70">"Finish project by Friday"</p> | |
| </div> | |
| </div> | |
| <div class="flex items-start"> | |
| <div class="bg-purple-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1"> | |
| <i class="fas fa-music text-xs"></i> | |
| </div> | |
| <div> | |
| <p class="font-medium">Played music</p> | |
| <p class="text-sm opacity-70">"Your favorite playlist"</p> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </main> | |
| <!-- Quick Actions --> | |
| <div class="fixed bottom-6 left-1/2 transform -translate-x-1/2 flex space-x-4"> | |
| <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition"> | |
| <i class="fas fa-microphone"></i> | |
| </button> | |
| <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition"> | |
| <i class="fas fa-keyboard"></i> | |
| </button> | |
| <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center bg-purple-400 hover:bg-purple-500 transition"> | |
| <i class="fas fa-plus"></i> | |
| </button> | |
| <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition"> | |
| <i class="fas fa-camera"></i> | |
| </button> | |
| <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition"> | |
| <i class="fas fa-question"></i> | |
| </button> | |
| </div> | |
| </div> | |
| <script> | |
| // Simple animation for command buttons | |
| document.querySelectorAll('.command-btn').forEach(btn => { | |
| btn.addEventListener('mouseenter', function() { | |
| this.style.transform = 'translateY(-3px)'; | |
| this.style.boxShadow = '0 10px 20px rgba(0,0,0,0.2)'; | |
| }); | |
| btn.addEventListener('mouseleave', function() { | |
| this.style.transform = ''; | |
| this.style.boxShadow = ''; | |
| }); | |
| }); | |
| // Microphone button animation | |
| const micBtn = document.querySelector('.fa-microphone').parentElement; | |
| micBtn.addEventListener('click', function() { | |
| this.classList.add('animate-pulse'); | |
| setTimeout(() => { | |
| this.classList.remove('animate-pulse'); | |
| // Simulate response | |
| alert("Listening... What can I do for you?"); | |
| }, 2000); | |
| }); | |
| // Add some interactive elements | |
| const inputField = document.querySelector('input'); | |
| inputField.addEventListener('focus', function() { | |
| this.parentElement.classList.add('ring-2', 'ring-purple-300'); | |
| }); | |
| inputField.addEventListener('blur', function() { | |
| this.parentElement.classList.remove('ring-2', 'ring-purple-300'); | |
| }); | |
| </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=modifyitem/my-first-deepsite" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body> | |
| </html> |