everett1997 commited on
Commit
fa77479
·
verified ·
1 Parent(s): 7dd5f2f

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. index.html +1064 -429
index.html CHANGED
@@ -1,454 +1,1089 @@
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>MySpace 2006</title>
7
- <style>
8
- /* Reset and base styles */
9
- * {
10
- margin: 0;
11
- padding: 0;
12
- box-sizing: border-box;
13
- font-family: Arial, sans-serif;
14
- }
15
-
16
- body {
17
- background-color: #f0f0f0;
18
- color: #333;
19
- font-size: 14px;
20
- line-height: 1.5;
21
- }
22
-
23
- /* Header styles */
24
- header {
25
- background-color: #3b5998;
26
- color: white;
27
- padding: 10px 15px;
28
- display: flex;
29
- justify-content: space-between;
30
- align-items: center;
31
- position: fixed;
32
- top: 0;
33
- width: 100%;
34
- z-index: 1000;
35
- box-shadow: 0 2px 5px rgba(0,0,0,0.2);
36
- }
37
-
38
- .logo {
39
- font-size: 24px;
40
- font-weight: bold;
41
- text-decoration: none;
42
- color: white;
43
- }
44
-
45
- .nav-links {
46
- display: flex;
47
- gap: 15px;
48
- }
49
-
50
- .nav-links a {
51
- color: white;
52
- text-decoration: none;
53
- font-size: 12px;
54
- }
55
-
56
- /* Main content */
57
- .container {
58
- margin-top: 60px;
59
- padding: 15px;
60
- display: flex;
61
- flex-direction: column;
62
- gap: 15px;
63
- }
64
-
65
- /* Profile section */
66
- .profile {
67
- background-color: white;
68
- border: 1px solid #ddd;
69
- border-radius: 5px;
70
- padding: 15px;
71
- box-shadow: 0 1px 3px rgba(0,0,0,0.1);
72
- }
73
-
74
- .profile-header {
75
- display: flex;
76
- align-items: center;
77
- margin-bottom: 15px;
78
- border-bottom: 1px solid #eee;
79
- padding-bottom: 15px;
80
- }
81
-
82
- .profile-pic {
83
- width: 100px;
84
- height: 100px;
85
- border-radius: 5px;
86
- margin-right: 15px;
87
- object-fit: cover;
88
- border: 1px solid #ddd;
89
- }
90
-
91
- .profile-info h2 {
92
- color: #3b5998;
93
- margin-bottom: 5px;
94
- }
95
-
96
- .profile-info p {
97
- color: #666;
98
- font-size: 12px;
99
- }
100
-
101
- /* Profile sections */
102
- .profile-section {
103
- margin-bottom: 20px;
104
- }
105
-
106
- .profile-section h3 {
107
- background-color: #f0f0f0;
108
- padding: 5px 10px;
109
- border-bottom: 1px solid #ddd;
110
- color: #333;
111
- font-size: 14px;
112
- margin-bottom: 10px;
113
- }
114
-
115
- /* Friends section */
116
- .friends-grid {
117
- display: grid;
118
- grid-template-columns: repeat(3, 1fr);
119
- gap: 10px;
120
- }
121
-
122
- .friend {
123
- text-align: center;
124
- }
125
-
126
- .friend img {
127
- width: 60px;
128
- height: 60px;
129
- border-radius: 5px;
130
- border: 1px solid #ddd;
131
- object-fit: cover;
132
- }
133
-
134
- .friend p {
135
- font-size: 11px;
136
- margin-top: 5px;
137
- }
138
-
139
- /* Comments section */
140
- .comment {
141
- display: flex;
142
- margin-bottom: 15px;
143
- padding-bottom: 15px;
144
- border-bottom: 1px solid #eee;
145
- }
146
-
147
- .comment:last-child {
148
- border-bottom: none;
149
- }
150
-
151
- .comment-pic {
152
- width: 50px;
153
- height: 50px;
154
- border-radius: 5px;
155
- margin-right: 10px;
156
- object-fit: cover;
157
- border: 1px solid #ddd;
158
- }
159
-
160
- .comment-content {
161
- flex: 1;
162
- }
163
-
164
- .comment-header {
165
- display: flex;
166
- justify-content: space-between;
167
- margin-bottom: 5px;
168
- }
169
-
170
- .comment-author {
171
- font-weight: bold;
172
- color: #3b5998;
173
- }
174
-
175
- .comment-date {
176
- color: #999;
177
- font-size: 11px;
178
- }
179
-
180
- /* Navigation */
181
- .main-nav {
182
- display: flex;
183
- justify-content: space-around;
184
- background-color: #3b5998;
185
- padding: 10px 0;
186
- position: fixed;
187
- bottom: 0;
188
- width: 100%;
189
- }
190
-
191
- .nav-item {
192
- display: flex;
193
- flex-direction: column;
194
- align-items: center;
195
- color: white;
196
- text-decoration: none;
197
- font-size: 12px;
198
- }
199
-
200
- .nav-icon {
201
- font-size: 20px;
202
- margin-bottom: 3px;
203
- }
204
-
205
- /* Custom profile styles - mimicking MySpace customization */
206
- .profile-custom {
207
- background-color: #f9f9f9;
208
- border: 1px solid #e1e1e1;
209
- padding: 10px;
210
- margin-bottom: 15px;
211
- }
212
-
213
- .profile-custom h4 {
214
- color: #ff6600;
215
- margin-bottom: 10px;
216
- font-size: 16px;
217
- }
218
-
219
- /* Blingee style elements */
220
- .blingee {
221
- position: relative;
222
- display: inline-block;
223
- margin: 5px;
224
- }
225
-
226
- .blingee img {
227
- border: 3px solid pink;
228
- border-radius: 10px;
229
- padding: 5px;
230
- background-color: #fff;
231
- }
232
-
233
- /* Status update */
234
- .status-update {
235
- background-color: #f0f0f0;
236
- padding: 10px;
237
- border-radius: 5px;
238
- margin-bottom: 15px;
239
- }
240
-
241
- .status-update textarea {
242
- width: 100%;
243
- height: 60px;
244
- border: 1px solid #ddd;
245
- border-radius: 3px;
246
- padding: 5px;
247
- resize: none;
248
- margin-bottom: 5px;
249
- }
250
-
251
- .status-update button {
252
- background-color: #3b5998;
253
- color: white;
254
- border: none;
255
- padding: 5px 10px;
256
- border-radius: 3px;
257
- font-size: 12px;
258
- }
259
-
260
- /* Responsive adjustments */
261
- @media (min-width: 600px) {
262
- .container {
263
- max-width: 600px;
264
- margin-left: auto;
265
- margin-right: auto;
266
- }
267
-
268
- .friends-grid {
269
- grid-template-columns: repeat(4, 1fr);
270
- }
271
- }
272
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  </head>
 
