Spaces:
Running
Running
File size: 12,435 Bytes
3104068 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 |
<!DOCTYPE html>
<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> |