everett1997 commited on
Commit
b9eba7e
·
verified ·
1 Parent(s): 46c9871

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +894 -19
index.html CHANGED
@@ -1,19 +1,894 @@
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>FriendSpace Dating - The 2005 Experience</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ * { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Arial', sans-serif; }
10
+ :root {
11
+ --myspace-blue: #3b5998;
12
+ --myspace-dark-blue: #2d4373;
13
+ --myspace-light-blue: #8b9dc3;
14
+ --myspace-gray: #f7f7f7;
15
+ --myspace-border: #dddfe2;
16
+ --myspace-text: #1d2129;
17
+ --myspace-accent: #FF6B9D;
18
+ --myspace-success: #4CAF50;
19
+ --myspace-gradient: linear-gradient(135deg, #3b5998 0%, #FF6B9D 100%);
20
+ }
21
+
22
+ body {
23
+ background: linear-gradient(135deg, #e9ebee 0%, #f0f2f5 100%);
24
+ color: var(--myspace-text);
25
+ line-height: 1.6;
26
+ min-height: 100vh;
27
+ background-attachment: fixed;
28
+ }
29
+
30
+ .container {
31
+ max-width: 1200px;
32
+ margin: 0 auto;
33
+ padding: 0 15px;
34
+ }
35
+
36
+ /* Header */
37
+ header {
38
+ background: var(--myspace-gradient);
39
+ color: white;
40
+ padding: 10px 0;
41
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
42
+ position: sticky;
43
+ top: 0;
44
+ z-index: 1000;
45
+ }
46
+
47
+ .header-top {
48
+ display: flex;
49
+ justify-content: space-between;
50
+ align-items: center;
51
+ }
52
+
53
+ .logo {
54
+ display: flex;
55
+ align-items: center;
56
+ font-size: 28px;
57
+ font-weight: bold;
58
+ text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
59
+ transition: transform 0.3s;
60
+ }
61
+
62
+ .logo:hover {
63
+ transform: scale(1.05);
64
+ }
65
+
66
+ .logo i {
67
+ margin-right: 10px;
68
+ color: var(--myspace-accent);
69
+ animation: pulse 2s infinite;
70
+ }
71
+
72
+ @keyframes pulse {
73
+ 0% { transform: scale(1); }
74
+ 50% { transform: scale(1.1); }
75
+ 100% { transform: scale(1); }
76
+ }
77
+
78
+ .nav-menu {
79
+ display: flex;
80
+ list-style: none;
81
+ }
82
+
83
+ .nav-menu li {
84
+ margin-left: 20px;
85
+ position: relative;
86
+ }
87
+
88
+ .nav-menu a {
89
+ color: white;
90
+ text-decoration: none;
91
+ font-size: 14px;
92
+ transition: color 0.3s;
93
+ padding: 5px 10px;
94
+ border-radius: 4px;
95
+ }
96
+
97
+ .nav-menu a:hover {
98
+ background-color: rgba(255, 255, 255, 0.1);
99
+ color: white;
100
+ }
101
+
102
+ .nav-menu a i {
103
+ margin-right: 5px;
104
+ }
105
+
106
+ .search-bar {
107
+ display: flex;
108
+ margin: 10px 0;
109
+ max-width: 300px;
110
+ }
111
+
112
+ .search-bar input {
113
+ padding: 10px;
114
+ border: none;
115
+ border-radius: 3px 0 0 3px;
116
+ width: 100%;
117
+ font-size: 14px;
118
+ }
119
+
120
+ .search-bar button {
121
+ background: var(--myspace-accent);
122
+ border: none;
123
+ padding: 10px 15px;
124
+ border-radius: 0 3px 3px 0;
125
+ cursor: pointer;
126
+ color: white;
127
+ transition: background 0.3s;
128
+ }
129
+
130
+ .search-bar button:hover {
131
+ background: #ff4d8a;
132
+ }
133
+
134
+ /* Layout */
135
+ .main-content {
136
+ display: grid;
137
+ grid-template-columns: 250px 1fr 300px;
138
+ gap: 20px;
139
+ margin: 20px 0;
140
+ }
141
+
142
+ .sidebar, .center-content, .right-sidebar {
143
+ background-color: white;
144
+ border-radius: 8px;
145
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
146
+ padding: 20px;
147
+ transition: transform 0.3s, box-shadow 0.3s;
148
+ }
149
+
150
+ .sidebar:hover, .center-content:hover, .right-sidebar:hover {
151
+ transform: translateY(-5px);
152
+ box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
153
+ }
154
+
155
+ /* Left Sidebar */
156
+ .profile-card {
157
+ text-align: center;
158
+ margin-bottom: 20px;
159
+ padding-bottom: 20px;
160
+ border-bottom: 1px solid var(--myspace-border);
161
+ }
162
+
163
+ .profile-pic {
164
+ width: 150px;
165
+ height: 150px;
166
+ border-radius: 50%;
167
+ object-fit: cover;
168
+ margin: 0 auto 10px;
169
+ border: 4px solid var(--myspace-blue);
170
+ box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
171
+ transition: transform 0.3s;
172
+ }
173
+
174
+ .profile-pic:hover {
175
+ transform: rotate(5deg);
176
+ }
177
+
178
+ .profile-name {
179
+ font-weight: bold;
180
+ margin-bottom: 5px;
181
+ font-size: 18px;
182
+ }
183
+
184
+ .profile-status {
185
+ color: #666;
186
+ font-size: 12px;
187
+ margin-bottom: 15px;
188
+ font-style: italic;
189
+ }
190
+
191
+ .sidebar-menu {
192
+ list-style: none;
193
+ }
194
+
195
+ .sidebar-menu li {
196
+ margin-bottom: 10px;
197
+ }
198
+
199
+ .sidebar-menu a {
200
+ color: var(--myspace-text);
201
+ text-decoration: none;
202
+ display: flex;
203
+ align-items: center;
204
+ padding: 12px;
205
+ border-radius: 5px;
206
+ transition: all 0.3s;
207
+ background: linear-gradient(to right, transparent 50%, var(--myspace-gray) 50%);
208
+ background-size: 200% 100%;
209
+ background-position: right bottom;
210
+ }
211
+
212
+ .sidebar-menu a:hover {
213
+ background-position: left bottom;
214
+ color: var(--myspace-blue);
215
+ transform: translateX(5px);
216
+ }
217
+
218
+ .sidebar-menu i {
219
+ margin-right: 10px;
220
+ width: 20px;
221
+ text-align: center;
222
+ }
223
+
224
+ /* Feed */
225
+ .content-header {
226
+ border-bottom: 1px solid var(--myspace-border);
227
+ padding-bottom: 10px;
228
+ margin-bottom: 15px;
229
+ display: flex;
230
+ justify-content: space-between;
231
+ align-items: center;
232
+ }
233
+
234
+ .content-title {
235
+ font-size: 22px;
236
+ font-weight: bold;
237
+ background: var(--myspace-gradient);
238
+ -webkit-background-clip: text;
239
+ -webkit-text-fill-color: transparent;
240
+ }
241
+
242
+ .status-update {
243
+ display: flex;
244
+ margin-bottom: 20px;
245
+ padding-bottom: 15px;
246
+ border-bottom: 1px solid var(--myspace-border);
247
+ }
248
+
249
+ .status-input {
250
+ flex: 1;
251
+ padding: 12px;
252
+ border: 1px solid var(--myspace-border);
253
+ border-radius: 5px;
254
+ margin-right: 10px;
255
+ font-size: 14px;
256
+ transition: border 0.3s;
257
+ }
258
+
259
+ .status-input:focus {
260
+ outline: none;
261
+ border-color: var(--myspace-blue);
262
+ box-shadow: 0 0 5px rgba(59, 89, 152, 0.3);
263
+ }
264
+
265
+ .status-button {
266
+ background: var(--myspace-gradient);
267
+ color: white;
268
+ border: none;
269
+ border-radius: 5px;
270
+ padding: 12px 20px;
271
+ cursor: pointer;
272
+ font-weight: bold;
273
+ transition: transform 0.3s, box-shadow 0.3s;
274
+ }
275
+
276
+ .status-button:hover {
277
+ transform: translateY(-2px);
278
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
279
+ }
280
+
281
+ .feed-item {
282
+ margin-bottom: 20px;
283
+ padding-bottom: 15px;
284
+ border-bottom: 1px solid var(--myspace-border);
285
+ transition: transform 0.3s;
286
+ }
287
+
288
+ .feed-item:hover {
289
+ transform: translateX(5px);
290
+ }
291
+
292
+ .feed-header {
293
+ display: flex;
294
+ align-items: center;
295
+ margin-bottom: 10px;
296
+ }
297
+
298
+ .feed-profile-pic {
299
+ width: 50px;
300
+ height: 50px;
301
+ border-radius: 50%;
302
+ object-fit: cover;
303
+ margin-right: 10px;
304
+ border: 2px solid var(--myspace-blue);
305
+ }
306
+
307
+ .feed-user {
308
+ font-weight: bold;
309
+ color: var(--myspace-blue);
310
+ }
311
+
312
+ .feed-time {
313
+ color: #666;
314
+ font-size: 12px;
315
+ margin-left: 10px;
316
+ }
317
+
318
+ .feed-content {
319
+ margin-bottom: 10px;
320
+ padding: 10px;
321
+ background-color: var(--myspace-gray);
322
+ border-radius: 5px;
323
+ line-height: 1.5;
324
+ }
325
+
326
+ .feed-actions {
327
+ display: flex;
328
+ color: #666;
329
+ font-size: 12px;
330
+ }
331
+
332
+ .feed-actions span {
333
+ margin-right: 15px;
334
+ cursor: pointer;
335
+ padding: 5px 10px;
336
+ border-radius: 3px;
337
+ transition: all 0.3s;
338
+ }
339
+
340
+ .feed-actions span:hover {
341
+ background-color: var(--myspace-gray);
342
+ color: var(--myspace-blue);
343
+ }
344
+
345
+ .liked {
346
+ color: var(--myspace-blue) !important;
347
+ font-weight: bold;
348
+ }
349
+
350
+ /* Right Sidebar */
351
+ .section-title {
352
+ font-size: 18px;
353
+ font-weight: bold;
354
+ margin-bottom: 15px;
355
+ border-bottom: 2px solid var(--myspace-blue);
356
+ padding-bottom: 5px;
357
+ color: var(--myspace-dark-blue);
358
+ }
359
+
360
+ .friend-item {
361
+ display: flex;
362
+ align-items: center;
363
+ margin-bottom: 15px;
364
+ padding: 10px;
365
+ border-radius: 5px;
366
+ transition: all 0.3s;
367
+ border: 1px solid transparent;
368
+ }
369
+
370
+ .friend-item:hover {
371
+ background-color: var(--myspace-gray);
372
+ border-color: var(--myspace-border);
373
+ transform: translateX(5px);
374
+ }
375
+
376
+ .friend-pic {
377
+ width: 50px;
378
+ height: 50px;
379
+ border-radius: 50%;
380
+ object-fit: cover;
381
+ margin-right: 10px;
382
+ border: 2px solid var(--myspace-blue);
383
+ }
384
+
385
+ .friend-info {
386
+ flex: 1;
387
+ }
388
+
389
+ .friend-name {
390
+ font-weight: bold;
391
+ font-size: 14px;
392
+ }
393
+
394
+ .friend-status {
395
+ color: #666;
396
+ font-size: 12px;
397
+ }
398
+
399
+ .friend-actions {
400
+ display: flex;
401
+ }
402
+
403
+ .friend-action {
404
+ background: none;
405
+ border: none;
406
+ cursor: pointer;
407
+ margin-left: 5px;
408
+ color: var(--myspace-blue);
409
+ width: 30px;
410
+ height: 30px;
411
+ border-radius: 50%;
412
+ display: flex;
413
+ align-items: center;
414
+ justify-content: center;
415
+ transition: all 0.3s;
416
+ }
417
+
418
+ .friend-action:hover {
419
+ background-color: var(--myspace-blue);
420
+ color: white;
421
+ }
422
+
423
+ .online-indicator {
424
+ width: 10px;
425
+ height: 10px;
426
+ background-color: var(--myspace-success);
427
+ border-radius: 50%;
428
+ margin-right: 10px;
429
+ box-shadow: 0 0 5px var(--myspace-success);
430
+ animation: blink 2s infinite;
431
+ }
432
+
433
+ @keyframes blink {
434
+ 0% { opacity: 1; }
435
+ 50% { opacity: 0.5; }
436
+ 100% { opacity: 1; }
437
+ }
438
+
439
+ /* Footer */
440
+ footer {
441
+ background: var(--myspace-gradient);
442
+ color: white;
443
+ padding: 30px 0;
444
+ margin-top: 30px;
445
+ text-align: center;
446
+ font-size: 14px;
447
+ }
448
+
449
+ .footer-links {
450
+ display: flex;
451
+ justify-content: center;
452
+ list-style: none;
453
+ margin-bottom: 15px;
454
+ flex-wrap: wrap;
455
+ }
456
+
457
+ .footer-links li {
458
+ margin: 0 15px;
459
+ }
460
+
461
+ .footer-links a, .built-with a {
462
+ color: white;
463
+ text-decoration: none;
464
+ transition: color 0.3s;
465
+ padding: 5px 10px;
466
+ border-radius: 3px;
467
+ }
468
+
469
+ .footer-links a:hover, .built-with a:hover {
470
+ background-color: rgba(255, 255, 255, 0.1);
471
+ }
472
+
473
+ .built-with {
474
+ margin-top: 15px;
475
+ font-weight: bold;
476
+ }
477
+
478
+ /* Responsive */
479
+ @media (max-width: 992px) {
480
+ .main-content {
481
+ grid-template-columns: 200px 1fr;
482
+ }
483
+ .right-sidebar {
484
+ display: none;
485
+ }
486
+ }
487
+
488
+ @media (max-width: 768px) {
489
+ .main-content {
490
+ grid-template-columns: 1fr;
491
+ }
492
+ .sidebar {
493
+ display: none;
494
+ }
495
+ .header-top {
496
+ flex-direction: column;
497
+ align-items: flex-start;
498
+ }
499
+ .nav-menu {
500
+ margin-top: 10px;
501
+ flex-wrap: wrap;
502
+ }
503
+ .nav-menu li {
504
+ margin: 5px;
505
+ }
506
+ .search-bar {
507
+ width: 100%;
508
+ margin-top: 10px;
509
+ }
510
+ .search-bar input {
511
+ width: 100%;
512
+ }
513
+ }
514
+
515
+ /* Custom Scrollbar */
516
+ ::-webkit-scrollbar {
517
+ width: 8px;
518
+ }
519
+
520
+ ::-webkit-scrollbar-track {
521
+ background: #f1f1f1;
522
+ }
523
+
524
+ ::-webkit-scrollbar-thumb {
525
+ background: var(--myspace-blue);
526
+ border-radius: 4px;
527
+ }
528
+
529
+ ::-webkit-scrollbar-thumb:hover {
530
+ background: var(--myspace-dark-blue);
531
+ }
532
+
533
+ /* Notification Badge */
534
+ .notification-badge {
535
+ position: absolute;
536
+ top: -5px;
537
+ right: -5px;
538
+ background-color: var(--myspace-accent);
539
+ color: white;
540
+ border-radius: 50%;
541
+ width: 18px;
542
+ height: 18px;
543
+ font-size: 10px;
544
+ display: flex;
545
+ align-items: center;
546
+ justify-content: center;
547
+ }
548
+
549
+ /* Loading Animation */
550
+ .loading {
551
+ display: inline-block;
552
+ width: 20px;
553
+ height: 20px;
554
+ border: 3px solid rgba(255,255,255,.3);
555
+ border-radius: 50%;
556
+ border-top-color: #fff;
557
+ animation: spin 1s ease-in-out infinite;
558
+ }
559
+
560
+ @keyframes spin {
561
+ to { transform: rotate(360deg); }
562
+ }
563
+ </style>
564
+ </head>
565
+ <body>
566
+ <header>
567
+ <div class="container">
568
+ <div class="header-top">
569
+ <div class="logo"><i class="fas fa-heart"></i> FriendSpace Dating</div>
570
+ <ul class="nav-menu">
571
+ <li><a href="#"><i class="fas fa-home"></i> Home</a></li>
572
+ <li><a href="#"><i class="fas fa-user-friends"></i> Browse</a></li>
573
+ <li><a href="#"><i class="fas fa-search"></i> Search</a></li>
574
+ <li>
575
+ <a href="#"><i class="fas fa-envelope"></i> Messages</a>
576
+ <span class="notification-badge">3</span>
577
+ </li>
578
+ <li><a href="#"><i class="fas fa-cog"></i> Settings</a></li>
579
+ </ul>
580
+ </div>
581
+ <div class="search-bar">
582
+ <input type="text" placeholder="Search for friends...">
583
+ <button><i class="fas fa-search"></i></button>
584
+ </div>
585
+ </div>
586
+ </header>
587
+
588
+ <div class="container">
589
+ <div class="main-content">
590
+ <div class="sidebar">
591
+ <div class="profile-card">
592
+ <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=150&q=80" alt="Profile Picture" class="profile-pic">
593
+ <div class="profile-name">John Doe</div>
594
+ <div class="profile-status">"Looking for someone special"</div>
595
+ <button class="status-button">Edit Profile</button>
596
+ </div>
597
+ <ul class="sidebar-menu">
598
+ <li><a href="#"><i class="fas fa-user"></i> My Profile</a></li>
599
+ <li><a href="#"><i class="fas fa-images"></i> My Photos</a></li>
600
+ <li><a href="#"><i class="fas fa-calendar-alt"></i> My Events</a></li>
601
+ <li><a href="#"><i class="fas fa-users"></i> My Friends</a></li>
602
+ <li><a href="#"><i class="fas fa-heart"></i> Matches</a></li>
603
+ <li><a href="#"><i class="fas fa-star"></i> Favorites</a></li>
604
+ </ul>
605
+ </div>
606
+
607
+ <div class="center-content">
608
+ <div class="content-header">
609
+ <div class="content-title">News Feed</div>
610
+ <div class="content-actions"><button class="status-button">Post Update</button></div>
611
+ </div>
612
+
613
+ <div class="status-update">
614
+ <input type="text" class="status-input" placeholder="What's on your mind?">
615
+ <button class="status-button">Post</button>
616
+ </div>
617
+
618
+ <div class="feed">
619
+ <div class="feed-item">
620
+ <div class="feed-header">
621
+ <img src="https://images.unsplash.com/photo-1494790108755-2616b612b786?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="feed-profile-pic">
622
+ <div class="feed-user">Sarah Johnson</div>
623
+ <div class="feed-time">2 hours ago</div>
624
+ </div>
625
+ <div class="feed-content">Just had an amazing date with someone I met here! Thanks FriendSpace! ❤️ We went to that new Italian restaurant downtown. The food was incredible and the conversation was even better!</div>
626
+ <div class="feed-actions">
627
+ <span><i class="fas fa-thumbs-up"></i> Like</span>
628
+ <span><i class="fas fa-comment"></i> Comment</span>
629
+ <span><i class="fas fa-share"></i> Share</span>
630
+ </div>
631
+ </div>
632
+ <div class="feed-item">
633
+ <div class="feed-header">
634
+ <img src="https://images.unsplash.com/photo-1500648767791-00dcc994a43e?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="feed-profile-pic">
635
+ <div class="feed-user">Mike Thompson</div>
636
+ <div class="feed-time">5 hours ago</div>
637
+ </div>
638
+ <div class="feed-content">Looking for someone to go to the concert with this weekend. Anyone interested? It's the new indie band everyone's talking about. I have an extra ticket!</div>
639
+ <div class="feed-actions">
640
+ <span><i class="fas fa-thumbs-up"></i> Like</span>
641
+ <span><i class="fas fa-comment"></i> Comment</span>
642
+ <span><i class="fas fa-share"></i> Share</span>
643
+ </div>
644
+ </div>
645
+ <div class="feed-item">
646
+ <div class="feed-header">
647
+ <img src="https://images.unsplash.com/photo-1438761681033-6461ffad8d80?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="feed-profile-pic">
648
+ <div class="feed-user">Emily Davis</div>
649
+ <div class="feed-time">1 day ago</div>
650
+ </div>
651
+ <div class="feed-content">Just joined FriendSpace and already loving the community! Can't wait to meet new people and see where this journey takes me. Any tips for a newbie?</div>
652
+ <div class="feed-actions">
653
+ <span><i class="fas fa-thumbs-up"></i> Like</span>
654
+ <span><i class="fas fa-comment"></i> Comment</span>
655
+ <span><i class="fas fa-share"></i> Share</span>
656
+ </div>
657
+ </div>
658
+ </div>
659
+ </div>
660
+
661
+ <div class="right-sidebar">
662
+ <div class="friend-requests">
663
+ <div class="section-title">Friend Requests <span class="notification-badge">2</span></div>
664
+ <div class="friend-item">
665
+ <img src="https://images.unsplash.com/photo-1544005313-94ddf0286df2?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
666
+ <div class="friend-info">
667
+ <div class="friend-name">Emily Davis</div>
668
+ <div class="friend-status">Mutual Friends: 3</div>
669
+ </div>
670
+ <div class="friend-actions">
671
+ <button class="friend-action"><i class="fas fa-check"></i></button>
672
+ <button class="friend-action"><i class="fas fa-times"></i></button>
673
+ </div>
674
+ </div>
675
+ <div class="friend-item">
676
+ <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
677
+ <div class="friend-info">
678
+ <div class="friend-name">Alex Rodriguez</div>
679
+ <div class="friend-status">Mutual Friends: 5</div>
680
+ </div>
681
+ <div class="friend-actions">
682
+ <button class="friend-action"><i class="fas fa-check"></i></button>
683
+ <button class="friend-action"><i class="fas fa-times"></i></button>
684
+ </div>
685
+ </div>
686
+ </div>
687
+ <div class="online-friends">
688
+ <div class="section-title">Online Now</div>
689
+ <div class="friend-item">
690
+ <span class="online-indicator"></span>
691
+ <img src="https://images.unsplash.com/photo-1534751516642-a1af1ef26a56?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
692
+ <div class="friend-info">
693
+ <div class="friend-name">Jessica Miller</div>
694
+ <div class="friend-status">Active now</div>
695
+ </div>
696
+ </div>
697
+ <div class="friend-item">
698
+ <span class="online-indicator"></span>
699
+ <img src="https://images.unsplash.com/photo-1517841905240-472988babdf9?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
700
+ <div class="friend-info">
701
+ <div class="friend-name">Sophia Williams</div>
702
+ <div class="friend-status">Online</div>
703
+ </div>
704
+ </div>
705
+ </div>
706
+ <div class="suggested-friends">
707
+ <div class="section-title">Suggested Friends</div>
708
+ <div class="friend-item">
709
+ <img src="https://images.unsplash.com/photo-1519244703995-f4e0f30006d5?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
710
+ <div class="friend-info">
711
+ <div class="friend-name">Ryan Cooper</div>
712
+ <div class="friend-status">5 mutual interests</div>
713
+ </div>
714
+ </div>
715
+ <div class="friend-item">
716
+ <img src="https://images.unsplash.com/photo-1488426862026-3ee34a7d66df?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="friend-pic">
717
+ <div class="friend-info">
718
+ <div class="friend-name">Lisa Chen</div>
719
+ <div class="friend-status">Lives nearby</div>
720
+ </div>
721
+ </div>
722
+ </div>
723
+ </div>
724
+ </div>
725
+ </div>
726
+
727
+ <footer>
728
+ <div class="container">
729
+ <ul class="footer-links">
730
+ <li><a href="#">About</a></li>
731
+ <li><a href="#">Privacy</a></li>
732
+ <li><a href="#">Terms</a></li>
733
+ <li><a href="#">Safety</a></li>
734
+ <li><a href="#">Help</a></li>
735
+ <li><a href="#">Contact</a></li>
736
+ </ul>
737
+ <div>FriendSpace Dating © 2005 - Relive the nostalgia!</div>
738
+ <div class="built-with"><a href="https://huggingface.co/spaces/akhaliq/anycoder">Built with anycoder</a></div>
739
+ </div>
740
+ </footer>
741
+
742
+ <script>
743
+ document.addEventListener('DOMContentLoaded', function() {
744
+ const statusInput = document.querySelector('.status-input');
745
+ const statusButton = document.querySelector('.status-update .status-button');
746
+
747
+ // Add notification badges animation
748
+ const badges = document.querySelectorAll('.notification-badge');
749
+ badges.forEach(badge => {
750
+ badge.addEventListener('click', function() {
751
+ this.style.transform = 'scale(1.2)';
752
+ setTimeout(() => {
753
+ this.style.transform = 'scale(1)';
754
+ }, 300);
755
+ });
756
+ });
757
+
758
+ // Function to add event listeners to a feed item's actions (like)
759
+ function addFeedActionsListeners(postElement) {
760
+ const likeSpan = postElement.querySelector('.feed-actions span:nth-child(1)');
761
+ const commentSpan = postElement.querySelector('.feed-actions span:nth-child(2)');
762
+ const shareSpan = postElement.querySelector('.feed-actions span:nth-child(3)');
763
+
764
+ if (likeSpan) {
765
+ likeSpan.addEventListener('click', function() {
766
+ this.classList.toggle('liked');
767
+ if (this.classList.contains('liked')) {
768
+ this.innerHTML = '<i class="fas fa-thumbs-up"></i> Liked';
769
+ this.style.color = 'var(--myspace-blue)';
770
+ } else {
771
+ this.innerHTML = '<i class="fas fa-thumbs-up"></i> Like';
772
+ this.style.color = '#666';
773
+ }
774
+ });
775
+ }
776
+
777
+ if (commentSpan) {
778
+ commentSpan.addEventListener('click', function() {
779
+ alert('Comment feature coming soon!');
780
+ });
781
+ }
782
+
783
+ if (shareSpan) {
784
+ shareSpan.addEventListener('click', function() {
785
+ alert('Share feature coming soon!');
786
+ });
787
+ }
788
+ }
789
+
790
+ // Add listeners to existing feed items on load
791
+ document.querySelectorAll('.feed-item').forEach(addFeedActionsListeners);
792
+
793
+ // Post new status
794
+ statusButton.addEventListener('click', function() {
795
+ if (statusInput.value.trim() !== '') {
796
+ // Show loading state
797
+ const originalText = statusButton.innerHTML;
798
+ statusButton.innerHTML = '<div class="loading"></div>';
799
+ statusButton.disabled = true;
800
+
801
+ setTimeout(() => {
802
+ const feed = document.querySelector('.feed');
803
+ const newPost = document.createElement('div');
804
+ newPost.className = 'feed-item';
805
+ const now = new Date();
806
+ const timeString = `${now.getHours()}:${now.getMinutes().toString().padStart(2, '0')}`;
807
+
808
+ newPost.innerHTML = `
809
+ <div class="feed-header">
810
+ <img src="https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?ixlib=rb-1.2.1&auto=format&fit=crop&w=50&q=80" alt="User" class="feed-profile-pic">
811
+ <div class="feed-user">John Doe</div>
812
+ <div class="feed-time">Just now (${timeString})</div>
813
+ </div>
814
+ <div class="feed-content">${statusInput.value.replace(/</g, "&lt;").replace(/>/g, "&gt;")}</div>
815
+ <div class="feed-actions">
816
+ <span><i class="fas fa-thumbs-up"></i> Like</span>
817
+ <span><i class="fas fa-comment"></i> Comment</span>
818
+ <span><i class="fas fa-share"></i> Share</span>
819
+ </div>`;
820
+
821
+ feed.insertBefore(newPost, feed.firstChild);
822
+ statusInput.value = '';
823
+
824
+ // Restore button state
825
+ statusButton.innerHTML = originalText;
826
+ statusButton.disabled = false;
827
+
828
+ // Add hover animation
829
+ newPost.style.opacity = '0';
830
+ setTimeout(() => {
831
+ newPost.style.transition = 'opacity 0.5s';
832
+ newPost.style.opacity = '1';
833
+ }, 10);
834
+
835
+ addFeedActionsListeners(newPost);
836
+ }, 800);
837
+ }
838
+ });
839
+
840
+ // Allow posting with Enter key
841
+ statusInput.addEventListener('keypress', function(e) {
842
+ if (e.key === 'Enter') {
843
+ statusButton.click();
844
+ }
845
+ });
846
+
847
+ // Friend Request Buttons
848
+ document.querySelectorAll('.friend-actions .friend-action').forEach(button => {
849
+ button.addEventListener('click', function() {
850
+ const friendItem = this.closest('.friend-item');
851
+ const isAccept = this.querySelector('.fa-check');
852
+
853
+ if (isAccept) {
854
+ friendItem.style.backgroundColor = 'rgba(76, 175, 80, 0.1)';
855
+ setTimeout(() => {
856
+ friendItem.remove();
857
+ updateFriendRequestCount();
858
+ }, 1000);
859
+ } else {
860
+ friendItem.style.backgroundColor = 'rgba(244, 67, 54, 0.1)';
861
+ setTimeout(() => {
862
+ friendItem.remove();
863
+ updateFriendRequestCount();
864
+ }, 1000);
865
+ }
866
+ });
867
+ });
868
+
869
+ function updateFriendRequestCount() {
870
+ const badge = document.querySelector('.friend-requests .notification-badge');
871
+ const currentCount = parseInt(badge.textContent);
872
+ if (currentCount > 1) {
873
+ badge.textContent = currentCount - 1;
874
+ } else {
875
+ badge.remove();
876
+ }
877
+ }
878
+
879
+ // Profile picture hover effect
880
+ const profilePics = document.querySelectorAll('.profile-pic, .feed-profile-pic, .friend-pic');
881
+ profilePics.forEach(pic => {
882
+ pic.addEventListener('mouseenter', function() {
883
+ this.style.transform = 'scale(1.1)';
884
+ this.style.transition = 'transform 0.3s';
885
+ });
886
+
887
+ pic.addEventListener('mouseleave', function() {
888
+ this.style.transform = 'scale(1)';
889
+ });
890
+ });
891
+ });
892
+ </script>
893
+ </body>
894
+ </html>