274
  <body>
275
- <header>
276
- <a href="#" class="logo">MySpace</a>
277
- <div class="nav-links">
278
- <a href="#">Home</a>
279
- <a href="#">Browse</a>
280
- <a href="#">Search</a>
281
- <a href="#">Invite</a>
282
- <a href="#">Mail</a>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
  </div>
284
- </header>
285
-
286
- <div class="container">
287
- <div class="profile">
288
- <div class="profile-header">
289
- <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Profile Picture" class="profile-pic">
290
- <div class="profile-info">
291
- <h2>Tom from MySpace</h2>
292
- <p>Male, 30 years old</p>
293
- <p>Los Angeles, California</p>
294
- <p>Last Login: 5/15/2006</p>
295
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
  </div>
297
-
298
- <div class="status-update">
299
- <textarea placeholder="What's on your mind?"></textarea>
300
- <button>Update Status</button>
 
 
 
 
 
 
301
  </div>
302
-
303
- <div class="profile-section">
304
- <h3>About Me</h3>
305
- <p>Hey! I'm Tom, the original MySpace friend. I love connecting with people and helping them build their online presence. When I'm not working on MySpace, you can find me surfing in Malibu or playing guitar.</p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
306
  </div>
307
-
308
- <div class="profile-custom">
309
- <h4>Who I'd like to meet:</h4>
310
- <p>I'd like to meet anyone who's passionate about music, technology, or just wants to make new friends online!</p>
311
  </div>
312
-
313
- <div class="profile-section">
314
- <h3>My Interests</h3>
315
- <p><strong>General:</strong> Music, Technology, Internet, Surfing</p>
316
- <p><strong>Music:</strong> The Beatles, Green Day, Blink-182, Weezer</p>
317
- <p><strong>Movies:</strong> The Matrix, Star Wars, Fight Club</p>
318
  </div>
319
-
320
- <div class="profile-section">
321
- <h3>My Blingee</h3>
322
- <div class="blingee">
323
- <img src="https://i.imgur.com/5XvjJzW.png" alt="Blingee" width="100">
324
- </div>
 
 
 
 
 
325
  </div>
326
-
327
- <div class="profile-section">
328
- <h3>Friends (1,234,567)</h3>
329
- <div class="friends-grid">
330
- <div class="friend">
331
- <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Friend">
332
- <p>Tom</p>
333
- </div>
334
- <div class="friend">
335
- <img src="https://i.imgur.com/5XvjJzW.png" alt="Friend">
336
- <p>Sarah</p>
337
- </div>
338
- <div class="friend">
339
- <img src="https://i.imgur.com/7n7mQ6a.jpg" alt="Friend">
340
- <p>Mike</p>
341
- </div>
342
- <div class="friend">
343
- <img src="https://i.imgur.com/8kZf3Qa.jpg" alt="Friend">
344
- <p>Jessica</p>
345
- </div>
346
- <div class="friend">
347
- <img src="https://i.imgur.com/9aZ2b3c.jpg" alt="Friend">
348
- <p>Chris</p>
349
- </div>
350
- <div class="friend">
351
- <img src="https://i.imgur.com/1bX3q4d.jpg" alt="Friend">
352
- <p>Amanda</p>
353
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
354
  </div>
 
 
 
 
 
 
 
355
  </div>
356
-
357
- <div class="profile-section">
358
- <h3>Comments (42)</h3>
359
- <div class="comment">
360
- <img src="https://i.imgur.com/5XvjJzW.png" alt="Commenter" class="comment-pic">
361
- <div class="comment-content">
362
- <div class="comment-header">
363
- <span class="comment-author">Sarah</span>
364
- <span class="comment-date">5/14/2006 3:45 PM</span>
365
- </div>
366
- <p>Hey Tom! Just wanted to say thanks for being my first friend on MySpace. This site is awesome!</p>
367
- </div>
368
  </div>
369
- <div class="comment">
370
- <img src="https://i.imgur.com/7n7mQ6a.jpg" alt="Commenter" class="comment-pic">
371
- <div class="comment-content">
372
- <div class="comment-header">
373
- <span class="comment-author">Mike</span>
374
- <span class="comment-date">5/13/2006 9:12 AM</span>
375
- </div>
376
- <p>Dude, your profile is sick! How did you get that background? HTML is so confusing lol</p>
377
- </div>
378
  </div>
379
- <div class="comment">
380
- <img src="https://i.imgur.com/8kZf3Qa.jpg" alt="Commenter" class="comment-pic">
381
- <div class="comment-content">
382
- <div class="comment-header">
383
- <span class="comment-author">Jessica</span>
384
- <span class="comment-date">5/12/2006 7:30 PM</span>
385
- </div>
386
- <p>OMG I can't believe I'm friends with THE Tom from MySpace! *fangirl scream*</p>
387
- </div>
388
  </div>
 
 
 
 
 
 
 
389
  </div>
 
 
 
 
 
390
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
391
  </div>
