modifyitem commited on
Commit
3104068
·
verified ·
1 Parent(s): 40fbc3f

undefined - Initial Deployment

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +228 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: My First Deepsite
3
- emoji: 👀
4
- colorFrom: indigo
5
- colorTo: indigo
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
1
  ---
2
+ title: my-first-deepsite
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,228 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>Digital Assistant</title>
7
+ <script src="https://cdn.tailwindcss.com"></script>
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <style>
10
+ @keyframes float {
11
+ 0%, 100% { transform: translateY(0); }
12
+ 50% { transform: translateY(-10px); }
13
+ }
14
+ .floating { animation: float 3s ease-in-out infinite; }
15
+ .gradient-bg {
16
+ background: linear-gradient(135deg, #6e8efb 0%, #a777e3 50%, #f8a5ff 100%);
17
+ }
18
+ .glass-card {
19
+ background: rgba(255, 255, 255, 0.1);
20
+ backdrop-filter: blur(10px);
21
+ border: 1px solid rgba(255, 255, 255, 0.2);
22
+ }
23
+ .command-btn:hover {
24
+ transform: translateY(-3px);
25
+ box-shadow: 0 10px 20px rgba(0,0,0,0.2);
26
+ }
27
+ .command-btn {
28
+ transition: all 0.3s ease;
29
+ }
30
+ </style>
31
+ </head>
32
+ <body class="min-h-screen gradient-bg text-white font-sans overflow-x-hidden">
33
+ <div class="container mx-auto px-4 py-12">
34
+ <!-- Header -->
35
+ <header class="flex justify-between items-center mb-12">
36
+ <div>
37
+ <h1 class="text-3xl md:text-4xl font-bold">Nexus<span class="text-purple-200">AI</span></h1>
38
+ <p class="text-purple-100">Your digital companion</p>
39
+ </div>
40
+ <div class="flex space-x-4">
41
+ <button class="glass-card px-4 py-2 rounded-full hover:bg-white/20 transition">
42
+ <i class="fas fa-cog"></i>
43
+ </button>
44
+ <button class="glass-card px-4 py-2 rounded-full hover:bg-white/20 transition">
45
+ <i class="fas fa-moon"></i>
46
+ </button>
47
+ </div>
48
+ </header>
49
+
50
+ <!-- Main Content -->
51
+ <main class="flex flex-col lg:flex-row gap-8">
52
+ <!-- Assistant Avatar -->
53
+ <div class="lg:w-1/3 flex flex-col items-center">
54
+ <div class="relative floating mb-6">
55
+ <div class="w-48 h-48 md:w-64 md:h-64 rounded-full glass-card flex items-center justify-center">
56
+ <div class="w-40 h-40 md:w-56 md:h-56 rounded-full bg-white/10 flex items-center justify-center">
57
+ <i class="fas fa-robot text-6xl md:text-8xl text-purple-200"></i>
58
+ </div>
59
+ </div>
60
+ <div class="absolute -bottom-2 -right-2 bg-purple-400 rounded-full w-12 h-12 flex items-center justify-center">
61
+ <i class="fas fa-bolt text-white"></i>
62
+ </div>
63
+ </div>
64
+
65
+ <div class="glass-card rounded-2xl p-6 w-full text-center">
66
+ <h3 class="text-xl font-semibold mb-2">Status: <span class="text-green-300">Active</span></h3>
67
+ <div class="h-2 bg-white/20 rounded-full mb-4">
68
+ <div class="h-2 bg-purple-300 rounded-full w-3/4"></div>
69
+ </div>
70
+ <p class="text-sm opacity-80">Ready to assist with your requests</p>
71
+ </div>
72
+ </div>
73
+
74
+ <!-- Interaction Panel -->
75
+ <div class="lg:w-2/3">
76
+ <div class="glass-card rounded-2xl p-6 md:p-8 mb-8">
77
+ <div class="flex items-start mb-6">
78
+ <div class="bg-purple-400 rounded-full w-10 h-10 flex items-center justify-center mr-4">
79
+ <i class="fas fa-robot"></i>
80
+ </div>
81
+ <div class="flex-1">
82
+ <h2 class="text-2xl font-bold mb-2">What can I do for you today?</h2>
83
+ <p class="opacity-90">I'm your digital assistant, ready to help with information, tasks, or just some friendly conversation.</p>
84
+ </div>
85
+ </div>
86
+
87
+ <div class="grid grid-cols-1 sm:grid-cols-2 gap-4 mb-8">
88
+ <button class="command-btn glass-card p-4 rounded-xl flex items-center">
89
+ <div class="bg-blue-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3">
90
+ <i class="fas fa-search"></i>
91
+ </div>
92
+ <div>
93
+ <h4 class="font-medium">Search Information</h4>
94
+ <p class="text-xs opacity-70">Find facts, data, or answers</p>
95
+ </div>
96
+ </button>
97
+ <button class="command-btn glass-card p-4 rounded-xl flex items-center">
98
+ <div class="bg-green-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3">
99
+ <i class="fas fa-tasks"></i>
100
+ </div>
101
+ <div>
102
+ <h4 class="font-medium">Task Management</h4>
103
+ <p class="text-xs opacity-70">Organize your to-dos</p>
104
+ </div>
105
+ </button>
106
+ <button class="command-btn glass-card p-4 rounded-xl flex items-center">
107
+ <div class="bg-yellow-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3">
108
+ <i class="fas fa-calendar"></i>
109
+ </div>
110
+ <div>
111
+ <h4 class="font-medium">Schedule</h4>
112
+ <p class="text-xs opacity-70">Manage your calendar</p>
113
+ </div>
114
+ </button>
115
+ <button class="command-btn glass-card p-4 rounded-xl flex items-center">
116
+ <div class="bg-pink-400/30 w-10 h-10 rounded-lg flex items-center justify-center mr-3">
117
+ <i class="fas fa-lightbulb"></i>
118
+ </div>
119
+ <div>
120
+ <h4 class="font-medium">Creative Help</h4>
121
+ <p class="text-xs opacity-70">Ideas, writing, design</p>
122
+ </div>
123
+ </button>
124
+ </div>
125
+
126
+ <!-- Input Area -->
127
+ <div class="relative">
128
+ <input type="text" placeholder="Ask me anything..."
129
+ 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">
130
+ <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">
131
+ <i class="fas fa-paper-plane"></i>
132
+ </button>
133
+ </div>
134
+ </div>
135
+
136
+ <!-- Recent Activity -->
137
+ <div class="glass-card rounded-2xl p-6">
138
+ <h3 class="text-xl font-semibold mb-4 flex items-center">
139
+ <i class="fas fa-history mr-2"></i> Recent Activity
140
+ </h3>
141
+ <div class="space-y-4">
142
+ <div class="flex items-start">
143
+ <div class="bg-blue-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1">
144
+ <i class="fas fa-search text-xs"></i>
145
+ </div>
146
+ <div>
147
+ <p class="font-medium">Weather in New York</p>
148
+ <p class="text-sm opacity-70">Currently 72°F, partly cloudy</p>
149
+ </div>
150
+ </div>
151
+ <div class="flex items-start">
152
+ <div class="bg-green-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1">
153
+ <i class="fas fa-tasks text-xs"></i>
154
+ </div>
155
+ <div>
156
+ <p class="font-medium">Added task</p>
157
+ <p class="text-sm opacity-70">"Finish project by Friday"</p>
158
+ </div>
159
+ </div>
160
+ <div class="flex items-start">
161
+ <div class="bg-purple-400/20 rounded-full w-8 h-8 flex items-center justify-center mr-3 mt-1">
162
+ <i class="fas fa-music text-xs"></i>
163
+ </div>
164
+ <div>
165
+ <p class="font-medium">Played music</p>
166
+ <p class="text-sm opacity-70">"Your favorite playlist"</p>
167
+ </div>
168
+ </div>
169
+ </div>
170
+ </div>
171
+ </div>
172
+ </main>
173
+
174
+ <!-- Quick Actions -->
175
+ <div class="fixed bottom-6 left-1/2 transform -translate-x-1/2 flex space-x-4">
176
+ <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition">
177
+ <i class="fas fa-microphone"></i>
178
+ </button>
179
+ <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition">
180
+ <i class="fas fa-keyboard"></i>
181
+ </button>
182
+ <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center bg-purple-400 hover:bg-purple-500 transition">
183
+ <i class="fas fa-plus"></i>
184
+ </button>
185
+ <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition">
186
+ <i class="fas fa-camera"></i>
187
+ </button>
188
+ <button class="glass-card w-12 h-12 rounded-full flex items-center justify-center hover:bg-white/20 transition">
189
+ <i class="fas fa-question"></i>
190
+ </button>
191
+ </div>
192
+ </div>
193
+
194
+ <script>
195
+ // Simple animation for command buttons
196
+ document.querySelectorAll('.command-btn').forEach(btn => {
197
+ btn.addEventListener('mouseenter', function() {
198
+ this.style.transform = 'translateY(-3px)';
199
+ this.style.boxShadow = '0 10px 20px rgba(0,0,0,0.2)';
200
+ });
201
+ btn.addEventListener('mouseleave', function() {
202
+ this.style.transform = '';
203
+ this.style.boxShadow = '';
204
+ });
205
+ });
206
+
207
+ // Microphone button animation
208
+ const micBtn = document.querySelector('.fa-microphone').parentElement;
209
+ micBtn.addEventListener('click', function() {
210
+ this.classList.add('animate-pulse');
211
+ setTimeout(() => {
212
+ this.classList.remove('animate-pulse');
213
+ // Simulate response
214
+ alert("Listening... What can I do for you?");
215
+ }, 2000);
216
+ });
217
+
218
+ // Add some interactive elements
219
+ const inputField = document.querySelector('input');
220
+ inputField.addEventListener('focus', function() {
221
+ this.parentElement.classList.add('ring-2', 'ring-purple-300');
222
+ });
223
+ inputField.addEventListener('blur', function() {
224
+ this.parentElement.classList.remove('ring-2', 'ring-purple-300');
225
+ });
226
+ </script>
227
+ <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>
228
+ </html>