MrH77 commited on
Commit
a5bb515
·
verified ·
1 Parent(s): 371734f

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +7 -5
  2. index.html +521 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Aure
3
- emoji: 🏢
4
- colorFrom: indigo
5
- colorTo: pink
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: aure
3
+ emoji: 🐳
4
+ colorFrom: pink
5
+ colorTo: gray
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,521 @@
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 - Lifestyle Inspiration</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
+ @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');
11
+
12
+ body {
13
+ font-family: 'Poppins', sans-serif;
14
+ background-color: #fafafa;
15
+ color: #333;
16
+ }
17
+
18
+ .gradient-bg {
19
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
20
+ }
21
+
22
+ .post-image {
23
+ aspect-ratio: 1/1;
24
+ object-fit: cover;
25
+ }
26
+
27
+ .comment-input {
28
+ resize: none;
29
+ scrollbar-width: none;
30
+ }
31
+
32
+ .comment-input::-webkit-scrollbar {
33
+ display: none;
34
+ }
35
+
36
+ .animate-pulse {
37
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
38
+ }
39
+
40
+ @keyframes pulse {
41
+ 0%, 100% {
42
+ opacity: 1;
43
+ }
44
+ 50% {
45
+ opacity: 0.5;
46
+ }
47
+ }
48
+
49
+ .modal {
50
+ transition: opacity 0.3s ease, transform 0.3s ease;
51
+ }
52
+
53
+ .modal-enter {
54
+ opacity: 0;
55
+ transform: translateY(20px);
56
+ }
57
+
58
+ .modal-enter-active {
59
+ opacity: 1;
60
+ transform: translateY(0);
61
+ }
62
+
63
+ .modal-exit {
64
+ opacity: 1;
65
+ transform: translateY(0);
66
+ }
67
+
68
+ .modal-exit-active {
69
+ opacity: 0;
70
+ transform: translateY(20px);
71
+ }
72
+ </style>
73
+ </head>
74
+ <body class="max-w-md mx-auto bg-gray-50 relative overflow-x-hidden">
75
+ <!-- App Header -->
76
+ <header class="sticky top-0 z-10 gradient-bg text-white p-4 shadow-md">
77
+ <div class="flex justify-between items-center">
78
+ <h1 class="text-xl font-bold">Aura</h1>
79
+ <div class="flex space-x-4">
80
+ <button id="search-btn" class="text-white">
81
+ <i class="fas fa-search"></i>
82
+ </button>
83
+ <button id="notifications-btn" class="text-white relative">
84
+ <i class="fas fa-bell"></i>
85
+ <span class="absolute -top-1 -right-1 h-2 w-2 rounded-full bg-red-500"></span>
86
+ </button>
87
+ </div>
88
+ </div>
89
+ </header>
90
+
91
+ <!-- Search Modal -->
92
+ <div id="search-modal" class="fixed inset-0 bg-black bg-opacity-50 z-20 hidden flex items-center justify-center">
93
+ <div class="bg-white rounded-lg p-4 w-11/12 max-w-md">
94
+ <div class="flex items-center mb-4">
95
+ <input type="text" placeholder="Search Aura..." class="flex-1 border border-gray-300 rounded-l-full py-2 px-4 focus:outline-none focus:ring-2 focus:ring-purple-500">
96
+ <button class="bg-purple-500 text-white px-4 py-2 rounded-r-full">
97
+ <i class="fas fa-search"></i>
98
+ </button>
99
+ </div>
100
+ <div class="space-y-2">
101
+ <p class="text-gray-500 font-medium">Recent Searches</p>
102
+ <div class="flex items-center p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
103
+ <div class="w-8 h-8 rounded-full bg-blue-200 mr-2"></div>
104
+ <span>Travel Inspiration</span>
105
+ </div>
106
+ <div class="flex items-center p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
107
+ <div class="w-8 h-8 rounded-full bg-green-200 mr-2"></div>
108
+ <span>Healthy Recipes</span>
109
+ </div>
110
+ <div class="flex items-center p-2 hover:bg-gray-100 rounded-lg cursor-pointer">
111
+ <div class="w-8 h-8 rounded-full bg-yellow-200 mr-2"></div>
112
+ <span>Home Decor</span>
113
+ </div>
114
+ </div>
115
+ <button id="close-search" class="mt-4 text-purple-500 font-medium">Close</button>
116
+ </div>
117
+ </div>
118
+
119
+ <!-- Main Content -->
120
+ <main class="pb-16">
121
+ <!-- Stories -->
122
+ <div class="bg-white p-4 mb-2 overflow-x-auto">
123
+ <div class="flex space-x-4">
124
+ <div class="flex flex-col items-center space-y-1">
125
+ <div class="w-16 h-16 rounded-full gradient-bg flex items-center justify-center text-white">
126
+ <i class="fas fa-plus"></i>
127
+ </div>
128
+ <span class="text-xs">Your Story</span>
129
+ </div>
130
+ <div class="flex flex-col items-center space-y-1">
131
+ <div class="w-16 h-16 rounded-full border-2 border-purple-500 p-0.5">
132
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
133
+ </div>
134
+ <span class="text-xs">Sarah</span>
135
+ </div>
136
+ <div class="flex flex-col items-center space-y-1">
137
+ <div class="w-16 h-16 rounded-full border-2 border-purple-500 p-0.5">
138
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
139
+ </div>
140
+ <span class="text-xs">Mike</span>
141
+ </div>
142
+ <div class="flex flex-col items-center space-y-1">
143
+ <div class="w-16 h-16 rounded-full border-2 border-purple-500 p-0.5">
144
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
145
+ </div>
146
+ <span class="text-xs">Emma</span>
147
+ </div>
148
+ <div class="flex flex-col items-center space-y-1">
149
+ <div class="w-16 h-16 rounded-full border-2 border-purple-500 p-0.5">
150
+ <img src="https://randomuser.me/api/portraits/men/75.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
151
+ </div>
152
+ <span class="text-xs">David</span>
153
+ </div>
154
+ </div>
155
+ </div>
156
+
157
+ <!-- Feed -->
158
+ <div id="feed">
159
+ <!-- Post 1 -->
160
+ <div class="bg-white mb-4 rounded-lg shadow-sm">
161
+ <!-- Post Header -->
162
+ <div class="flex items-center p-3">
163
+ <div class="w-10 h-10 rounded-full border-2 border-purple-500 p-0.5 mr-2">
164
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
165
+ </div>
166
+ <div class="flex-1">
167
+ <p class="font-medium">Sarah Johnson</p>
168
+ <p class="text-xs text-gray-500">2 hours ago</p>
169
+ </div>
170
+ <button class="text-gray-500">
171
+ <i class="fas fa-ellipsis-h"></i>
172
+ </button>
173
+ </div>
174
+
175
+ <!-- Post Image -->
176
+ <div class="relative">
177
+ <img src="https://images.unsplash.com/photo-1493612276216-ee3925520721?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=1064&q=80" alt="Post" class="w-full post-image">
178
+ <button class="absolute top-2 right-2 bg-white bg-opacity-70 rounded-full p-2">
179
+ <i class="fas fa-bookmark text-gray-700"></i>
180
+ </button>
181
+ </div>
182
+
183
+ <!-- Post Actions -->
184
+ <div class="p-3">
185
+ <div class="flex justify-between mb-2">
186
+ <div class="flex space-x-4">
187
+ <button class="text-gray-700 hover:text-red-500 transition-colors">
188
+ <i class="far fa-heart"></i>
189
+ </button>
190
+ <button class="text-gray-700">
191
+ <i class="far fa-comment"></i>
192
+ </button>
193
+ <button class="text-gray-700">
194
+ <i class="far fa-paper-plane"></i>
195
+ </button>
196
+ </div>
197
+ <button class="text-gray-700">
198
+ <i class="far fa-bookmark"></i>
199
+ </button>
200
+ </div>
201
+
202
+ <!-- Likes -->
203
+ <p class="font-medium mb-1">1,243 likes</p>
204
+
205
+ <!-- Caption -->
206
+ <p class="mb-1">
207
+ <span class="font-medium">Sarah Johnson</span>
208
+ Finding beauty in the simple things today. The way the light filters through the trees reminds me to slow down and appreciate the moment. #Mindfulness #NatureLover
209
+ </p>
210
+
211
+ <!-- Comments -->
212
+ <button class="text-gray-500 text-sm mb-1">View all 42 comments</button>
213
+ <div class="flex items-start mb-1">
214
+ <p class="text-sm">
215
+ <span class="font-medium">MikeT</span>
216
+ This is stunning! Where was this taken?
217
+ </p>
218
+ </div>
219
+ <div class="flex items-start">
220
+ <p class="text-sm">
221
+ <span class="font-medium">TravelLover22</span>
222
+ Absolutely breathtaking! 😍
223
+ </p>
224
+ </div>
225
+
226
+ <!-- Add Comment -->
227
+ <div class="flex items-center mt-3 pt-3 border-t border-gray-100">
228
+ <div class="w-8 h-8 rounded-full bg-gray-200 mr-2"></div>
229
+ <input type="text" placeholder="Add a comment..." class="flex-1 text-sm focus:outline-none">
230
+ <button class="text-purple-500 font-medium text-sm">Post</button>
231
+ </div>
232
+ </div>
233
+ </div>
234
+
235
+ <!-- Post 2 -->
236
+ <div class="bg-white mb-4 rounded-lg shadow-sm">
237
+ <!-- Post Header -->
238
+ <div class="flex items-center p-3">
239
+ <div class="w-10 h-10 rounded-full border-2 border-purple-500 p-0.5 mr-2">
240
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
241
+ </div>
242
+ <div class="flex-1">
243
+ <p class="font-medium">Mike Chen</p>
244
+ <p class="text-xs text-gray-500">5 hours ago</p>
245
+ </div>
246
+ <button class="text-gray-500">
247
+ <i class="fas fa-ellipsis-h"></i>
248
+ </button>
249
+ </div>
250
+
251
+ <!-- Post Image -->
252
+ <div class="relative">
253
+ <img src="https://images.unsplash.com/photo-1546069901-ba9599a7e63c?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=880&q=80" alt="Post" class="w-full post-image">
254
+ <button class="absolute top-2 right-2 bg-white bg-opacity-70 rounded-full p-2">
255
+ <i class="fas fa-bookmark text-gray-700"></i>
256
+ </button>
257
+ </div>
258
+
259
+ <!-- Post Actions -->
260
+ <div class="p-3">
261
+ <div class="flex justify-between mb-2">
262
+ <div class="flex space-x-4">
263
+ <button class="text-red-500">
264
+ <i class="fas fa-heart"></i>
265
+ </button>
266
+ <button class="text-gray-700">
267
+ <i class="far fa-comment"></i>
268
+ </button>
269
+ <button class="text-gray-700">
270
+ <i class="far fa-paper-plane"></i>
271
+ </button>
272
+ </div>
273
+ <button class="text-gray-700">
274
+ <i class="far fa-bookmark"></i>
275
+ </button>
276
+ </div>
277
+
278
+ <!-- Likes -->
279
+ <p class="font-medium mb-1">892 likes</p>
280
+
281
+ <!-- Caption -->
282
+ <p class="mb-1">
283
+ <span class="font-medium">Mike Chen</span>
284
+ Healthy eating doesn't have to be boring! This colorful bowl is packed with nutrients and flavor. Recipe in bio if you're interested. #HealthyEating #FoodInspo
285
+ </p>
286
+
287
+ <!-- Comments -->
288
+ <button class="text-gray-500 text-sm mb-1">View all 18 comments</button>
289
+ <div class="flex items-start mb-1">
290
+ <p class="text-sm">
291
+ <span class="font-medium">HealthyLiving</span>
292
+ This looks amazing! Trying this tomorrow.
293
+ </p>
294
+ </div>
295
+
296
+ <!-- Add Comment -->
297
+ <div class="flex items-center mt-3 pt-3 border-t border-gray-100">
298
+ <div class="w-8 h-8 rounded-full bg-gray-200 mr-2"></div>
299
+ <input type="text" placeholder="Add a comment..." class="flex-1 text-sm focus:outline-none">
300
+ <button class="text-purple-500 font-medium text-sm">Post</button>
301
+ </div>
302
+ </div>
303
+ </div>
304
+
305
+ <!-- Post 3 (Video) -->
306
+ <div class="bg-white mb-4 rounded-lg shadow-sm">
307
+ <!-- Post Header -->
308
+ <div class="flex items-center p-3">
309
+ <div class="w-10 h-10 rounded-full border-2 border-purple-500 p-0.5 mr-2">
310
+ <img src="https://randomuser.me/api/portraits/women/68.jpg" alt="Profile" class="w-full h-full rounded-full object-cover">
311
+ </div>
312
+ <div class="flex-1">
313
+ <p class="font-medium">Emma Wilson</p>
314
+ <p class="text-xs text-gray-500">1 day ago</p>
315
+ </div>
316
+ <button class="text-gray-500">
317
+ <i class="fas fa-ellipsis-h"></i>
318
+ </button>
319
+ </div>
320
+
321
+ <!-- Video Post -->
322
+ <div class="relative">
323
+ <div class="w-full bg-black flex items-center justify-center post-image">
324
+ <div class="text-white text-center">
325
+ <i class="fas fa-play text-4xl mb-2"></i>
326
+ <p>Tap to play</p>
327
+ </div>
328
+ </div>
329
+ <div class="absolute bottom-2 left-2 bg-black bg-opacity-50 text-white px-2 py-1 rounded text-xs">
330
+ 0:23
331
+ </div>
332
+ <button class="absolute top-2 right-2 bg-white bg-opacity-70 rounded-full p-2">
333
+ <i class="fas fa-bookmark text-gray-700"></i>
334
+ </button>
335
+ </div>
336
+
337
+ <!-- Post Actions -->
338
+ <div class="p-3">
339
+ <div class="flex justify-between mb-2">
340
+ <div class="flex space-x-4">
341
+ <button class="text-gray-700 hover:text-red-500 transition-colors">
342
+ <i class="far fa-heart"></i>
343
+ </button>
344
+ <button class="text-gray-700">
345
+ <i class="far fa-comment"></i>
346
+ </button>
347
+ <button class="text-gray-700">
348
+ <i class="far fa-paper-plane"></i>
349
+ </button>
350
+ </div>
351
+ <button class="text-gray-700">
352
+ <i class="far fa-bookmark"></i>
353
+ </button>
354
+ </div>
355
+
356
+ <!-- Likes -->
357
+ <p class="font-medium mb-1">2,456 likes</p>
358
+
359
+ <!-- Caption -->
360
+ <p class="mb-1">
361
+ <span class="font-medium">Emma Wilson</span>
362
+ Morning routine that sets me up for success! 5 minutes of stretching, gratitude journaling, and this energizing smoothie. What's your morning ritual? #MorningRoutine #SelfCare
363
+ </p>
364
+
365
+ <!-- Comments -->
366
+ <button class="text-gray-500 text-sm mb-1">View all 87 comments</button>
367
+ <div class="flex items-start mb-1">
368
+ <p class="text-sm">
369
+ <span class="font-medium">WellnessCoach</span>
370
+ Love this! Consistency is key.
371
+ </p>
372
+ </div>
373
+ <div class="flex items-start">
374
+ <p class="text-sm">
375
+ <span class="font-medium">SarahJ</span>
376
+ That smoothie looks delicious! Recipe?
377
+ </p>
378
+ </div>
379
+
380
+ <!-- Add Comment -->
381
+ <div class="flex items-center mt-3 pt-3 border-t border-gray-100">
382
+ <div class="w-8 h-8 rounded-full bg-gray-200 mr-2"></div>
383
+ <input type="text" placeholder="Add a comment..." class="flex-1 text-sm focus:outline-none">
384
+ <button class="text-purple-500 font-medium text-sm">Post</button>
385
+ </div>
386
+ </div>
387
+ </div>
388
+ </div>
389
+ </main>
390
+
391
+ <!-- Bottom Navigation -->
392
+ <nav class="fixed bottom-0 w-full max-w-md bg-white border-t border-gray-200 flex justify-around py-3">
393
+ <button class="text-purple-500">
394
+ <i class="fas fa-home text-xl"></i>
395
+ </button>
396
+ <button class="text-gray-500">
397
+ <i class="fas fa-search text-xl"></i>
398
+ </button>
399
+ <button class="text-gray-500 relative">
400
+ <div class="absolute -top-2 -right-2 bg-purple-500 text-white rounded-full w-5 h-5 flex items-center justify-center text-xs">+</div>
401
+ <i class="far fa-plus-square text-xl"></i>
402
+ </button>
403
+ <button class="text-gray-500">
404
+ <i class="far fa-heart text-xl"></i>
405
+ </button>
406
+ <button class="text-gray-500">
407
+ <div class="w-6 h-6 rounded-full bg-gray-300"></div>
408
+ </button>
409
+ </nav>
410
+
411
+ <!-- Create Post Modal -->
412
+ <div id="create-post-modal" class="fixed inset-0 bg-black bg-opacity-50 z-30 hidden flex items-center justify-center">
413
+ <div class="bg-white rounded-lg w-11/12 max-w-md">
414
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
415
+ <button id="close-create-post" class="text-gray-500">
416
+ <i class="fas fa-times"></i>
417
+ </button>
418
+ <h2 class="font-medium">Create New Post</h2>
419
+ <button class="text-purple-500 font-medium">Share</button>
420
+ </div>
421
+
422
+ <div class="p-4">
423
+ <div class="border-2 border-dashed border-gray-300 rounded-lg p-8 text-center mb-4">
424
+ <i class="fas fa-images text-4xl text-gray-400 mb-2"></i>
425
+ <p class="font-medium">Upload Photos or Videos</p>
426
+ <p class="text-sm text-gray-500">Drag and drop files here or tap to browse</p>
427
+ </div>
428
+
429
+ <div class="mb-4">
430
+ <label class="block text-gray-700 mb-2">Caption</label>
431
+ <textarea placeholder="Share what's inspiring you..." class="w-full border border-gray-300 rounded-lg p-3 h-24 comment-input focus:outline-none focus:ring-2 focus:ring-purple-500"></textarea>
432
+ </div>
433
+
434
+ <div class="mb-4">
435
+ <label class="block text-gray-700 mb-2">Location</label>
436
+ <input type="text" placeholder="Add location" class="w-full border border-gray-300 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-purple-500">
437
+ </div>
438
+
439
+ <div>
440
+ <label class="block text-gray-700 mb-2">Tags</label>
441
+ <input type="text" placeholder="#lifestyle #inspiration" class="w-full border border-gray-300 rounded-lg p-3 focus:outline-none focus:ring-2 focus:ring-purple-500">
442
+ </div>
443
+ </div>
444
+ </div>
445
+ </div>
446
+
447
+ <script>
448
+ // Search Modal Toggle
449
+ const searchBtn = document.getElementById('search-btn');
450
+ const searchModal = document.getElementById('search-modal');
451
+ const closeSearch = document.getElementById('close-search');
452
+
453
+ searchBtn.addEventListener('click', () => {
454
+ searchModal.classList.remove('hidden');
455
+ });
456
+
457
+ closeSearch.addEventListener('click', () => {
458
+ searchModal.classList.add('hidden');
459
+ });
460
+
461
+ // Create Post Modal Toggle
462
+ const createPostBtn = document.querySelector('nav button:nth-child(3)');
463
+ const createPostModal = document.getElementById('create-post-modal');
464
+ const closeCreatePost = document.getElementById('close-create-post');
465
+
466
+ createPostBtn.addEventListener('click', () => {
467
+ createPostModal.classList.remove('hidden');
468
+ });
469
+
470
+ closeCreatePost.addEventListener('click', () => {
471
+ createPostModal.classList.add('hidden');
472
+ });
473
+
474
+ // Like Button Toggle
475
+ const likeButtons = document.querySelectorAll('.far.fa-heart');
476
+ likeButtons.forEach(button => {
477
+ button.addEventListener('click', function() {
478
+ if (this.classList.contains('far')) {
479
+ this.classList.remove('far');
480
+ this.classList.add('fas', 'text-red-500');
481
+ // Animation
482
+ this.classList.add('animate-pulse');
483
+ setTimeout(() => {
484
+ this.classList.remove('animate-pulse');
485
+ }, 1000);
486
+ } else {
487
+ this.classList.remove('fas', 'text-red-500');
488
+ this.classList.add('far');
489
+ }
490
+ });
491
+ });
492
+
493
+ // Comment Expansion
494
+ const viewCommentsButtons = document.querySelectorAll('button.text-gray-500.text-sm');
495
+ viewCommentsButtons.forEach(button => {
496
+ button.addEventListener('click', function() {
497
+ const commentsContainer = this.parentElement;
498
+ const hiddenComments = commentsContainer.querySelectorAll('div.flex.items-start:nth-child(n+4)');
499
+
500
+ hiddenComments.forEach(comment => {
501
+ if (comment.classList.contains('hidden')) {
502
+ comment.classList.remove('hidden');
503
+ this.textContent = 'Show less comments';
504
+ } else {
505
+ comment.classList.add('hidden');
506
+ this.textContent = 'View all comments';
507
+ }
508
+ });
509
+ });
510
+ });
511
+
512
+ // Simulate loading more posts
513
+ window.addEventListener('scroll', () => {
514
+ if ((window.innerHeight + window.scrollY) >= document.body.offsetHeight - 500) {
515
+ // In a real app, you would fetch more posts here
516
+ console.log('Loading more posts...');
517
+ }
518
+ });
519
+ </script>
520
+ <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=MrH77/aure" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
521
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ "Create a mobile app called Aura for sharing lifestyle inspiration. Users should be able to: * Create and manage personal profiles. * Upload photos and short videos with text captions. * View a central feed displaying content from other users. * Like and comment on the shared content. The app should have a clean and visually appealing interface."