Demo310 commited on
Commit
f0747f0
·
verified ·
1 Parent(s): 9d00043

Add 2 files

Browse files
Files changed (2) hide show
  1. README.md +7 -5
  2. index.html +775 -19
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Aura Demo
3
- emoji: 🐠
4
- colorFrom: red
5
- colorTo: blue
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: aura-demo
3
+ emoji: 🐳
4
+ colorFrom: purple
5
+ colorTo: green
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,775 @@
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>Aura.HQ - LoFi Render Engine</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
+ <script src="https://cdn.jsdelivr.net/npm/web3@1.5.2/dist/web3.min.js"></script>
10
+ <style>
11
+ @import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@300;400;500;600;700&display=swap');
12
+
13
+ :root {
14
+ --primary: #6366f1;
15
+ --secondary: #8b5cf6;
16
+ --dark: #1e293b;
17
+ --light: #f8fafc;
18
+ --accent: #f43f5e;
19
+ }
20
+
21
+ body {
22
+ font-family: 'Inter', sans-serif;
23
+ background-color: var(--dark);
24
+ color: var(--light);
25
+ overflow-x: hidden;
26
+ }
27
+
28
+ .font-space {
29
+ font-family: 'Space Grotesk', sans-serif;
30
+ }
31
+
32
+ .gradient-text {
33
+ background: linear-gradient(90deg, var(--primary), var(--secondary));
34
+ -webkit-background-clip: text;
35
+ background-clip: text;
36
+ color: transparent;
37
+ }
38
+
39
+ .gradient-bg {
40
+ background: linear-gradient(135deg, var(--primary), var(--secondary));
41
+ }
42
+
43
+ .lofi-scene {
44
+ background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
45
+ box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
46
+ }
47
+
48
+ .window {
49
+ background: rgba(255, 255, 255, 0.1);
50
+ backdrop-filter: blur(10px);
51
+ border: 1px solid rgba(255, 255, 255, 0.2);
52
+ box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
53
+ }
54
+
55
+ .rain-effect {
56
+ position: absolute;
57
+ width: 100%;
58
+ height: 100%;
59
+ pointer-events: none;
60
+ z-index: 10;
61
+ }
62
+
63
+ .rain-drop {
64
+ position: absolute;
65
+ width: 1px;
66
+ height: 20px;
67
+ background: linear-gradient(transparent, rgba(255, 255, 255, 0.6));
68
+ animation: rain 1s linear infinite;
69
+ }
70
+
71
+ @keyframes rain {
72
+ 0% {
73
+ transform: translateY(-20px);
74
+ }
75
+ 100% {
76
+ transform: translateY(100vh);
77
+ }
78
+ }
79
+
80
+ .fade-in {
81
+ animation: fadeIn 0.5s ease-in-out;
82
+ }
83
+
84
+ @keyframes fadeIn {
85
+ from { opacity: 0; transform: translateY(10px); }
86
+ to { opacity: 1; transform: translateY(0); }
87
+ }
88
+
89
+ .pulse {
90
+ animation: pulse 2s infinite;
91
+ }
92
+
93
+ @keyframes pulse {
94
+ 0% {
95
+ box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
96
+ }
97
+ 70% {
98
+ box-shadow: 0 0 0 10px rgba(99, 102, 241, 0);
99
+ }
100
+ 100% {
101
+ box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
102
+ }
103
+ }
104
+
105
+ .nft-card {
106
+ transition: all 0.3s ease;
107
+ }
108
+
109
+ .nft-card:hover {
110
+ transform: translateY(-5px);
111
+ box-shadow: 0 20px 25px -5px rgba(139, 92, 246, 0.3), 0 10px 10px -5px rgba(139, 92, 246, 0.1);
112
+ }
113
+
114
+ .typing-indicator::after {
115
+ content: '...';
116
+ animation: typing 1.5s infinite;
117
+ }
118
+
119
+ @keyframes typing {
120
+ 0% { content: '.'; }
121
+ 33% { content: '..'; }
122
+ 66% { content: '...'; }
123
+ }
124
+ </style>
125
+ </head>
126
+ <body class="min-h-screen">
127
+ <!-- Web3 Connection Modal -->
128
+ <div id="web3Modal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50">
129
+ <div class="bg-slate-800 rounded-xl p-8 max-w-md w-full mx-4 window fade-in">
130
+ <div class="flex justify-between items-center mb-6">
131
+ <h2 class="text-2xl font-bold gradient-text">Connect Wallet</h2>
132
+ <button onclick="closeModal('web3Modal')" class="text-slate-400 hover:text-white">
133
+ <i class="fas fa-times"></i>
134
+ </button>
135
+ </div>
136
+ <p class="text-slate-300 mb-6">Connect your Web3 wallet to access Aura.HQ and your digital environment.</p>
137
+
138
+ <div class="space-y-4">
139
+ <button onclick="connectWallet('metamask')" class="w-full flex items-center justify-between p-4 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
140
+ <div class="flex items-center">
141
+ <img src="https://upload.wikimedia.org/wikipedia/commons/3/36/MetaMask_Fox.svg" alt="MetaMask" class="w-8 h-8 mr-3">
142
+ <span>MetaMask</span>
143
+ </div>
144
+ <i class="fas fa-chevron-right text-slate-400"></i>
145
+ </button>
146
+
147
+ <button onclick="connectWallet('walletconnect')" class="w-full flex items-center justify-between p-4 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
148
+ <div class="flex items-center">
149
+ <img src="https://walletconnect.com/walletconnect-logo.svg" alt="WalletConnect" class="w-8 h-8 mr-3">
150
+ <span>WalletConnect</span>
151
+ </div>
152
+ <i class="fas fa-chevron-right text-slate-400"></i>
153
+ </button>
154
+
155
+ <button onclick="connectWallet('lens')" class="w-full flex items-center justify-between p-4 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
156
+ <div class="flex items-center">
157
+ <img src="https://lens.xyz/logo.svg" alt="Lens Protocol" class="w-8 h-8 mr-3">
158
+ <span>Lens Protocol</span>
159
+ </div>
160
+ <i class="fas fa-chevron-right text-slate-400"></i>
161
+ </button>
162
+ </div>
163
+ </div>
164
+ </div>
165
+
166
+ <!-- AI Assistant Modal -->
167
+ <div id="aiModal" class="fixed inset-0 bg-black bg-opacity-80 flex items-end justify-center z-50 hidden">
168
+ <div class="bg-slate-800 rounded-t-xl p-6 w-full max-w-md mx-4 window fade-in">
169
+ <div class="flex justify-between items-center mb-4">
170
+ <h2 class="text-xl font-bold gradient-text">Aura Assistant</h2>
171
+ <button onclick="closeModal('aiModal')" class="text-slate-400 hover:text-white">
172
+ <i class="fas fa-times"></i>
173
+ </button>
174
+ </div>
175
+
176
+ <div id="aiChat" class="h-64 overflow-y-auto mb-4 space-y-3">
177
+ <div class="flex items-start">
178
+ <div class="bg-slate-700 p-3 rounded-lg max-w-xs">
179
+ <p class="text-sm">Hi there! I'm your Aura assistant. How can I help customize your environment today?</p>
180
+ </div>
181
+ </div>
182
+ </div>
183
+
184
+ <div class="flex">
185
+ <input id="aiInput" type="text" placeholder="Ask me anything..." class="flex-1 bg-slate-700 text-white px-4 py-2 rounded-l-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
186
+ <button onclick="sendAIMessage()" class="bg-indigo-600 hover:bg-indigo-700 px-4 py-2 rounded-r-lg transition">
187
+ <i class="fas fa-paper-plane"></i>
188
+ </button>
189
+ </div>
190
+ </div>
191
+ </div>
192
+
193
+ <!-- NFT Marketplace Modal -->
194
+ <div id="marketModal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50 hidden overflow-y-auto">
195
+ <div class="bg-slate-800 rounded-xl p-6 w-full max-w-4xl mx-4 window fade-in my-8">
196
+ <div class="flex justify-between items-center mb-6">
197
+ <h2 class="text-2xl font-bold gradient-text">Meta Market</h2>
198
+ <button onclick="closeModal('marketModal')" class="text-slate-400 hover:text-white">
199
+ <i class="fas fa-times"></i>
200
+ </button>
201
+ </div>
202
+
203
+ <div class="flex mb-6">
204
+ <div class="flex-1 relative">
205
+ <input type="text" placeholder="Search items..." class="w-full bg-slate-700 text-white px-4 py-2 pl-10 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
206
+ <i class="fas fa-search absolute left-3 top-3 text-slate-400"></i>
207
+ </div>
208
+ <select class="ml-2 bg-slate-700 text-white px-3 py-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
209
+ <option>All Categories</option>
210
+ <option>Furniture</option>
211
+ <option>Decorations</option>
212
+ <option>Characters</option>
213
+ <option>Music</option>
214
+ </select>
215
+ <select class="ml-2 bg-slate-700 text-white px-3 py-2 rounded-lg focus:outline-none focus:ring-2 focus:ring-indigo-500">
216
+ <option>All Rarities</option>
217
+ <option>Common</option>
218
+ <option>Uncommon</option>
219
+ <option>Rare</option>
220
+ <option>Legendary</option>
221
+ </select>
222
+ </div>
223
+
224
+ <div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-4">
225
+ <!-- NFT Item 1 -->
226
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
227
+ <div class="relative">
228
+ <img src="https://i.imgur.com/JQlJD5O.png" alt="LoFi Vinyl Player" class="w-full h-48 object-cover">
229
+ <div class="absolute top-2 right-2 bg-indigo-600 text-white text-xs px-2 py-1 rounded-full">Rare</div>
230
+ </div>
231
+ <div class="p-4">
232
+ <h3 class="font-bold">LoFi Vinyl Player</h3>
233
+ <p class="text-slate-300 text-sm mt-1">Plays smooth jazz beats</p>
234
+ <div class="flex justify-between items-center mt-3">
235
+ <span class="text-indigo-400 font-bold">0.05 ETH</span>
236
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
237
+ </div>
238
+ </div>
239
+ </div>
240
+
241
+ <!-- NFT Item 2 -->
242
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
243
+ <div class="relative">
244
+ <img src="https://i.imgur.com/8zGjV3P.png" alt="Cyber Neon Sign" class="w-full h-48 object-cover">
245
+ <div class="absolute top-2 right-2 bg-purple-600 text-white text-xs px-2 py-1 rounded-full">Legendary</div>
246
+ </div>
247
+ <div class="p-4">
248
+ <h3 class="font-bold">Cyber Neon Sign</h3>
249
+ <p class="text-slate-300 text-sm mt-1">Glows in the dark</p>
250
+ <div class="flex justify-between items-center mt-3">
251
+ <span class="text-indigo-400 font-bold">0.2 ETH</span>
252
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
253
+ </div>
254
+ </div>
255
+ </div>
256
+
257
+ <!-- NFT Item 3 -->
258
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
259
+ <div class="relative">
260
+ <img src="https://i.imgur.com/3qNQZ1x.png" alt="Study Desk" class="w-full h-48 object-cover">
261
+ <div class="absolute top-2 right-2 bg-green-600 text-white text-xs px-2 py-1 rounded-full">Uncommon</div>
262
+ </div>
263
+ <div class="p-4">
264
+ <h3 class="font-bold">Study Desk</h3>
265
+ <p class="text-slate-300 text-sm mt-1">Perfect for focus sessions</p>
266
+ <div class="flex justify-between items-center mt-3">
267
+ <span class="text-indigo-400 font-bold">0.03 ETH</span>
268
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
269
+ </div>
270
+ </div>
271
+ </div>
272
+
273
+ <!-- NFT Item 4 -->
274
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
275
+ <div class="relative">
276
+ <img src="https://i.imgur.com/5tKvJzW.png" alt="Rainy Window" class="w-full h-48 object-cover">
277
+ <div class="absolute top-2 right-2 bg-blue-600 text-white text-xs px-2 py-1 rounded-full">Rare</div>
278
+ </div>
279
+ <div class="p-4">
280
+ <h3 class="font-bold">Rainy Window</h3>
281
+ <p class="text-slate-300 text-sm mt-1">Creates cozy atmosphere</p>
282
+ <div class="flex justify-between items-center mt-3">
283
+ <span class="text-indigo-400 font-bold">0.08 ETH</span>
284
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
285
+ </div>
286
+ </div>
287
+ </div>
288
+
289
+ <!-- NFT Item 5 -->
290
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
291
+ <div class="relative">
292
+ <img src="https://i.imgur.com/7VJk9fL.png" alt="LoFi Cat" class="w-full h-48 object-cover">
293
+ <div class="absolute top-2 right-2 bg-yellow-600 text-white text-xs px-2 py-1 rounded-full">Common</div>
294
+ </div>
295
+ <div class="p-4">
296
+ <h3 class="font-bold">LoFi Cat</h3>
297
+ <p class="text-slate-300 text-sm mt-1">Chill companion</p>
298
+ <div class="flex justify-between items-center mt-3">
299
+ <span class="text-indigo-400 font-bold">0.01 ETH</span>
300
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
301
+ </div>
302
+ </div>
303
+ </div>
304
+
305
+ <!-- NFT Item 6 -->
306
+ <div class="nft-card bg-slate-700 rounded-xl overflow-hidden transition cursor-pointer">
307
+ <div class="relative">
308
+ <img src="https://i.imgur.com/9zH3JqT.png" alt="City Skyline" class="w-full h-48 object-cover">
309
+ <div class="absolute top-2 right-2 bg-purple-600 text-white text-xs px-2 py-1 rounded-full">Legendary</div>
310
+ </div>
311
+ <div class="p-4">
312
+ <h3 class="font-bold">City Skyline</h3>
313
+ <p class="text-slate-300 text-sm mt-1">Dynamic day/night cycle</p>
314
+ <div class="flex justify-between items-center mt-3">
315
+ <span class="text-indigo-400 font-bold">0.25 ETH</span>
316
+ <button class="text-xs bg-indigo-600 hover:bg-indigo-700 px-3 py-1 rounded-full transition">Buy</button>
317
+ </div>
318
+ </div>
319
+ </div>
320
+ </div>
321
+
322
+ <div class="flex justify-center mt-6">
323
+ <button class="bg-indigo-600 hover:bg-indigo-700 px-6 py-2 rounded-full transition">
324
+ Load More
325
+ </button>
326
+ </div>
327
+ </div>
328
+ </div>
329
+
330
+ <!-- Screencast Modal -->
331
+ <div id="castModal" class="fixed inset-0 bg-black bg-opacity-80 flex items-center justify-center z-50 hidden">
332
+ <div class="bg-slate-800 rounded-xl p-6 max-w-md w-full mx-4 window fade-in">
333
+ <div class="flex justify-between items-center mb-6">
334
+ <h2 class="text-2xl font-bold gradient-text">Cast to Screen</h2>
335
+ <button onclick="closeModal('castModal')" class="text-slate-400 hover:text-white">
336
+ <i class="fas fa-times"></i>
337
+ </button>
338
+ </div>
339
+
340
+ <p class="text-slate-300 mb-6">Select a device to cast your Aura environment to:</p>
341
+
342
+ <div class="space-y-3">
343
+ <button class="w-full flex items-center justify-between p-3 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
344
+ <div class="flex items-center">
345
+ <i class="fas fa-tv text-indigo-400 mr-3"></i>
346
+ <span>Living Room TV</span>
347
+ </div>
348
+ <span class="text-xs text-slate-400">AirPlay</span>
349
+ </button>
350
+
351
+ <button class="w-full flex items-center justify-between p-3 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
352
+ <div class="flex items-center">
353
+ <i class="fas fa-chromecast text-indigo-400 mr-3"></i>
354
+ <span>Bedroom Chromecast</span>
355
+ </div>
356
+ <span class="text-xs text-slate-400">Google Cast</span>
357
+ </button>
358
+
359
+ <button class="w-full flex items-center justify-between p-3 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
360
+ <div class="flex items-center">
361
+ <i class="fas fa-tv text-indigo-400 mr-3"></i>
362
+ <span>Office Display</span>
363
+ </div>
364
+ <span class="text-xs text-slate-400">Miracast</span>
365
+ </button>
366
+
367
+ <button class="w-full flex items-center justify-between p-3 bg-slate-700 hover:bg-slate-600 rounded-lg transition">
368
+ <div class="flex items-center">
369
+ <i class="fas fa-network-wired text-indigo-400 mr-3"></i>
370
+ <span>Search for devices...</span>
371
+ </div>
372
+ </button>
373
+ </div>
374
+ </div>
375
+ </div>
376
+
377
+ <!-- Main App Container -->
378
+ <div class="min-h-screen flex flex-col">
379
+ <!-- Header -->
380
+ <header class="bg-slate-900 bg-opacity-80 backdrop-filter backdrop-blur-lg border-b border-slate-700 z-40">
381
+ <div class="container mx-auto px-4 py-3 flex justify-between items-center">
382
+ <div class="flex items-center">
383
+ <div class="gradient-bg w-8 h-8 rounded-lg flex items-center justify-center mr-2">
384
+ <i class="fas fa-headphones text-white"></i>
385
+ </div>
386
+ <h1 class="text-xl font-bold font-space gradient-text">Aura.HQ</h1>
387
+ </div>
388
+
389
+ <div class="flex items-center space-x-4">
390
+ <button id="weatherBtn" class="text-slate-300 hover:text-white transition">
391
+ <i class="fas fa-cloud-sun"></i>
392
+ </button>
393
+ <button id="timeBtn" class="text-slate-300 hover:text-white transition">
394
+ <i class="fas fa-clock"></i>
395
+ </button>
396
+ <button id="castBtn" onclick="openModal('castModal')" class="text-slate-300 hover:text-white transition">
397
+ <i class="fas fa-tv"></i>
398
+ </button>
399
+ <button id="marketBtn" onclick="openModal('marketModal')" class="text-slate-300 hover:text-white transition">
400
+ <i class="fas fa-store"></i>
401
+ </button>
402
+ <button id="aiBtn" onclick="openModal('aiModal')" class="text-slate-300 hover:text-white transition">
403
+ <i class="fas fa-robot"></i>
404
+ </button>
405
+ <button id="connectBtn" onclick="openModal('web3Modal')" class="bg-indigo-600 hover:bg-indigo-700 px-4 py-1 rounded-full text-sm transition pulse">
406
+ Connect Wallet
407
+ </button>
408
+ </div>
409
+ </div>
410
+ </header>
411
+
412
+ <!-- Main Content -->
413
+ <main class="flex-1 flex flex-col md:flex-row">
414
+ <!-- Sidebar -->
415
+ <aside class="w-full md:w-64 bg-slate-800 border-r border-slate-700 p-4 hidden md:block">
416
+ <div class="mb-6">
417
+ <h3 class="text-sm uppercase font-bold text-slate-400 mb-3">My Environments</h3>
418
+ <div class="space-y-2">
419
+ <button class="w-full text-left px-3 py-2 bg-indigo-600 rounded-lg text-sm flex items-center">
420
+ <i class="fas fa-headphones mr-2"></i>
421
+ <span>LoFi Study</span>
422
+ </button>
423
+ <button class="w-full text-left px-3 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg text-sm flex items-center">
424
+ <i class="fas fa-city mr-2"></i>
425
+ <span>Cyberpunk</span>
426
+ </button>
427
+ <button class="w-full text-left px-3 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg text-sm flex items-center">
428
+ <i class="fas fa-leaf mr-2"></i>
429
+ <span>Solarpunk</span>
430
+ </button>
431
+ <button class="w-full text-left px-3 py-2 bg-slate-700 hover:bg-slate-600 rounded-lg text-sm flex items-center">
432
+ <i class="fas fa-plus mr-2"></i>
433
+ <span>Create New</span>
434
+ </button>
435
+ </div>
436
+ </div>
437
+
438
+ <div class="mb-6">
439
+ <h3 class="text-sm uppercase font-bold text-slate-400 mb-3">My Items</h3>
440
+ <div class="grid grid-cols-2 gap-2">
441
+ <div class="bg-slate-700 rounded-lg p-2 flex flex-col items-center cursor-pointer hover:bg-slate-600 transition">
442
+ <img src="https://i.imgur.com/JQlJD5O.png" alt="Vinyl Player" class="w-10 h-10 object-cover rounded">
443
+ <span class="text-xs mt-1 text-center">Vinyl Player</span>
444
+ </div>
445
+ <div class="bg-slate-700 rounded-lg p-2 flex flex-col items-center cursor-pointer hover:bg-slate-600 transition">
446
+ <img src="https://i.imgur.com/5tKvJzW.png" alt="Rainy Window" class="w-10 h-10 object-cover rounded">
447
+ <span class="text-xs mt-1 text-center">Rainy Window</span>
448
+ </div>
449
+ <div class="bg-slate-700 rounded-lg p-2 flex flex-col items-center cursor-pointer hover:bg-slate-600 transition">
450
+ <img src="https://i.imgur.com/7VJk9fL.png" alt="LoFi Cat" class="w-10 h-10 object-cover rounded">
451
+ <span class="text-xs mt-1 text-center">LoFi Cat</span>
452
+ </div>
453
+ <div class="bg-slate-700 rounded-lg p-2 flex flex-col items-center cursor-pointer hover:bg-slate-600 transition">
454
+ <img src="https://i.imgur.com/9zH3JqT.png" alt="City Skyline" class="w-10 h-10 object-cover rounded">
455
+ <span class="text-xs mt-1 text-center">City Skyline</span>
456
+ </div>
457
+ </div>
458
+ </div>
459
+
460
+ <div>
461
+ <h3 class="text-sm uppercase font-bold text-slate-400 mb-3">Music</h3>
462
+ <div class="bg-slate-700 rounded-lg p-3">
463
+ <div class="flex items-center mb-3">
464
+ <img src="https://i.imgur.com/JQlJD5O.png" alt="Album Cover" class="w-12 h-12 rounded">
465
+ <div class="ml-3">
466
+ <h4 class="text-sm font-medium">LoFi Beats</h4>
467
+ <p class="text-xs text-slate-300">Chillhop Essentials</p>
468
+ </div>
469
+ </div>
470
+ <div class="flex justify-between items-center">
471
+ <button class="text-slate-300 hover:text-white">
472
+ <i class="fas fa-backward"></i>
473
+ </button>
474
+ <button class="text-slate-300 hover:text-white">
475
+ <i class="fas fa-pause"></i>
476
+ </button>
477
+ <button class="text-slate-300 hover:text-white">
478
+ <i class="fas fa-forward"></i>
479
+ </button>
480
+ </div>
481
+ <div class="mt-2">
482
+ <div class="h-1 bg-slate-600 rounded-full">
483
+ <div class="h-1 bg-indigo-500 rounded-full w-1/3"></div>
484
+ </div>
485
+ <div class="flex justify-between text-xs text-slate-400 mt-1">
486
+ <span>1:23</span>
487
+ <span>3:45</span>
488
+ </div>
489
+ </div>
490
+ </div>
491
+ </div>
492
+ </aside>
493
+
494
+ <!-- LoFi Scene -->
495
+ <div class="flex-1 relative overflow-hidden">
496
+ <div id="lofiScene" class="lofi-scene w-full h-full relative">
497
+ <!-- Rain Effect (can be toggled) -->
498
+ <div id="rainEffect" class="rain-effect hidden"></div>
499
+
500
+ <!-- Scene Elements -->
501
+ <div class="absolute bottom-0 left-0 right-0 h-1/3 bg-gradient-to-t from-slate-900 to-transparent"></div>
502
+
503
+ <!-- Window with city view -->
504
+ <div class="absolute top-1/4 left-1/4 w-1/2 h-1/3 window rounded-lg">
505
+ <div class="absolute inset-0 flex items-center justify-center">
506
+ <img id="windowView" src="https://i.imgur.com/9zH3JqT.png" alt="City View" class="w-full h-full object-cover opacity-70">
507
+ </div>
508
+ <div class="absolute bottom-0 left-0 right-0 h-8 bg-slate-900 bg-opacity-50 flex items-center px-3">
509
+ <div class="w-3 h-3 rounded-full bg-red-500 mr-2"></div>
510
+ <div class="w-3 h-3 rounded-full bg-yellow-500 mr-2"></div>
511
+ <div class="w-3 h-3 rounded-full bg-green-500"></div>
512
+ </div>
513
+ </div>
514
+
515
+ <!-- Desk with items -->
516
+ <div class="absolute bottom-20 left-0 right-0 flex justify-center">
517
+ <div class="relative">
518
+ <!-- Vinyl Player -->
519
+ <div class="absolute -top-20 left-1/2 transform -translate-x-1/2 w-24 h-24">
520
+ <img src="https://i.imgur.com/JQlJD5O.png" alt="Vinyl Player" class="w-full h-full object-contain">
521
+ <div class="absolute top-1/2 left-1/2 w-16 h-16 bg-slate-800 rounded-full transform -translate-x-1/2 -translate-y-1/2 flex items-center justify-center">
522
+ <div class="w-4 h-4 bg-indigo-500 rounded-full"></div>
523
+ </div>
524
+ <div class="absolute top-1/2 left-1/2 w-1 h-8 bg-indigo-500 transform origin-bottom -translate-x-1/2 -translate-y-full animate-spin" style="animation-duration: 2s;"></div>
525
+ </div>
526
+
527
+ <!-- Desk -->
528
+ <div class="w-64 h-8 bg-slate-700 rounded-lg"></div>
529
+
530
+ <!-- Cat -->
531
+ <div class="absolute -top-12 left-1/4 w-16 h-16">
532
+ <img src="https://i.imgur.com/7VJk9fL.png" alt="LoFi Cat" class="w-full h-full object-contain">
533
+ <div class="absolute top-0 right-0 w-2 h-2 bg-white rounded-full"></div>
534
+ <div class="absolute top-0 right-0 w-2 h-2 bg-white rounded-full animate-ping" style="animation-duration: 2s;"></div>
535
+ </div>
536
+
537
+ <!-- Plant -->
538
+ <div class="absolute -top-16 right-1/4 w-12 h-16">
539
+ <img src="https://i.imgur.com/3qNQZ1x.png" alt="Plant" class="w-full h-full object-contain">
540
+ </div>
541
+ </div>
542
+ </div>
543
+
544
+ <!-- Floating UI Elements -->
545
+ <div class="absolute top-4 right-4 bg-slate-800 bg-opacity-70 rounded-lg p-3 window">
546
+ <div class="flex items-center">
547
+ <i class="fas fa-cloud-sun text-indigo-400 mr-2"></i>
548
+ <span id="weatherDisplay" class="text-sm">Sunny, 72°F</span>
549
+ </div>
550
+ <div class="flex items-center mt-1">
551
+ <i class="fas fa-clock text-indigo-400 mr-2"></i>
552
+ <span id="timeDisplay" class="text-sm">3:45 PM</span>
553
+ </div>
554
+ </div>
555
+
556
+ <!-- Bottom Controls -->
557
+ <div class="absolute bottom-4 left-0 right-0 flex justify-center">
558
+ <div class="bg-slate-800 bg-opacity-70 rounded-full p-2 flex space-x-2 window">
559
+ <button id="themeBtn" class="w-10 h-10 rounded-full bg-slate-700 hover:bg-slate-600 flex items-center justify-center transition">
560
+ <i class="fas fa-palette text-indigo-400"></i>
561
+ </button>
562
+ <button id="itemsBtn" class="w-10 h-10 rounded-full bg-slate-700 hover:bg-slate-600 flex items-center justify-center transition">
563
+ <i class="fas fa-couch text-indigo-400"></i>
564
+ </button>
565
+ <button id="weatherToggle" class="w-10 h-10 rounded-full bg-slate-700 hover:bg-slate-600 flex items-center justify-center transition">
566
+ <i class="fas fa-cloud-rain text-indigo-400"></i>
567
+ </button>
568
+ <button id="dayNightToggle" class="w-10 h-10 rounded-full bg-slate-700 hover:bg-slate-600 flex items-center justify-center transition">
569
+ <i class="fas fa-moon text-indigo-400"></i>
570
+ </button>
571
+ </div>
572
+ </div>
573
+ </div>
574
+ </div>
575
+ </main>
576
+ </div>
577
+
578
+ <script>
579
+ // Initialize Web3
580
+ let web3;
581
+
582
+ // Modal functions
583
+ function openModal(modalId) {
584
+ document.getElementById(modalId).classList.remove('hidden');
585
+ }
586
+
587
+ function closeModal(modalId) {
588
+ document.getElementById(modalId).classList.add('hidden');
589
+ }
590
+
591
+ // Wallet connection
592
+ async function connectWallet(walletType) {
593
+ const connectBtn = document.getElementById('connectBtn');
594
+
595
+ try {
596
+ if (walletType === 'metamask') {
597
+ if (window.ethereum) {
598
+ web3 = new Web3(window.ethereum);
599
+ await window.ethereum.request({ method: 'eth_requestAccounts' });
600
+ const accounts = await web3.eth.getAccounts();
601
+ connectBtn.innerHTML = `<i class="fas fa-wallet mr-1"></i> ${accounts[0].slice(0, 6)}...${accounts[0].slice(-4)}`;
602
+ connectBtn.classList.remove('pulse');
603
+ closeModal('web3Modal');
604
+
605
+ // Show welcome message in AI chat
606
+ const aiChat = document.getElementById('aiChat');
607
+ const welcomeMsg = document.createElement('div');
608
+ welcomeMsg.className = 'flex items-start';
609
+ welcomeMsg.innerHTML = `
610
+ <div class="bg-slate-700 p-3 rounded-lg max-w-xs">
611
+ <p class="text-sm">Welcome back! Your wallet is connected. Would you like me to suggest some environment customizations based on your NFT collection?</p>
612
+ </div>
613
+ `;
614
+ aiChat.appendChild(welcomeMsg);
615
+ aiChat.scrollTop = aiChat.scrollHeight;
616
+ } else {
617
+ alert('Please install MetaMask to connect!');
618
+ }
619
+ } else {
620
+ // Simulate other wallet connections
621
+ connectBtn.innerHTML = `<i class="fas fa-wallet mr-1"></i> Connected`;
622
+ connectBtn.classList.remove('pulse');
623
+ closeModal('web3Modal');
624
+
625
+ // Show welcome message in AI chat
626
+ const aiChat = document.getElementById('aiChat');
627
+ const welcomeMsg = document.createElement('div');
628
+ welcomeMsg.className = 'flex items-start';
629
+ welcomeMsg.innerHTML = `
630
+ <div class="bg-slate-700 p-3 rounded-lg max-w-xs">
631
+ <p class="text-sm">Welcome to Aura.HQ! Let's customize your perfect digital environment.</p>
632
+ </div>
633
+ `;
634
+ aiChat.appendChild(welcomeMsg);
635
+ aiChat.scrollTop = aiChat.scrollHeight;
636
+ }
637
+ } catch (error) {
638
+ console.error('Error connecting wallet:', error);
639
+ alert('Error connecting wallet. Please try again.');
640
+ }
641
+ }
642
+
643
+ // AI Chat functionality
644
+ function sendAIMessage() {
645
+ const input = document.getElementById('aiInput');
646
+ const message = input.value.trim();
647
+ if (!message) return;
648
+
649
+ const aiChat = document.getElementById('aiChat');
650
+
651
+ // Add user message
652
+ const userMsg = document.createElement('div');
653
+ userMsg.className = 'flex items-start justify-end';
654
+ userMsg.innerHTML = `
655
+ <div class="bg-indigo-600 p-3 rounded-lg max-w-xs">
656
+ <p class="text-sm">${message}</p>
657
+ </div>
658
+ `;
659
+ aiChat.appendChild(userMsg);
660
+
661
+ // Clear input
662
+ input.value = '';
663
+
664
+ // Add typing indicator
665
+ const typingIndicator = document.createElement('div');
666
+ typingIndicator.className = 'flex items-start';
667
+ typingIndicator.innerHTML = `
668
+ <div class="bg-slate-700 p-3 rounded-lg max-w-xs">
669
+ <p class="text-sm typing-indicator"></p>
670
+ </div>
671
+ `;
672
+ aiChat.appendChild(typingIndicator);
673
+ aiChat.scrollTop = aiChat.scrollHeight;
674
+
675
+ // Simulate AI response after delay
676
+ setTimeout(() => {
677
+ // Remove typing indicator
678
+ aiChat.removeChild(typingIndicator);
679
+
680
+ // Add AI response
681
+ const aiResponses = [
682
+ "I can help you change your environment to a cyberpunk theme. Would you like that?",
683
+ "Based on your NFT collection, I suggest adding the rainy window effect for a cozier atmosphere.",
684
+ "I notice you have the LoFi Cat NFT. Would you like to place it in your scene?",
685
+ "You can purchase new items from the Meta Market to customize your space further.",
686
+ "The current time is reflected in your scene. Would you like to adjust the day/night cycle?"
687
+ ];
688
+
689
+ const randomResponse = aiResponses[Math.floor(Math.random() * aiResponses.length)];
690
+
691
+ const aiMsg = document.createElement('div');
692
+ aiMsg.className = 'flex items-start';
693
+ aiMsg.innerHTML = `
694
+ <div class="bg-slate-700 p-3 rounded-lg max-w-xs">
695
+ <p class="text-sm">${randomResponse}</p>
696
+ </div>
697
+ `;
698
+ aiChat.appendChild(aiMsg);
699
+ aiChat.scrollTop = aiChat.scrollHeight;
700
+ }, 1500);
701
+ }
702
+
703
+ // Weather toggle
704
+ document.getElementById('weatherToggle').addEventListener('click', function() {
705
+ const rainEffect = document.getElementById('rainEffect');
706
+ const weatherDisplay = document.getElementById('weatherDisplay');
707
+
708
+ if (rainEffect.classList.contains('hidden')) {
709
+ rainEffect.classList.remove('hidden');
710
+ weatherDisplay.textContent = 'Rainy, 65°F';
711
+
712
+ // Create rain drops
713
+ rainEffect.innerHTML = '';
714
+ for (let i = 0; i < 100; i++) {
715
+ const drop = document.createElement('div');
716
+ drop.className = 'rain-drop';
717
+ drop.style.left = `${Math.random() * 100}%`;
718
+ drop.style.animationDuration = `${0.5 + Math.random() * 0.5}s`;
719
+ drop.style.animationDelay = `${Math.random() * 2}s`;
720
+ rainEffect.appendChild(drop);
721
+ }
722
+ } else {
723
+ rainEffect.classList.add('hidden');
724
+ weatherDisplay.textContent = 'Sunny, 72°F';
725
+ }
726
+ });
727
+
728
+ // Day/Night toggle
729
+ document.getElementById('dayNightToggle').addEventListener('click', function() {
730
+ const scene = document.getElementById('lofiScene');
731
+ const windowView = document.getElementById('windowView');
732
+ const timeDisplay = document.getElementById('timeDisplay');
733
+ const icon = this.querySelector('i');
734
+
735
+ if (icon.classList.contains('fa-moon')) {
736
+ // Switch to night
737
+ icon.classList.remove('fa-moon');
738
+ icon.classList.add('fa-sun');
739
+ scene.style.background = 'linear-gradient(135deg, #0f172a 0%, #020617 100%)';
740
+ windowView.src = 'https://i.imgur.com/9zH3JqT_night.png';
741
+ timeDisplay.textContent = '9:30 PM';
742
+ } else {
743
+ // Switch to day
744
+ icon.classList.remove('fa-sun');
745
+ icon.classList.add('fa-moon');
746
+ scene.style.background = 'linear-gradient(135deg, #1e293b 0%, #0f172a 100%)';
747
+ windowView.src = 'https://i.imgur.com/9zH3JqT.png';
748
+ timeDisplay.textContent = '3:45 PM';
749
+ }
750
+ });
751
+
752
+ // Update time display
753
+ function updateTime() {
754
+ const now = new Date();
755
+ let hours = now.getHours();
756
+ const minutes = now.getMinutes().toString().padStart(2, '0');
757
+ const ampm = hours >= 12 ? 'PM' : 'AM';
758
+ hours = hours % 12;
759
+ hours = hours ? hours : 12; // the hour '0' should be '12'
760
+ document.getElementById('timeDisplay').textContent = `${hours}:${minutes} ${ampm}`;
761
+ }
762
+
763
+ // Initialize
764
+ updateTime();
765
+ setInterval(updateTime, 60000); // Update every minute
766
+
767
+ // Allow pressing Enter in AI input
768
+ document.getElementById('aiInput').addEventListener('keypress', function(e) {
769
+ if (e.key === 'Enter') {
770
+ sendAIMessage();
771
+ }
772
+ });
773
+ </script>
774
+ <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=Demo310/aura-demo" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
775
+ </html>