392
-
393
- <nav class="main-nav">
394
- <a href="#" class="nav-item">
395
- <span class="nav-icon">🏠</span>
396
- <span>Home</span>
397
- </a>
398
- <a href="#" class="nav-item">
399
- <span class="nav-icon">👥</span>
400
- <span>Friends</span>
401
- </a>
402
- <a href="#" class="nav-item">
403
- <span class="nav-icon">✉️</span>
404
- <span>Mail</span>
405
- </a>
406
- <a href="#" class="nav-item">
407
- <span class="nav-icon">🔍</span>
408
- <span>Search</span>
409
- </a>
410
- <a href="#" class="nav-item">
411
- <span class="nav-icon">⚙️</span>
412
- <span>Settings</span>
413
- </a>
414
- </nav>
415
-
416
- <script>
417
- // Simple JavaScript for MySpace functionality
418
- document.addEventListener('DOMContentLoaded', function() {
419
- // Status update functionality
420
- const statusUpdateBtn = document.querySelector('.status-update button');
421
- if (statusUpdateBtn) {
422
- statusUpdateBtn.addEventListener('click', function() {
423
- const statusTextarea = document.querySelector('.status-update textarea');
424
- if (statusTextarea.value.trim() !== '') {
425
- alert('Status updated: ' + statusTextarea.value);
426
- statusTextarea.value = '';
427
- }
428
- });
429
- }
430
 
431
- // Navigation active state
432
- const navItems = document.querySelectorAll('.nav-item');
433
- navItems.forEach(item => {
434
- item.addEventListener('click', function(e) {
435
- e.preventDefault();
436
- navItems.forEach(i => i.style.opacity = '0.7');
437
- this.style.opacity = '1';
438
- // In a real app, this would load different content
439
- alert('Navigating to: ' + this.querySelector('span:last-child').textContent);
440
- });
441
- });
442
 
443
- // Friend click handler
444
- const friends = document.querySelectorAll('.friend');
445
- friends.forEach(friend => {
446
- friend.addEventListener('click', function() {
447
- const friendName = this.querySelector('p').textContent;
448
- alert('Viewing ' + friendName + "'s profile");
449
- });
450
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
451
  });
452
- </script>
 
 
453
  </body>
454
  </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>MySpace 2006 | Native Website</title>
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
8
+ <style>
9
+ :root {
10
+ --myspace-blue: #3b5998;
11
+ --myspace-dark-blue: #2d4373;
12
+ --myspace-light-blue: #dfe3ee;
13
+ --myspace-orange: #ff6600;
14
+ --myspace-pink: #ff99cc;
15
+ --text-dark: #333333;
16
+ --text-light: #f0f0f0;
17
+ --border-radius: 8px;
18
+ --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
19
+ --transition: all 0.3s ease;
20
+ }
21
+
22
+ * {
23
+ margin: 0;
24
+ padding: 0;
25
+ box-sizing: border-box;
26
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
27
+ }
28
+
29
+ body {
30
+ background-color: #f5f5f5;
31
+ color: var(--text-dark);
32
+ font-size: 16px;
33
+ line-height: 1.6;
34
+ min-height: 100vh;
35
+ display: flex;
36
+ flex-direction: column;
37
+ }
38
+
39
+ /* Header styles */
40
+ header {
41
+ background: linear-gradient(135deg, var(--myspace-blue), var(--myspace-dark-blue));
42
+ color: white;
43
+ padding: 12px 20px;
44
+ display: flex;
45
+ justify-content: space-between;
46
+ align-items: center;
47
+ position: sticky;
48
+ top: 0;
49
+ width: 100%;
50
+ z-index: 1000;
51
+ box-shadow: var(--box-shadow);
52
+ }
53
+
54
+ .logo {
55
+ font-size: 28px;
56
+ font-weight: 800;
57
+ text-decoration: none;
58
+ color: white;
59
+ display: flex;
60
+ align-items: center;
61
+ gap: 8px;
62
+ }
63
+
64
+ .logo i {
65
+ font-size: 24px;
66
+ }
67
+
68
+ .nav-links {
69
+ display: flex;
70
+ gap: 20px;
71
+ }
72
+
73
+ .nav-links a {
74
+ color: white;
75
+ text-decoration: none;
76
+ font-size: 14px;
77
+ font-weight: 500;
78
+ padding: 6px 12px;
79
+ border-radius: var(--border-radius);
80
+ transition: var(--transition);
81
+ }
82
+
83
+ .nav-links a:hover {
84
+ background-color: rgba(255, 255, 255, 0.2);
85
+ }
86
+
87
+ .user-controls {
88
+ display: flex;
89
+ align-items: center;
90
+ gap: 15px;
91
+ }
92
+
93
+ .user-controls img {
94
+ width: 36px;
95
+ height: 36px;
96
+ border-radius: 50%;
97
+ border: 2px solid white;
98
+ object-fit: cover;
99
+ }
100
+
101
+ .search-bar {
102
+ display: flex;
103
+ align-items: center;
104
+ background-color: white;
105
+ border-radius: var(--border-radius);
106
+ padding: 5px 10px;
107
+ }
108
+
109
+ .search-bar input {
110
+ border: none;
111
+ outline: none;
112
+ padding: 5px;
113
+ width: 180px;
114
+ }
115
+
116
+ .search-bar button {
117
+ background: none;
118
+ border: none;
119
+ color: var(--myspace-blue);
120
+ cursor: pointer;
121
+ }
122
+
123
+ /* Main content */
124
+ .main-container {
125
+ display: flex;
126
+ flex: 1;
127
+ max-width: 1200px;
128
+ margin: 20px auto;
129
+ width: 100%;
130
+ gap: 20px;
131
+ padding: 0 20px;
132
+ }
133
+
134
+ .sidebar {
135
+ width: 250px;
136
+ flex-shrink: 0;
137
+ }
138
+
139
+ .sidebar-section {
140
+ background-color: white;
141
+ border-radius: var(--border-radius);
142
+ padding: 15px;
143
+ margin-bottom: 20px;
144
+ box-shadow: var(--box-shadow);
145
+ }
146
+
147
+ .sidebar-section h3 {
148
+ color: var(--myspace-blue);
149
+ margin-bottom: 15px;
150
+ font-size: 16px;
151
+ border-bottom: 1px solid var(--myspace-light-blue);
152
+ padding-bottom: 8px;
153
+ }
154
+
155
+ .sidebar-nav {
156
+ list-style: none;
157
+ }
158
+
159
+ .sidebar-nav li {
160
+ margin-bottom: 10px;
161
+ }
162
+
163
+ .sidebar-nav a {
164
+ color: var(--text-dark);
165
+ text-decoration: none;
166
+ display: flex;
167
+ align-items: center;
168
+ gap: 10px;
169
+ padding: 8px;
170
+ border-radius: var(--border-radius);
171
+ transition: var(--transition);
172
+ }
173
+
174
+ .sidebar-nav a:hover {
175
+ background-color: var(--myspace-light-blue);
176
+ color: var(--myspace-blue);
177
+ }
178
+
179
+ .sidebar-nav i {
180
+ width: 20px;
181
+ text-align: center;
182
+ }
183
+
184
+ .quick-friends {
185
+ display: grid;
186
+ grid-template-columns: repeat(3, 1fr);
187
+ gap: 10px;
188
+ }
189
+
190
+ .quick-friend {
191
+ text-align: center;
192
+ }
193
+
194
+ .quick-friend img {
195
+ width: 50px;
196
+ height: 50px;
197
+ border-radius: 50%;
198
+ object-fit: cover;
199
+ border: 2px solid var(--myspace-light-blue);
200
+ transition: var(--transition);
201
+ }
202
+
203
+ .quick-friend img:hover {
204
+ border-color: var(--myspace-blue);
205
+ }
206
+
207
+ .quick-friend p {
208
+ font-size: 12px;
209
+ margin-top: 5px;
210
+ white-space: nowrap;
211
+ overflow: hidden;
212
+ text-overflow: ellipsis;
213
+ }
214
+
215
+ /* Profile content */
216
+ .profile-content {
217
+ flex: 1;
218
+ display: flex;
219
+ flex-direction: column;
220
+ gap: 20px;
221
+ }
222
+
223
+ .profile-card {
224
+ background-color: white;
225
+ border-radius: var(--border-radius);
226
+ padding: 20px;
227
+ box-shadow: var(--box-shadow);
228
+ }
229
+
230
+ .profile-header {
231
+ display: flex;
232
+ align-items: flex-start;
233
+ margin-bottom: 20px;
234
+ padding-bottom: 20px;
235
+ border-bottom: 1px solid var(--myspace-light-blue);
236
+ }
237
+
238
+ .profile-pic {
239
+ width: 120px;
240
+ height: 120px;
241
+ border-radius: var(--border-radius);
242
+ margin-right: 20px;
243
+ object-fit: cover;
244
+ border: 3px solid var(--myspace-light-blue);
245
+ box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
246
+ }
247
+
248
+ .profile-info {
249
+ flex: 1;
250
+ }
251
+
252
+ .profile-info h2 {
253
+ color: var(--myspace-blue);
254
+ margin-bottom: 8px;
255
+ font-size: 24px;
256
+ }
257
+
258
+ .profile-info p {
259
+ color: #666;
260
+ font-size: 14px;
261
+ margin-bottom: 5px;
262
+ }
263
+
264
+ .profile-actions {
265
+ display: flex;
266
+ gap: 10px;
267
+ margin-top: 15px;
268
+ }
269
+
270
+ .btn {
271
+ padding: 8px 16px;
272
+ border-radius: var(--border-radius);
273
+ border: none;
274
+ font-weight: 600;
275
+ cursor: pointer;
276
+ transition: var(--transition);
277
+ }
278
+
279
+ .btn-primary {
280
+ background-color: var(--myspace-blue);
281
+ color: white;
282
+ }
283
+
284
+ .btn-primary:hover {
285
+ background-color: var(--myspace-dark-blue);
286
+ }
287
+
288
+ .btn-secondary {
289
+ background-color: var(--myspace-light-blue);
290
+ color: var(--myspace-blue);
291
+ }
292
+
293
+ .btn-secondary:hover {
294
+ background-color: #d0d6e2;
295
+ }
296
+
297
+ /* Status update */
298
+ .status-update {
299
+ background-color: #f8f9fa;
300
+ padding: 15px;
301
+ border-radius: var(--border-radius);
302
+ margin-bottom: 20px;
303
+ }
304
+
305
+ .status-update textarea {
306
+ width: 100%;
307
+ height: 80px;
308
+ border: 1px solid #ddd;
309
+ border-radius: var(--border-radius);
310
+ padding: 12px;
311
+ resize: none;
312
+ margin-bottom: 10px;
313
+ font-family: inherit;
314
+ transition: var(--transition);
315
+ }
316
+
317
+ .status-update textarea:focus {
318
+ outline: none;
319
+ border-color: var(--myspace-blue);
320
+ box-shadow: 0 0 0 2px rgba(59, 89, 152, 0.2);
321
+ }
322
+
323
+ .status-actions {
324
+ display: flex;
325
+ justify-content: space-between;
326
+ align-items: center;
327
+ }
328
+
329
+ .status-options {
330
+ display: flex;
331
+ gap: 10px;
332
+ }
333
+
334
+ .status-option {
335
+ background: none;
336
+ border: none;
337
+ color: #666;
338
+ cursor: pointer;
339
+ font-size: 14px;
340
+ display: flex;
341
+ align-items: center;
342
+ gap: 5px;
343
+ transition: var(--transition);
344
+ }
345
+
346
+ .status-option:hover {
347
+ color: var(--myspace-blue);
348
+ }
349
+
350
+ /* Profile sections */
351
+ .profile-section {
352
+ margin-bottom: 25px;
353
+ }
354
+
355
+ .profile-section h3 {
356
+ background-color: #f8f9fa;
357
+ padding: 10px 15px;
358
+ border-radius: var(--border-radius);
359
+ color: var(--myspace-blue);
360
+ font-size: 18px;
361
+ margin-bottom: 15px;
362
+ display: flex;
363
+ align-items: center;
364
+ gap: 10px;
365
+ }
366
+
367
+ .profile-section h3 i {
368
+ font-size: 16px;
369
+ }
370
+
371
+ /* Custom profile sections */
372
+ .profile-custom {
373
+ background-color: #fff9f5;
374
+ border-left: 4px solid var(--myspace-orange);
375
+ padding: 15px;
376
+ margin-bottom: 20px;
377
+ border-radius: 0 var(--border-radius) var(--border-radius) 0;
378
+ }
379
+
380
+ .profile-custom h4 {
381
+ color: var(--myspace-orange);
382
+ margin-bottom: 10px;
383
+ font-size: 16px;
384
+ display: flex;
385
+ align-items: center;
386
+ gap: 8px;
387
+ }
388
+
389
+ /* Friends section */
390
+ .friends-grid {
391
+ display: grid;
392
+ grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
393
+ gap: 15px;
394
+ }
395
+
396
+ .friend {
397
+ text-align: center;
398
+ transition: var(--transition);
399
+ }
400
+
401
+ .friend:hover {
402
+ transform: translateY(-3px);
403
+ }
404
+
405
+ .friend img {
406
+ width: 80px;
407
+ height: 80px;
408
+ border-radius: 50%;
409
+ object-fit: cover;
410
+ border: 3px solid var(--myspace-light-blue);
411
+ transition: var(--transition);
412
+ }
413
+
414
+ .friend:hover img {
415
+ border-color: var(--myspace-blue);
416
+ }
417
+
418
+ .friend p {
419
+ font-size: 13px;
420
+ margin-top: 8px;
421
+ font-weight: 500;
422
+ }
423
+
424
+ /* Comments section */
425
+ .comments-container {
426
+ display: flex;
427
+ flex-direction: column;
428
+ gap: 15px;
429
+ }
430
+
431
+ .comment {
432
+ display: flex;
433
+ padding: 15px;
434
+ border-radius: var(--border-radius);
435
+ background-color: #f8f9fa;
436
+ transition: var(--transition);
437
+ }
438
+
439
+ .comment:hover {
440
+ background-color: #f0f2f5;
441
+ }
442
+
443
+ .comment-pic {
444
+ width: 50px;
445
+ height: 50px;
446
+ border-radius: 50%;
447
+ margin-right: 15px;
448
+ object-fit: cover;
449
+ border: 2px solid var(--myspace-light-blue);
450
+ }
451
+
452
+ .comment-content {
453
+ flex: 1;
454
+ }
455
+
456
+ .comment-header {
457
+ display: flex;
458
+ justify-content: space-between;
459
+ margin-bottom: 8px;
460
+ align-items: center;
461
+ }
462
+
463
+ .comment-author {
464
+ font-weight: 600;
465
+ color: var(--myspace-blue);
466
+ text-decoration: none;
467
+ }
468
+
469
+ .comment-date {
470
+ color: #999;
471
+ font-size: 12px;
472
+ }
473
+
474
+ .comment-actions {
475
+ display: flex;
476
+ gap: 15px;
477
+ margin-top: 10px;
478
+ }
479
+
480
+ .comment-action {
481
+ color: #666;
482
+ font-size: 12px;
483
+ text-decoration: none;
484
+ display: flex;
485
+ align-items: center;
486
+ gap: 5px;
487
+ transition: var(--transition);
488
+ }
489
+
490
+ .comment-action:hover {
491
+ color: var(--myspace-blue);
492
+ }
493
+
494
+ /* Blingee style elements */
495
+ .blingee-container {
496
+ display: flex;
497
+ flex-wrap: wrap;
498
+ gap: 15px;
499
+ }
500
+
501
+ .blingee {
502
+ position: relative;
503
+ display: inline-block;
504
+ }
505
+
506
+ .blingee img {
507
+ width: 120px;
508
+ height: 120px;
509
+ border: 4px solid var(--myspace-pink);
510
+ border-radius: 15px;
511
+ padding: 8px;
512
+ background-color: #fff;
513
+ object-fit: cover;
514
+ box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
515
+ transition: var(--transition);
516
+ }
517
+
518
+ .blingee:hover img {
519
+ transform: scale(1.05);
520
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
521
+ }
522
+
523
+ .blingee::after {
524
+ content: "Blingee!";
525
+ position: absolute;
526
+ bottom: -10px;
527
+ right: -10px;
528
+ background-color: var(--myspace-pink);
529
+ color: white;
530
+ font-size: 10px;
531
+ font-weight: bold;
532
+ padding: 3px 6px;
533
+ border-radius: 10px;
534
+ transform: rotate(15deg);
535
+ }
536
+
537
+ /* Footer */
538
+ footer {
539
+ background-color: var(--myspace-dark-blue);
540
+ color: white;
541
+ padding: 20px;
542
+ text-align: center;
543
+ margin-top: 40px;
544
+ }
545
+
546
+ .footer-links {
547
+ display: flex;
548
+ justify-content: center;
549
+ gap: 20px;
550
+ margin-bottom: 15px;
551
+ flex-wrap: wrap;
552
+ }
553
+
554
+ .footer-links a {
555
+ color: white;
556
+ text-decoration: none;
557
+ font-size: 14px;
558
+ transition: var(--transition);
559
+ }
560
+
561
+ .footer-links a:hover {
562
+ text-decoration: underline;
563
+ }
564
+
565
+ .copyright {
566
+ font-size: 12px;
567
+ color: rgba(255, 255, 255, 0.7);
568
+ }
569
+
570
+ /* Responsive adjustments */
571
+ @media (max-width: 992px) {
572
+ .main-container {
573
+ flex-direction: column;
574
+ }
575
+
576
+ .sidebar {
577
+ width: 100%;
578
+ display: flex;
579
+ flex-wrap: wrap;
580
+ gap: 15px;
581
+ }
582
+
583
+ .sidebar-section {
584
+ flex: 1;
585
+ min-width: 200px;
586
+ margin-bottom: 0;
587
+ }
588
+
589
+ .friends-grid {
590
+ grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
591
+ }
592
+ }
593
+
594
+ @media (max-width: 768px) {
595
+ header {
596
+ flex-direction: column;
597
+ gap: 15px;
598
+ padding: 15px;
599
+ }
600
+
601
+ .nav-links {
602
+ flex-wrap: wrap;
603
+ justify-content: center;
604
+ }
605
+
606
+ .user-controls {
607
+ width: 100%;
608
+ justify-content: center;
609
+ }
610
+
611
+ .search-bar {
612
+ width: 100%;
613
+ }
614
+
615
+ .search-bar input {
616
+ flex: 1;
617
+ }
618
+
619
+ .profile-header {
620
+ flex-direction: column;
621
+ align-items: center;
622
+ text-align: center;
623
+ }
624
+
625
+ .profile-pic {
626
+ margin-right: 0;
627
+ margin-bottom: 15px;
628
+ }
629
+
630
+ .profile-actions {
631
+ justify-content: center;
632
+ }
633
+ }
634
+
635
+ @media (max-width: 480px) {
636
+ .sidebar-section {
637
+ min-width: 100%;
638
+ }
639
+
640
+ .status-actions {
641
+ flex-direction: column;
642
+ gap: 10px;
643
+ align-items: flex-start;
644
+ }
645
+
646
+ .friends-grid {
647
+ grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
648
+ gap: 10px;
649
+ }
650
+
651
+ .friend img {
652
+ width: 60px;
653
+ height: 60px;
654
+ }
655
+ }
656
+
657
+ /* Animation for nostalgic effect */
658
+ @keyframes myspaceGlow {
659
+ 0% { box-shadow: 0 0 5px rgba(59, 89, 152, 0.5); }
660
+ 50% { box-shadow: 0 0 20px rgba(59, 89, 152, 0.8); }
661
+ 100% { box-shadow: 0 0 5px rgba(59, 89, 152, 0.5); }
662
+ }
663
+
664
+ .myspace-glow {
665
+ animation: myspaceGlow 2s infinite;
666
+ }
667
+
668
+ /* Custom scrollbar */
669
+ ::-webkit-scrollbar {
670
+ width: 8px;
671
+ }
672
+
673
+ ::-webkit-scrollbar-track {
674
+ background: #f1f1f1;
675
+ }
676
+
677
+ ::-webkit-scrollbar-thumb {
678
+ background: var(--myspace-blue);
679
+ border-radius: 4px;
680
+ }
681
+
682
+ ::-webkit-scrollbar-thumb:hover {
683
+ background: var(--myspace-dark-blue);
684
+ }
685
+ </style>
686
  </head>
687
+
688
  <body>
689
+ <header>
690
+ <a href="#" class="logo">
691
+ <i class="fas fa-users"></i>
692
+ <span>MySpace</span>
693
+ </a>
694
+ <div class="nav-links">
695
+ <a href="#"><i class="fas fa-home"></i> Home</a>
696
+ <a href="#"><i class="fas fa-compass"></i> Browse</a>
697
+ <a href="#"><i class="fas fa-search"></i> Search</a>
698
+ <a href="#"><i class="fas fa-user-plus"></i> Invite</a>
699
+ <a href="#"><i class="fas fa-envelope"></i> Mail</a>
700
+ <a href="#"><i class="fas fa-cog"></i> Settings</a>
701
+ </div>
702
+ <div class="user-controls">
703
+ <div class="search-bar">
704
+ <input type="text" placeholder="Search MySpace...">
705
+ <button><i class="fas fa-search"></i></button>
706
+ </div>
707
+ <img src="https://i.imgur.com/JqYeYn7.jpg" alt="User Profile">
708
+ </div>
709
+ </header>
710
+
711
+ <div class="main-container">
712
+ <aside class="sidebar">
713
+ <div class="sidebar-section">
714
+ <h3><i class="fas fa-user-circle"></i> My Profile</h3>
715
+ <ul class="sidebar-nav">
716
+ <li><a href="#"><i class="fas fa-user"></i> View Profile</a></li>
717
+ <li><a href="#"><i class="fas fa-edit"></i> Edit Profile</a></li>
718
+ <li><a href="#"><i class="fas fa-lock"></i> Privacy Settings</a></li>
719
+ <li><a href="#"><i class="fas fa-paint-brush"></i> Customize Profile</a></li>
720
+ </ul>
721
+ </div>
722
+
723
+ <div class="sidebar-section">
724
+ <h3><i class="fas fa-users"></i> Quick Friends</h3>
725
+ <div class="quick-friends">
726
+ <div class="quick-friend">
727
+ <img src="https://i.imgur.com/5XvjJzW.png" alt="Friend">
728
+ <p>Sarah</p>
729
+ </div>
730
+ <div class="quick-friend">
731
+ <img src="https://i.imgur.com/7n7mQ6a.jpg" alt="Friend">
732
+ <p>Mike</p>
733
+ </div>
734
+ <div class="quick-friend">
735
+ <img src="https://i.imgur.com/8kZf3Qa.jpg" alt="Friend">
736
+ <p>Jessica</p>
737
+ </div>
738
+ <div class="quick-friend">
739
+ <img src="https://i.imgur.com/9aZ2b3c.jpg" alt="Friend">
740
+ <p>Chris</p>
741
+ </div>
742
+ <div class="quick-friend">
743
+ <img src="https://i.imgur.com/1bX3q4d.jpg" alt="Friend">
744
+ <p>Amanda</p>
745
+ </div>
746
+ <div class="quick-friend">
747
+ <img src="https://i.imgur.com/2c3d4e5.jpg" alt="Friend">
748
+ <p>David</p>
749
+ </div>
750
  </div>
751
+ </div>
752
+
753
+ <div class="sidebar-section">
754
+ <h3><i class="fas fa-calendar-alt"></i> Events</h3>
755
+ <ul class="sidebar-nav">
756
+ <li><a href="#"><i class="fas fa-music"></i> Concert: Green Day</a></li>
757
+ <li><a href="#"><i class="fas fa-utensils"></i> Dinner Party</a></li>
758
+ <li><a href="#"><i class="fas fa-gamepad"></i> LAN Party</a></li>
759
+ </ul>
760
+ </div>
761
+
762
+ <div class="sidebar-section myspace-glow">
763
+ <h3><i class="fas fa-star"></i> Featured</h3>
764
+ <p>Check out the new MySpace Music Player! Add your favorite songs to your profile.</p>
765
+ <button class="btn btn-primary" style="margin-top: 10px; width: 100%;">
766
+ <i class="fas fa-music"></i> Add Music
767
+ </button>
768
+ </div>
769
+ </aside>
770
+
771
+ <main class="profile-content">
772
+ <div class="profile-card">
773
+ <div class="profile-header">
774
+ <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Profile Picture" class="profile-pic">
775
+ <div class="profile-info">
776
+ <h2>Tom from MySpace</h2>
777
+ <p><i class="fas fa-user"></i> Male, 30 years old</p>
778
+ <p><i class="fas fa-map-marker-alt"></i> Los Angeles, California</p>
779
+ <p><i class="fas fa-clock"></i> Last Login: 5/15/2006</p>
780
+ <div class="profile-actions">
781
+ <button class="btn btn-primary"><i class="fas fa-comment"></i> Send Message</button>
782
+ <button class="btn btn-secondary"><i class="fas fa-user-plus"></i> Add Friend</button>
783
  </div>
784
+ </div>
785
+ </div>
786
+
787
+ <div class="status-update">
788
+ <textarea placeholder="What's on your mind, Tom?"></textarea>
789
+ <div class="status-actions">
790
+ <div class="status-options">
791
+ <button class="status-option"><i class="fas fa-camera"></i> Photo</button>
792
+ <button class="status-option"><i class="fas fa-video"></i> Video</button>
793
+ <button class="status-option"><i class="fas fa-music"></i> Music</button>
794
  </div>
795
+ <button class="btn btn-primary">Update Status</button>
796
+ </div>
797
+ </div>
798
+
799
+ <div class="profile-section">
800
+ <h3><i class="fas fa-user"></i> About Me</h3>
801
+ <p>Hey! I'm Tom, the original MySpace friend. I love connecting with people and helping them build their online
802
+ presence. When I'm not working on MySpace, you can find me surfing in Malibu or playing guitar.</p>
803
+ </div>
804
+
805
+ <div class="profile-custom">
806
+ <h4><i class="fas fa-heart"></i> Who I'd like to meet</h4>
807
+ <p>I'd like to meet anyone who's passionate about music, technology, or just wants to make new friends online!
808
+ Let's connect and share our interests!</p>
809
+ </div>
810
+
811
+ <div class="profile-section">
812
+ <h3><i class="fas fa-heart"></i> My Interests</h3>
813
+ <p><strong>General:</strong> Music, Technology, Internet, Surfing, Photography</p>
814
+ <p><strong>Music:</strong> The Beatles, Green Day, Blink-182, Weezer, The Offspring</p>
815
+ <p><strong>Movies:</strong> The Matrix, Star Wars, Fight Club, Eternal Sunshine</p>
816
+ <p><strong>Books:</strong> The Hitchhiker's Guide to the Galaxy, Neuromancer</p>
817
+ </div>
818
+
819
+ <div class="profile-section">
820
+ <h3><i class="fas fa-images"></i> My Blingee</h3>
821
+ <div class="blingee-container">
822
+ <div class="blingee">
823
+ <img src="https://i.imgur.com/5XvjJzW.png" alt="Blingee">
824
  </div>
825
+ <div class="blingee">
826
+ <img src="https://i.imgur.com/6Y7Z8x9.jpg" alt="Blingee">
 
 
827
  </div>
828
+ <div class="blingee">
829
+ <img src="https://i.imgur.com/9aZ2b3c.jpg" alt="Blingee">
 
 
 
 
830
  </div>
831
+ </div>
832
+ </div>
833
+ </div>
834
+
835
+ <div class="profile-card">
836
+ <div class="profile-section">
837
+ <h3><i class="fas fa-users"></i> Friends (1,234,567)</h3>
838
+ <div class="friends-grid">
839
+ <div class="friend">
840
+ <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Friend">
841
+ <p>Tom</p>
842
  </div>
843
+ <div class="friend">
844
+ <img src="https://i.imgur.com/5XvjJzW.png" alt="Friend">
845
+ <p>Sarah</p>
846
+ </div>
847
+ <div class="friend">
848
+ <img src="https://i.imgur.com/7n7mQ6a.jpg" alt="Friend">
849
+ <p>Mike</p>
850
+ </div>
851
+ <div class="friend">
852
+ <img src="https://i.imgur.com/8kZf3Qa.jpg" alt="Friend">
853
+ <p>Jessica</p>
854
+ </div>
855
+ <div class="friend">
856
+ <img src="https://i.imgur.com/9aZ2b3c.jpg" alt="Friend">
857
+ <p>Chris</p>
858
+ </div>
859
+ <div class="friend">
860
+ <img src="https://i.imgur.com/1bX3q4d.jpg" alt="Friend">
861
+ <p>Amanda</p>
862
+ </div>
863
+ <div class="friend">
864
+ <img src="https://i.imgur.com/2c3d4e5.jpg" alt="Friend">
865
+ <p>David</p>
866
+ </div>
867
+ <div class="friend">
868
+ <img src="https://i.imgur.com/3e4f5g6.jpg" alt="Friend">
869
+ <p>Emily</p>
870
+ </div>
871
+ <div class="friend">
872
+ <img src="https://i.imgur.com/4f5g6h7.jpg" alt="Friend">
873
+ <p>Brian</p>
874
+ </div>
875
+ </div>
876
+ </div>
877
+ </div>
878
+
879
+ <div class="profile-card">
880
+ <div class="profile-section">
881
+ <h3><i class="fas fa-comments"></i> Comments (42)</h3>
882
+ <div class="comments-container">
883
+ <div class="comment">
884
+ <img src="https://i.imgur.com/5XvjJzW.png" alt="Commenter" class="comment-pic">
885
+ <div class="comment-content">
886
+ <div class="comment-header">
887
+ <a href="#" class="comment-author">Sarah</a>
888
+ <span class="comment-date">5/14/2006 3:45 PM</span>
889
  </div>
890
+ <p>Hey Tom! Just wanted to say thanks for being my first friend on MySpace. This site is awesome! Can't wait to customize my profile with glitter text and a background song. 😊</p>
891
+ <div class="comment-actions">
892
+ <a href="#" class="comment-action"><i class="fas fa-reply"></i> Reply</a>
893
+ <a href="#" class="comment-action"><i class="fas fa-thumbs-up"></i> Like</a>
894
+ <a href="#" class="comment-action"><i class="fas fa-flag"></i> Report</a>
895
+ </div>
896
+ </div>
897
  </div>
898
+ <div class="comment">
899
+ <img src="https://i.imgur.com/7n7mQ6a.jpg" alt="Commenter" class="comment-pic">
900
+ <div class="comment-content">
901
+ <div class="comment-header">
902
+ <a href="#" class="comment-author">Mike</a>
903
+ <span class="comment-date">5/13/2006 9:12 AM</span>
 
 
 
 
 
 
904
  </div>
905
+ <p>Dude, your profile is sick! How did you get that background? HTML is so confusing lol. I tried to add a song but it messed up my whole layout. Any tips?</p>
906
+ <div class="comment-actions">
907
+ <a href="#" class="comment-action"><i class="fas fa-reply"></i> Reply</a>
908
+ <a href="#" class="comment-action"><i class="fas fa-thumbs-up"></i> Like</a>
909
+ <a href="#" class="comment-action"><i class="fas fa-flag"></i> Report</a>
 
 
 
 
910
  </div>
911
+ </div>
912
+ </div>
913
+ <div class="comment">
914
+ <img src="https://i.imgur.com/8kZf3Qa.jpg" alt="Commenter" class="comment-pic">
915
+ <div class="comment-content">
916
+ <div class="comment-header">
917
+ <a href="#" class="comment-author">Jessica</a>
918
+ <span class="comment-date">5/12/2006 7:30 PM</span>
 
919
  </div>
920
+ <p>OMG I can't believe I'm friends with THE Tom from MySpace! *fangirl scream* Your profile is so cool! I spent like 3 hours yesterday picking my top 8 friends. This is the best website ever!!!</p>
921
+ <div class="comment-actions">
922
+ <a href="#" class="comment-action"><i class="fas fa-reply"></i> Reply</a>
923
+ <a href="#" class="comment-action"><i class="fas fa-thumbs-up"></i> Like</a>
924
+ <a href="#" class="comment-action"><i class="fas fa-flag"></i> Report</a>
925
+ </div>
926
+ </div>
927
  </div>
928
+ </div>
929
+ <div style="margin-top: 15px;">
930
+ <textarea placeholder="Write a comment..." style="width: 100%; height: 60px; padding: 10px; border-radius: var(--border-radius); border: 1px solid #ddd;"></textarea>
931
+ <button class="btn btn-primary" style="margin-top: 10px;"><i class="fas fa-paper-plane"></i> Post Comment</button>
932
+ </div>
933
  </div>
934
+ </div>
935
+ </main>
936
+ </div>
937
+
938
+ <footer>
939
+ <div class="footer-links">
940
+ <a href="#">About</a>
941
+ <a href="#">Careers</a>
942
+ <a href="#">Privacy</a>
943
+ <a href="#">Terms</a>
944
+ <a href="#">Advertise</a>
945
+ <a href="#">Help</a>
946
+ <a href="#">Safety</a>
947
+ <a href="#">Feedback</a>
948
  </div>
949
+ <div class="copyright">
950
+ &copy; 2003-2006 MySpace.com. All Rights Reserved. <a href="https://huggingface.co/spaces/akhaliq/anycoder" style="color: white;">Built with anycoder</a>
951
+ </div>
952
+ </footer>
953
+
954
+ <script>
955
+ document.addEventListener('DOMContentLoaded', function() {
956
+ // Status update functionality
957
+ const statusUpdateBtn = document.querySelector('.status-update .btn-primary');
958
+ if (statusUpdateBtn) {
959
+ statusUpdateBtn.addEventListener('click', function() {
960
+ const statusTextarea = document.querySelector('.status-update textarea');
961
+ if (statusTextarea.value.trim() !== '') {
962
+ // In a real app, this would send to server
963
+ const statusContainer = document.createElement('div');
964
+ statusContainer.className = 'profile-section';
965
+ statusContainer.innerHTML = `
966
+ <div class="comment">
967
+ <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Profile" class="comment-pic">
968
+ <div class="comment-content">
969
+ <div class="comment-header">
970
+ <span class="comment-author">You</span>
971
+ <span class="comment-date">Just now</span>
972
+ </div>
973
+ <p>${statusTextarea.value}</p>
974
+ <div class="comment-actions">
975
+ <a href="#" class="comment-action"><i class="fas fa-thumbs-up"></i> Like</a>
976
+ <a href="#" class="comment-action"><i class="fas fa-comment"></i> Comment</a>
977
+ </div>
978
+ </div>
979
+ </div>
980
+ `;
981
+
982
+ // Insert after the status update box
983
+ const profileCard = document.querySelector('.profile-card');
984
+ profileCard.insertBefore(statusContainer, profileCard.children[3]);
 
 
985
 
986
+ statusTextarea.value = '';
 
 
 
 
 
 
 
 
 
 
987
 
988
+ // Show success message
989
+ const originalText = statusUpdateBtn.textContent;
990
+ statusUpdateBtn.innerHTML = '<i class="fas fa-check"></i> Posted!';
991
+ setTimeout(() => {
992
+ statusUpdateBtn.innerHTML = originalText;
993
+ }, 2000);
994
+ }
995
+ });
996
+ }
997
+
998
+ // Comment functionality
999
+ const commentBtn = document.querySelector('.profile-card:last-child .btn-primary');
1000
+ if (commentBtn) {
1001
+ commentBtn.addEventListener('click', function() {
1002
+ const commentTextarea = document.querySelector('.profile-card:last-child textarea');
1003
+ if (commentTextarea.value.trim() !== '') {
1004
+ const commentsContainer = document.querySelector('.comments-container');
1005
+ const newComment = document.createElement('div');
1006
+ newComment.className = 'comment';
1007
+ newComment.innerHTML = `
1008
+ <img src="https://i.imgur.com/JqYeYn7.jpg" alt="Profile" class="comment-pic">
1009
+ <div class="comment-content">
1010
+ <div class="comment-header">
1011
+ <span class="comment-author">You</span>
1012
+ <span class="comment-date">Just now</span>
1013
+ </div>
1014
+ <p>${commentTextarea.value}</p>
1015
+ <div class="comment-actions">
1016
+ <a href="#" class="comment-action"><i class="fas fa-thumbs-up"></i> Like</a>
1017
+ <a href="#" class="comment-action"><i class="fas fa-flag"></i> Report</a>
1018
+ </div>
1019
+ </div>
1020
+ `;
1021
+
1022
+ commentsContainer.prepend(newComment);
1023
+ commentTextarea.value = '';
1024
+
1025
+ // Update comment count
1026
+ const commentHeader = document.querySelector('.profile-card:last-child h3');
1027
+ const currentCount = parseInt(commentHeader.textContent.match(/\((\d+)\)/)[1]);
1028
+ commentHeader.textContent = commentHeader.textContent.replace(/\(\d+\)/, `(${currentCount + 1})`);
1029
+ }
1030
+ });
1031
+ }
1032
+
1033
+ // Friend click handler
1034
+ const friends = document.querySelectorAll('.friend, .quick-friend');
1035
+ friends.forEach(friend => {
1036
+ friend.addEventListener('click', function(e) {
1037
+ e.preventDefault();
1038
+ const friendName = this.querySelector('p').textContent;
1039
+
1040
+ // Highlight the clicked friend
1041
+ friends.forEach(f => f.style.opacity = '0.7');
1042
+ this.style.opacity = '1';
1043
+ setTimeout(() => {
1044
+ friends.forEach(f => f.style.opacity = '1');
1045
+ }, 1000);
1046
+
1047
+ // Show friend profile (simulated)
1048
+ alert(`Loading ${friendName}'s profile...`);
1049
+ });
1050
+ });
1051
+
1052
+ // Navigation active state
1053
+ const navLinks = document.querySelectorAll('.nav-links a, .sidebar-nav a');
1054
+ navLinks.forEach(link => {
1055
+ link.addEventListener('click', function(e) {
1056
+ e.preventDefault();
1057
+ navLinks.forEach(l => l.classList.remove('active'));
1058
+ this.classList.add('active');
1059
+
1060
+ // Simulate content loading
1061
+ const mainContent = document.querySelector('.profile-content');
1062
+ if (mainContent) {
1063
+ mainContent.style.opacity = '0.5';
1064
+ setTimeout(() => {
1065
+ mainContent.style.opacity = '1';
1066
+ }, 300);
1067
+ }
1068
+ });
1069
+ });
1070
+
1071
+ // Set first nav item as active by default
1072
+ if (navLinks.length > 0) {
1073
+ navLinks[0].classList.add('active');
1074
+ }
1075
+
1076
+ // Add hover effect to buttons
1077
+ const buttons = document.querySelectorAll('.btn');
1078
+ buttons.forEach(button => {
1079
+ button.addEventListener('mouseenter', function() {
1080
+ this.style.transform = 'translateY(-2px)';
1081
+ });
1082
+ button.addEventListener('mouseleave', function() {
1083
+ this.style.transform = 'translateY(0)';
1084
  });
1085
+ });
1086
+ });
1087
+ </script>
1088
  </body>
1089
  </html>