saberface89 commited on
Commit
063722b
·
verified ·
1 Parent(s): 7a17dfa

Add 3 files

Browse files
Files changed (3) hide show
  1. README.md +6 -4
  2. index.html +1504 -19
  3. prompts.txt +1 -0
README.md CHANGED
@@ -1,10 +1,12 @@
1
  ---
2
- title: Fft
3
- emoji: 🚀
4
  colorFrom: green
5
- colorTo: purple
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: fft
3
+ emoji: 🐳
4
  colorFrom: green
5
+ colorTo: pink
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite
10
  ---
11
 
12
+ Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
index.html CHANGED
@@ -1,19 +1,1504 @@
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>Connectify - Social Network</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
+ /* Custom styles that can't be done with Tailwind */
11
+ .sidebar-item:hover .sidebar-tooltip {
12
+ opacity: 1;
13
+ transform: translateX(0);
14
+ }
15
+
16
+ .story-item:hover .story-details {
17
+ opacity: 1;
18
+ }
19
+
20
+ .post-actions button:hover {
21
+ transform: scale(1.05);
22
+ }
23
+
24
+ @keyframes pulse {
25
+ 0%, 100% { opacity: 1; }
26
+ 50% { opacity: 0.5; }
27
+ }
28
+
29
+ .animate-pulse {
30
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
31
+ }
32
+
33
+ /* Notification badge */
34
+ .notification-badge {
35
+ position: absolute;
36
+ top: -5px;
37
+ right: -5px;
38
+ width: 20px;
39
+ height: 20px;
40
+ background-color: #ef4444;
41
+ color: white;
42
+ border-radius: 50%;
43
+ display: flex;
44
+ align-items: center;
45
+ justify-content: center;
46
+ font-size: 0.75rem;
47
+ font-weight: bold;
48
+ }
49
+
50
+ /* Custom scrollbar */
51
+ ::-webkit-scrollbar {
52
+ width: 8px;
53
+ }
54
+
55
+ ::-webkit-scrollbar-track {
56
+ background: #f1f1f1;
57
+ border-radius: 10px;
58
+ }
59
+
60
+ ::-webkit-scrollbar-thumb {
61
+ background: #888;
62
+ border-radius: 10px;
63
+ }
64
+
65
+ ::-webkit-scrollbar-thumb:hover {
66
+ background: #555;
67
+ }
68
+
69
+ /* Modal overlay */
70
+ .modal-overlay {
71
+ display: none;
72
+ position: fixed;
73
+ top: 0;
74
+ left: 0;
75
+ right: 0;
76
+ bottom: 0;
77
+ background-color: rgba(0, 0, 0, 25%);
78
+ z-index: 50;
79
+ align-items: center;
80
+ justify-content: center;
81
+ }
82
+ </style>
83
+ </head>
84
+ <body class="bg-gray-100 font-sans">
85
+ <!-- Modal Overlay -->
86
+ <div id="modal-overlay" class="modal-overlay">
87
+ <div class="modal-container bg-white rounded-lg shadow-xl w-full max-w-md p-6">
88
+ <div class="flex justify-between items-center mb-4">
89
+ <h3 id="modal-title" class="text-xl font-semibold">Modal Title</h3>
90
+ <button onclick="closeModal()" class="text-gray-500 hover:text-gray-700">
91
+ <i class="fas fa-times"></i>
92
+ </button>
93
+ </div>
94
+ <div id="modal-content" class="mb-4">
95
+ Modal content goes here
96
+ </div>
97
+ <div class="flex justify-end space-x-3">
98
+ <button onclick="closeModal()" class="px-4 py-2 rounded-md bg-gray-200 text-gray-700 hover:bg-gray-300">Cancel</button>
99
+ <button id="modal-action-button" class="px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700">Confirm</button>
100
+ </div>
101
+ </div>
102
+ </div>
103
+
104
+ <!-- Notification System -->
105
+ <div id="notification-system" class="fixed top-4 right-4 z-50 w-80 space-y-2 hidden">
106
+ <!-- Notifications will be added here via JavaScript -->
107
+ </div>
108
+
109
+ <!-- Main App Container -->
110
+ <div class="flex h-screen overflow-hidden">
111
+ <!-- Left Sidebar -->
112
+ <aside class="w-20 md:w-64 bg-white shadow-md z-10 flex-shrink-0 overflow-y-auto">
113
+ <div class="p-4 flex flex-col h-full">
114
+ <!-- Logo -->
115
+ <div class="flex items-center justify-center md:justify-start mb-8">
116
+ <i class="fas fa-users text-blue-600 text-2xl mr-2"></i>
117
+ <h1 class="text-xl font-bold hidden md:block">Connectify</h1>
118
+ </div>
119
+
120
+ <!-- Navigation -->
121
+ <nav class="flex-1 space-y-1">
122
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg bg-blue-100 text-blue-600">
123
+ <i class="fas fa-home text-xl"></i>
124
+ <span class="ml-3 hidden md:block">Home</span>
125
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
126
+ Home
127
+ </span>
128
+ </a>
129
+
130
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
131
+ <i class="fas fa-user-friends text-xl"></i>
132
+ <span class="ml-3 hidden md:block">Friends</span>
133
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
134
+ Friends
135
+ </span>
136
+ </a>
137
+
138
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
139
+ <i class="fas fa-bell text-xl"></i>
140
+ <span class="ml-3 hidden md:block">Notifications</span>
141
+ <div id="notification-badge" class="notification-badge hidden">5</div>
142
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
143
+ Notifications
144
+ </span>
145
+ </a>
146
+
147
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
148
+ <i class="fas fa-envelope text-xl"></i>
149
+ <span class="ml-3 hidden md:block">Messages</span>
150
+ <div id="message-badge" class="notification-badge hidden">3</div>
151
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
152
+ Messages
153
+ </span>
154
+ </a>
155
+
156
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
157
+ <i class="fas fa-flag text-xl"></i>
158
+ <span class="ml-3 hidden md:block">Pages</span>
159
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
160
+ Pages
161
+ </span>
162
+ </a>
163
+
164
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
165
+ <i class="fas fa-calendar text-xl"></i>
166
+ <span class="ml-3 hidden md:block">Events</span>
167
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
168
+ Events
169
+ </span>
170
+ </a>
171
+
172
+ <a href="#" class="sidebar-item relative flex items-center p-3 rounded-lg hover:bg-gray-100 text-gray-700">
173
+ <i class="fas fa-cog text-xl"></i>
174
+ <span class="ml-3 hidden md:block">Settings</span>
175
+ <span class="sidebar-tooltip absolute left-full ml-2 px-2 py-1 bg-gray-800 text-white text-sm rounded opacity-0 invisible md:visible transform -translate-x-2 transition-all duration-200">
176
+ Settings
177
+ </span>
178
+ </a>
179
+ </nav>
180
+
181
+ <!-- Bottom Section -->
182
+ <div class="mt-auto pt-4 border-t border-gray-200">
183
+ <div class="flex items-center p-2 rounded-lg hover:bg-gray-100 cursor-pointer">
184
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full object-cover">
185
+ <span class="ml-2 text-sm hidden md:block">Sarah Johnson</span>
186
+ </div>
187
+ </div>
188
+ </div>
189
+ </aside>
190
+
191
+ <!-- Main Content -->
192
+ <main class="flex-1 overflow-y-auto">
193
+ <!-- Header -->
194
+ <header class="bg-white shadow-sm p-4 sticky top-0 z-10 flex items-center justify-between">
195
+ <div class="flex items-center bg-gray-100 rounded-full px-4 py-2 flex-1 max-w-xl mx-4">
196
+ <i class="fas fa-search text-gray-500 mr-2"></i>
197
+ <input type="text" placeholder="Search Connectify" class="bg-transparent border-none outline-none w-full">
198
+ </div>
199
+
200
+ <div class="flex items-center space-x-4">
201
+ <button class="p-2 rounded-full bg-gray-200 text-gray-700 hover:bg-gray-300">
202
+ <i class="fas fa-comment-dots"></i>
203
+ </button>
204
+ <button class="p-2 rounded-full bg-gray-200 text-gray-700 hover:bg-gray-300">
205
+ <i class="fas fa-bell"></i>
206
+ </button>
207
+ <button class="p-2 rounded-full bg-gray-200 text-gray-700 hover:bg-gray-300">
208
+ <i class="fas fa-question-circle"></i>
209
+ </button>
210
+ <button onclick="showAdminPanel()" class="p-2 rounded-full bg-blue-100 text-blue-600 hover:bg-blue-200">
211
+ <i class="fas fa-shield-alt"></i>
212
+ </button>
213
+ </div>
214
+
215
+ <div class="ml-4 relative">
216
+ <div class="dropdown">
217
+ <button onclick="toggleDropdown('user-dropdown')" class="flex items-center space-x-2 focus:outline-none">
218
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full object-cover">
219
+ <span class="hidden md:inline">Sarah</span>
220
+ <i class="fas fa-chevron-down text-xs hidden md:inline"></i>
221
+ </button>
222
+ <div id="user-dropdown" class="dropdown-menu absolute right-0 mt-2 w-48 bg-white rounded-md shadow-lg py-1 z-20 hidden">
223
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Your Profile</a>
224
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Settings</a>
225
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Activity Log</a>
226
+ <div class="border-t border-gray-200"></div>
227
+ <a href="#" class="block px-4 py-2 text-sm text-gray-700 hover:bg-gray-100">Log Out</a>
228
+ </div>
229
+ </div>
230
+ </div>
231
+ </header>
232
+
233
+ <!-- Content -->
234
+ <div class="container mx-auto p-4">
235
+ <div class="flex flex-col md:flex-row gap-4">
236
+ <!-- Left Column -->
237
+ <div class="w-full md:w-1/3 lg:w-1/4 space-y-4">
238
+ <!-- Profile Card -->
239
+ <div class="bg-white rounded-lg shadow overflow-hidden">
240
+ <div class="relative">
241
+ <img src="https://source.unsplash.com/random/600x200?nature" alt="Cover" class="w-full h-24 object-cover">
242
+ <div class="absolute -bottom-8 left-4">
243
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-16 h-16 rounded-full border-4 border-white object-cover">
244
+ </div>
245
+ </div>
246
+ <div class="pt-10 px-4 pb-4">
247
+ <h2 class="font-bold text-lg">Sarah Johnson</h2>
248
+ <p class="text-gray-600 text-sm">Software Engineer at TechCo</p>
249
+
250
+ <div class="mt-4 flex items-center justify-between text-sm">
251
+ <div class="flex items-center text-gray-500">
252
+ <i class="fas fa-user-friends mr-1"></i>
253
+ <span>432 friends</span>
254
+ </div>
255
+ <div class="flex items-center text-gray-500">
256
+ <i class="fas fa-eye mr-1"></i>
257
+ <span>Public profile</span>
258
+ </div>
259
+ </div>
260
+
261
+ <div class="mt-4 space-y-2">
262
+ <button class="w-full py-2 bg-blue-600 text-white rounded-md hover:bg-blue-700">
263
+ <i class="fas fa-user-plus mr-2"></i> Add to Story
264
+ </button>
265
+ <button class="w-full py-2 bg-gray-200 text-gray-800 rounded-md hover:bg-gray-300">
266
+ <i class="fas fa-pen mr-2"></i> Edit Profile
267
+ </button>
268
+ </div>
269
+ </div>
270
+
271
+ <div class="border-t border-gray-200 px-4 py-2">
272
+ <div class="flex justify-between items-center">
273
+ <span class="text-sm font-medium">Verified Account</span>
274
+ <span class="bg-blue-500 text-white text-xs px-2 py-1 rounded-full flex items-center">
275
+ <i class="fas fa-check-circle mr-1"></i> Verified
276
+ </span>
277
+ </div>
278
+ </div>
279
+ </div>
280
+
281
+ <!-- Photos -->
282
+ <div class="bg-white rounded-lg shadow overflow-hidden">
283
+ <div class="p-3 border-b border-gray-200 flex justify-between items-center">
284
+ <h3 class="font-medium">Photos</h3>
285
+ <a href="#" class="text-blue-600 text-sm">See All</a>
286
+ </div>
287
+ <div class="p-3 grid grid-cols-3 gap-1">
288
+ <img src="https://source.unsplash.com/random/200x200?portrait" alt="Photo" class="w-full h-24 object-cover rounded">
289
+ <img src="https://source.unsplash.com/random/200x200?city" alt="Photo" class="w-full h-24 object-cover rounded">
290
+ <img src="https://source.unsplash.com/random/200x200?food" alt="Photo" class="w-full h-24 object-cover rounded">
291
+ <img src="https://source.unsplash.com/random/200x200?travel" alt="Photo" class="w-full h-24 object-cover rounded">
292
+ <img src="https://source.unsplash.com/random/200x200?animal" alt="Photo" class="w-full h-24 object-cover rounded">
293
+ <img src="https://source.unsplash.com/random/200x200?art" alt="Photo" class="w-full h-24 object-cover rounded">
294
+ </div>
295
+ </div>
296
+
297
+ <!-- Friends -->
298
+ <div class="bg-white rounded-lg shadow overflow-hidden">
299
+ <div class="p-3 border-b border-gray-200 flex justify-between items-center">
300
+ <h3 class="font-medium">Friends</h3>
301
+ <a href="#" class="text-blue-600 text-sm">See All</a>
302
+ </div>
303
+ <div class="p-3 grid grid-cols-2 gap-2">
304
+ <div class="flex flex-col items-center">
305
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="Friend" class="w-16 h-16 rounded-full object-cover mb-1">
306
+ <span class="text-sm text-center">John Smith</span>
307
+ </div>
308
+ <div class="flex flex-col items-center">
309
+ <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="Friend" class="w-16 h-16 rounded-full object-cover mb-1">
310
+ <span class="text-sm text-center">Emma Watson</span>
311
+ </div>
312
+ <div class="flex flex-col items-center">
313
+ <img src="https://randomuser.me/api/portraits/men/41.jpg" alt="Friend" class="w-16 h-16 rounded-full object-cover mb-1">
314
+ <span class="text-sm text-center">Mike Johnson</span>
315
+ </div>
316
+ <div class="flex flex-col items-center">
317
+ <img src="https://randomuser.me/api/portraits/women/63.jpg" alt="Friend" class="w-16 h-16 rounded-full object-cover mb-1">
318
+ <span class="text-sm text-center">Sophia Lee</span>
319
+ </div>
320
+ </div>
321
+ </div>
322
+ </div>
323
+
324
+ <!-- Middle Column -->
325
+ <div class="w-full md:w-2/3 lg:w-1/2 space-y-4">
326
+ <!-- Create Post -->
327
+ <div class="bg-white rounded-lg shadow overflow-hidden">
328
+ <div class="p-4 flex items-center">
329
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-2">
330
+ <button onclick="openPostModal()" class="flex-1 bg-gray-100 hover:bg-gray-200 rounded-full py-2 px-4 text-left text-gray-500">
331
+ What's on your mind, Sarah?
332
+ </button>
333
+ </div>
334
+ <div class="border-t border-gray-200 p-2 flex justify-between">
335
+ <button class="flex-1 flex items-center justify-center py-2 text-gray-500 hover:bg-gray-100 rounded-md">
336
+ <i class="fas fa-video text-red-500 mr-2"></i> Live Video
337
+ </button>
338
+ <button class="flex-1 flex items-center justify-center py-2 text-gray-500 hover:bg-gray-100 rounded-md">
339
+ <i class="fas fa-images text-green-500 mr-2"></i> Photo/Video
340
+ </button>
341
+ <button class="flex-1 flex items-center justify-center py-2 text-gray-500 hover:bg-gray-100 rounded-md">
342
+ <i class="fas fa-smile text-yellow-500 mr-2"></i> Feeling/Activity
343
+ </button>
344
+ </div>
345
+ </div>
346
+
347
+ <!-- Stories -->
348
+ <div class="bg-white rounded-lg shadow overflow-hidden">
349
+ <div class="p-3 border-b border-gray-200 flex justify-between items-center">
350
+ <h3 class="font-medium">Stories</h3>
351
+ <div class="flex space-x-2">
352
+ <button class="p-1 rounded-full bg-gray-100 hover:bg-gray-200">
353
+ <i class="fas fa-chevron-left text-gray-600"></i>
354
+ </button>
355
+ <button class="p-1 rounded-full bg-gray-100 hover:bg-gray-200">
356
+ <i class="fas fa-chevron-right text-gray-600"></i>
357
+ </button>
358
+ </div>
359
+ </div>
360
+ <div class="p-3 flex overflow-x-auto space-x-2 hide-scrollbar">
361
+ <!-- Your Story -->
362
+ <div class="flex-shrink-0 relative w-32 h-48 rounded-lg overflow-hidden cursor-pointer">
363
+ <img src="https://source.unsplash.com/random/200x300?landscape" alt="Story" class="w-full h-full object-cover">
364
+ <div class="absolute inset-0 bg-black bg-opacity-30"></div>
365
+ <div class="absolute top-2 left-2">
366
+ <div class="w-8 h-8 rounded-full bg-blue-500 flex items-center justify-center text-white">
367
+ <i class="fas fa-plus"></i>
368
+ </div>
369
+ </div>
370
+ <div class="absolute bottom-2 left-2 right-2">
371
+ <p class="text-white font-medium text-sm">Create Story</p>
372
+ </div>
373
+ </div>
374
+
375
+ <!-- Friends' Stories -->
376
+ <div class="flex-shrink-0 relative w-32 h-48 rounded-lg overflow-hidden cursor-pointer story-item">
377
+ <img src="https://source.unsplash.com/random/200x300?city" alt="Story" class="w-full h-full object-cover">
378
+ <div class="absolute inset-0 bg-black bg-opacity-30"></div>
379
+ <div class="absolute top-2 left-2">
380
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-8 h-8 rounded-full border-2 border-blue-500">
381
+ </div>
382
+ <div class="story-details absolute bottom-2 left-2 right-2 opacity-80 transition-opacity duration-200">
383
+ <p class="text-white font-medium text-sm">John Smith</p>
384
+ <p class="text-white text-xs">8 hours ago</p>
385
+ </div>
386
+ </div>
387
+
388
+ <div class="flex-shrink-0 relative w-32 h-48 rounded-lg overflow-hidden cursor-pointer story-item">
389
+ <img src="https://source.unsplash.com/random/200x300?beach" alt="Story" class="w-full h-full object-cover">
390
+ <div class="absolute inset-0 bg-black bg-opacity-30"></div>
391
+ <div class="absolute top-2 left-2">
392
+ <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="User" class="w-8 h-8 rounded-full border-2 border-blue-500">
393
+ </div>
394
+ <div class="story-details absolute bottom-2 left-2 right-2 opacity-80 transition-opacity duration-200">
395
+ <p class="text-white font-medium text-sm">Emma Watson</p>
396
+ <p class="text-white text-xs">12 hours ago</p>
397
+ </div>
398
+ </div>
399
+
400
+ <div class="flex-shrink-0 relative w-32 h-48 rounded-lg overflow-hidden cursor-pointer story-item">
401
+ <img src="https://source.unsplash.com/random/200x300?mountain" alt="Story" class="w-full h-full object-cover">
402
+ <div class="absolute inset-0 bg-black bg-opacity-30"></div>
403
+ <div class="absolute top-2 left-2">
404
+ <img src="https://randomuser.me/api/portraits/men/41.jpg" alt="User" class="w-8 h-8 rounded-full border-2 border-blue-500">
405
+ </div>
406
+ <div class="story-details absolute bottom-2 left-2 right-2 opacity-80 transition-opacity duration-200">
407
+ <p class="text-white font-medium text-sm">Mike Johnson</p>
408
+ <p class="text-white text-xs">Yesterday</p>
409
+ </div>
410
+ </div>
411
+ </div>
412
+ </div>
413
+
414
+ <!-- Posts -->
415
+ <div class="space-y-4">
416
+ <!-- Post 1 -->
417
+ <div class="bg-white rounded-lg shadow overflow-hidden">
418
+ <div class="p-3">
419
+ <div class="flex items-start justify-between">
420
+ <div class="flex items-center">
421
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-2">
422
+ <div>
423
+ <h4 class="font-medium">John Smith</h4>
424
+ <div class="flex items-center text-gray-500 text-xs">
425
+ <span>2 hrs ago</span>
426
+ <span class="mx-1">•</span>
427
+ <i class="fas fa-globe-americas"></i>
428
+ </div>
429
+ </div>
430
+ </div>
431
+ <button class="text-gray-500 hover:text-gray-700">
432
+ <i class="fas fa-ellipsis-h"></i>
433
+ </button>
434
+ </div>
435
+
436
+ <div class="mt-3">
437
+ <p>Just got back from an amazing trip to Hawaii! The beaches are incredible and the people are so friendly. Highly recommend visiting if you get the chance!</p>
438
+ </div>
439
+
440
+ <div class="mt-3 grid grid-cols-2 gap-1 rounded-lg overflow-hidden">
441
+ <img src="https://source.unsplash.com/random/500x300?hawaii" alt="Post media" class="w-full h-40 object-cover">
442
+ <img src="https://source.unsplash.com/random/500x300?beach" alt="Post media" class="w-full h-40 object-cover">
443
+ </div>
444
+
445
+ <div class="mt-3 flex items-center justify-between text-gray-500 text-sm">
446
+ <div class="flex items-center">
447
+ <div class="flex items-center">
448
+ <div class="w-5 h-5 bg-blue-500 rounded-full flex items-center justify-center text-white text-xs">
449
+ <i class="fas fa-thumbs-up"></i>
450
+ </div>
451
+ <div class="w-5 h-5 bg-red-500 rounded-full flex items-center justify-center text-white text-xs -ml-1">
452
+ <i class="fas fa-heart"></i>
453
+ </div>
454
+ </div>
455
+ <span class="ml-1">132</span>
456
+ </div>
457
+ <div>
458
+ <span>24 comments</span>
459
+ <span class="mx-1">•</span>
460
+ <span>5 shares</span>
461
+ </div>
462
+ </div>
463
+
464
+ <div class="mt-2 pt-2 border-t border-gray-200 flex justify-between">
465
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
466
+ <i class="fas fa-thumbs-up mr-1"></i> Like
467
+ </button>
468
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
469
+ <i class="fas fa-comment mr-1"></i> Comment
470
+ </button>
471
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
472
+ <i class="fas fa-share mr-1"></i> Share
473
+ </button>
474
+ </div>
475
+ </div>
476
+ </div>
477
+
478
+ <!-- Post 2 -->
479
+ <div class="bg-white rounded-lg shadow overflow-hidden">
480
+ <div class="p-3">
481
+ <div class="flex items-start justify-between">
482
+ <div class="flex items-center">
483
+ <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-2">
484
+ <div>
485
+ <h4 class="font-medium">Emma Watson</h4>
486
+ <div class="flex items-center text-gray-500 text-xs">
487
+ <span>5 hrs ago</span>
488
+ <span class="mx-1">•</span>
489
+ <i class="fas fa-user-friends"></i>
490
+ </div>
491
+ </div>
492
+ </div>
493
+ <button class="text-gray-500 hover:text-gray-700">
494
+ <i class="fas fa-ellipsis-h"></i>
495
+ </button>
496
+ </div>
497
+
498
+ <div class="mt-3">
499
+ <p>Check out this great article about the future of renewable energy! I think this is really important for all of us to be aware of.</p>
500
+ <div class="mt-2 border border-gray-200 rounded-lg overflow-hidden">
501
+ <img src="https://source.unsplash.com/random/500x300?solar" alt="Article thumbnail" class="w-full h-40 object-cover">
502
+ <div class="p-3">
503
+ <h5 class="font-medium">The Renewable Energy Revolution: What You Need to Know</h5>
504
+ <p class="text-gray-600 text-sm mt-1">energyfuture.com</p>
505
+ <p class="text-gray-500 text-xs mt-1">The world is shifting towards renewable energy at an unprecedented pace. Learn about the technologies and policies driving this change.</p>
506
+ </div>
507
+ </div>
508
+ </div>
509
+
510
+ <div class="mt-3 flex items-center justify-between text-gray-500 text-sm">
511
+ <div class="flex items-center">
512
+ <div class="flex items-center">
513
+ <div class="w-5 h-5 bg-blue-500 rounded-full flex items-center justify-center text-white text-xs">
514
+ <i class="fas fa-thumbs-up"></i>
515
+ </div>
516
+ </div>
517
+ <span class="ml-1">87</span>
518
+ </div>
519
+ <div>
520
+ <span>12 comments</span>
521
+ <span class="mx-1">•</span>
522
+ <span>3 shares</span>
523
+ </div>
524
+ </div>
525
+
526
+ <div class="mt-2 pt-2 border-t border-gray-200 flex justify-between">
527
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
528
+ <i class="fas fa-thumbs-up mr-1"></i> Like
529
+ </button>
530
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
531
+ <i class="fas fa-comment mr-1"></i> Comment
532
+ </button>
533
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
534
+ <i class="fas fa-share mr-1"></i> Share
535
+ </button>
536
+ </div>
537
+ </div>
538
+ </div>
539
+
540
+ <!-- Sponsored Post -->
541
+ <div class="bg-white rounded-lg shadow overflow-hidden">
542
+ <div class="p-3">
543
+ <div class="flex items-start justify-between">
544
+ <div class="flex items-center">
545
+ <img src="https://via.placeholder.com/40" alt="Brand" class="w-10 h-10 rounded-full object-cover mr-2">
546
+ <div>
547
+ <div class="flex items-center">
548
+ <h4 class="font-medium">Adventure Travel Co.</h4>
549
+ <span class="ml-2 text-xs bg-blue-100 text-blue-800 px-1 rounded">Sponsored</span>
550
+ </div>
551
+ <div class="flex items-center text-gray-500 text-xs">
552
+ <span>5 hrs ago</span>
553
+ <span class="mx-1">•</span>
554
+ <i class="fas fa-globe-americas"></i>
555
+ </div>
556
+ </div>
557
+ </div>
558
+ <button class="text-gray-500 hover:text-gray-700">
559
+ <i class="fas fa-ellipsis-h"></i>
560
+ </button>
561
+ </div>
562
+
563
+ <div class="mt-3">
564
+ <p>Dreaming of your next adventure? We've got exclusive deals on amazing trips all around the world! Limited time offer - book now!</p>
565
+
566
+ <div class="mt-3 relative rounded-lg overflow-hidden">
567
+ <img src="https://source.unsplash.com/random/1000x500?adventure" alt="Ad" class="w-full h-48 object-cover">
568
+ <div class="absolute bottom-0 left-0 right-0 bg-gradient-to-t from-black to-transparent p-4 text-white">
569
+ <h4 class="font-bold">50% OFF Summer Adventures</h4>
570
+ <p class="text-sm">Visit our website to claim your discount</p>
571
+ </div>
572
+ </div>
573
+ </div>
574
+
575
+ <div class="mt-3 flex items-center justify-between text-gray-500 text-sm">
576
+ <div class="flex items-center">
577
+ <span>1.2K likes</span>
578
+ </div>
579
+ <div>
580
+ <span>52 comments</span>
581
+ <span class="mx-1">•</span>
582
+ <span>128 shares</span>
583
+ </div>
584
+ </div>
585
+
586
+ <div class="mt-2 pt-2 border-t border-gray-200 flex justify-between">
587
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
588
+ <i class="fas fa-thumbs-up mr-1"></i> Like
589
+ </button>
590
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
591
+ <i class="fas fa-comment mr-1"></i> Comment
592
+ </button>
593
+ <button class="post-actions flex-1 flex items-center justify-center py-1 rounded-md hover:bg-gray-100 text-gray-500">
594
+ <i class="fas fa-share mr-1"></i> Share
595
+ </button>
596
+ </div>
597
+ </div>
598
+ </div>
599
+ </div>
600
+ </div>
601
+
602
+ <!-- Right Column -->
603
+ <div class="hidden lg:block w-1/4 space-y-4">
604
+ <!-- Sponsored -->
605
+ <div class="bg-white rounded-lg shadow overflow-hidden">
606
+ <div class="p-3 border-b border-gray-200">
607
+ <h3 class="font-medium">Sponsored</h3>
608
+ </div>
609
+ <div class="p-2">
610
+ <div class="flex items-start mb-3 cursor-pointer hover:bg-gray-100 p-2 rounded-md">
611
+ <img src="https://via.placeholder.com/100x100" alt="Ad" class="w-16 h-16 rounded-md object-cover mr-2">
612
+ <div>
613
+ <h4 class="text-sm font-medium">Try our new productivity app</h4>
614
+ <p class="text-xs text-gray-500">productivityapp.com</p>
615
+ </div>
616
+ </div>
617
+ <div class="flex items-start cursor-pointer hover:bg-gray-100 p-2 rounded-md">
618
+ <img src="https://via.placeholder.com/100x100" alt="Ad" class="w-16 h-16 rounded-md object-cover mr-2">
619
+ <div>
620
+ <h4 class="text-sm font-medium">Summer sales - up to 70% off</h4>
621
+ <p class="text-xs text-gray-500">shoppingdeals.com</p>
622
+ </div>
623
+ </div>
624
+ </div>
625
+ </div>
626
+
627
+ <!-- Birthdays -->
628
+ <div class="bg-white rounded-lg shadow overflow-hidden">
629
+ <div class="p-3 border-b border-gray-200 flex items-center">
630
+ <h3 class="font-medium">Birthdays</h3>
631
+ <div class="ml-auto">
632
+ <i class="fas fa-birthday-cake text-red-500"></i>
633
+ </div>
634
+ </div>
635
+ <div class="p-3">
636
+ <p class="text-sm">
637
+ <span class="font-medium">Mike Johnson</span> and <span class="font-medium">2 others</span> have birthdays today.
638
+ </p>
639
+ </div>
640
+ </div>
641
+
642
+ <!-- Contacts -->
643
+ <div class="bg-white rounded-lg shadow overflow-hidden">
644
+ <div class="p-3 border-b border-gray-200 flex justify-between items-center">
645
+ <h3 class="font-medium">Contacts</h3>
646
+ <div class="flex space-x-3 text-gray-500">
647
+ <button class="hover:text-gray-700">
648
+ <i class="fas fa-video"></i>
649
+ </button>
650
+ <button class="hover:text-gray-700">
651
+ <i class="fas fa-search"></i>
652
+ </button>
653
+ <button class="hover:text-gray-700">
654
+ <i class="fas fa-ellipsis-h"></i>
655
+ </button>
656
+ </div>
657
+ </div>
658
+ <div class="h-64 overflow-y-auto">
659
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
660
+ <div class="relative">
661
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
662
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
663
+ </div>
664
+ <span class="text-sm">John Smith</span>
665
+ </div>
666
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
667
+ <div class="relative">
668
+ <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
669
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
670
+ </div>
671
+ <span class="text-sm">Emma Watson</span>
672
+ </div>
673
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
674
+ <div class="relative">
675
+ <img src="https://randomuser.me/api/portraits/men/41.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
676
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-gray-500 rounded-full border-2 border-white"></div>
677
+ </div>
678
+ <span class="text-sm">Mike Johnson</span>
679
+ </div>
680
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
681
+ <div class="relative">
682
+ <img src="https://randomuser.me/api/portraits/women/63.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
683
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
684
+ </div>
685
+ <span class="text-sm">Sophia Lee</span>
686
+ </div>
687
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
688
+ <div class="relative">
689
+ <img src="https://randomuser.me/api/portraits/men/18.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
690
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-gray-500 rounded-full border-2 border-white"></div>
691
+ </div>
692
+ <span class="text-sm">David Miller</span>
693
+ </div>
694
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
695
+ <div class="relative">
696
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
697
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
698
+ </div>
699
+ <span class="text-sm">Lisa Ray</span>
700
+ </div>
701
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
702
+ <div class="relative">
703
+ <img src="https://randomuser.me/api/portraits/men/65.jpg" alt="User" class="w-8 h-8 rounded-full object-cover mr-2">
704
+ <div class="absolute bottom-0 right-0 w-3 h-3 bg-green-500 rounded-full border-2 border-white"></div>
705
+ </div>
706
+ <span class="text-sm">Robert Chen</span>
707
+ </div>
708
+ </div>
709
+ </div>
710
+
711
+ <!-- Group Conversations -->
712
+ <div class="bg-white rounded-lg shadow overflow-hidden">
713
+ <div class="p-3 border-b border-gray-200 flex justify-between items-center">
714
+ <h3 class="font-medium">Group Conversations</h3>
715
+ <button class="text-gray-500 hover:text-gray-700">
716
+ <i class="fas fa-plus"></i>
717
+ </button>
718
+ </div>
719
+ <div class="p-2">
720
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
721
+ <div class="relative flex">
722
+ <img src="https://randomuser.me/api/portraits/men/32.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white -mr-2">
723
+ <img src="https://randomuser.me/api/portraits/women/22.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white -mr-2">
724
+ <img src="https://randomuser.me/api/portraits/men/41.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white">
725
+ </div>
726
+ <span class="text-sm ml-2">Weekend Plans</span>
727
+ </div>
728
+ <div class="p-2 flex items-center hover:bg-gray-100 rounded-md cursor-pointer">
729
+ <div class="relative flex">
730
+ <img src="https://randomuser.me/api/portraits/women/63.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white -mr-2">
731
+ <img src="https://randomuser.me/api/portraits/men/18.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white -mr-2">
732
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-8 h-8 rounded-full object-cover border-2 border-white">
733
+ </div>
734
+ <span class="text-sm ml-2">Book Club</span>
735
+ </div>
736
+ </div>
737
+ </div>
738
+ </div>
739
+ </div>
740
+ </div>
741
+ </main>
742
+ </div>
743
+
744
+ <!-- Admin Panel (Hidden by default) -->
745
+ <div id="admin-panel" class="fixed inset-0 bg-gray-800 bg-opacity-75 z-50 hidden flex items-center justify-center p-4">
746
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-6xl h-5/6 flex flex-col overflow-hidden">
747
+ <div class="flex justify-between items-center p-4 border-b border-gray-200">
748
+ <h3 class="text-xl font-bold">Administrator Dashboard</h3>
749
+ <button onclick="hideAdminPanel()" class="p-2 rounded-full hover:bg-gray-200">
750
+ <i class="fas fa-times text-gray-600"></i>
751
+ </button>
752
+ </div>
753
+
754
+ <div class="flex flex-1 overflow-hidden">
755
+ <!-- Admin Sidebar -->
756
+ <div class="w-56 bg-gray-100 border-r border-gray-200 overflow-y-auto">
757
+ <nav class="space-y-1 p-2">
758
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md bg-blue-100 text-blue-600 font-medium">
759
+ <i class="fas fa-tachometer-alt mr-2"></i> Dashboard
760
+ </a>
761
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
762
+ <i class="fas fa-users mr-2"></i> Users
763
+ </a>
764
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
765
+ <i class="fas fa-check-circle mr-2"></i> Verifications
766
+ </a>
767
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
768
+ <i class="fas fa-flag mr-2"></i> Reports
769
+ </a>
770
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
771
+ <i class="fas fa-newspaper mr-2"></i> Posts
772
+ </a>
773
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
774
+ <i class="fas fa-ad mr-2"></i> Advertisements
775
+ </a>
776
+ <a href="#" class="admin-nav-item block px-4 py-2 rounded-md hover:bg-gray-200 text-gray-700">
777
+ <i class="fas fa-cog mr-2"></i> Settings
778
+ </a>
779
+ </nav>
780
+ </div>
781
+
782
+ <!-- Admin Content -->
783
+ <div class="flex-1 overflow-y-auto p-4">
784
+ <h4 class="text-lg font-semibold mb-4">System Overview</h4>
785
+
786
+ <!-- Stats Cards -->
787
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-4 mb-6">
788
+ <div class="bg-white rounded-lg shadow p-4">
789
+ <div class="flex items-center justify-between">
790
+ <div>
791
+ <p class="text-gray-500 text-sm">Total Users</p>
792
+ <h5 class="text-2xl font-bold">12,847</h5>
793
+ </div>
794
+ <div class="bg-blue-100 text-blue-600 p-3 rounded-full">
795
+ <i class="fas fa-users"></i>
796
+ </div>
797
+ </div>
798
+ <p class="text-green-500 text-sm mt-2">
799
+ <i class="fas fa-arrow-up"></i> 5.2% from last month
800
+ </p>
801
+ </div>
802
+
803
+ <div class="bg-white rounded-lg shadow p-4">
804
+ <div class="flex items-center justify-between">
805
+ <div>
806
+ <p class="text-gray-500 text-sm">Pending Verifications</p>
807
+ <h5 class="text-2xl font-bold">127</h5>
808
+ </div>
809
+ <div class="bg-yellow-100 text-yellow-600 p-3 rounded-full">
810
+ <i class="fas fa-check-circle"></i>
811
+ </div>
812
+ </div>
813
+ <p class="text-red-500 text-sm mt-2">
814
+ <i class="fas fa-arrow-up"></i> 8.3% from last week
815
+ </p>
816
+ </div>
817
+
818
+ <div class="bg-white rounded-lg shadow p-4">
819
+ <div class="flex items-center justify-between">
820
+ <div>
821
+ <p class="text-gray-500 text-sm">Active Posts (24h)</p>
822
+ <h5 class="text-2xl font-bold">4,192</h5>
823
+ </div>
824
+ <div class="bg-green-100 text-green-600 p-3 rounded-full">
825
+ <i class="fas fa-newspaper"></i>
826
+ </div>
827
+ </div>
828
+ <p class="text-green-500 text-sm mt-2">
829
+ <i class="fas fa-arrow-up"></i> 2.1% from yesterday
830
+ </p>
831
+ </div>
832
+
833
+ <div class="bg-white rounded-lg shadow p-4">
834
+ <div class="flex items-center justify-between">
835
+ <div>
836
+ <p class="text-gray-500 text-sm">User Reports</p>
837
+ <h5 class="text-2xl font-bold">43</h5>
838
+ </div>
839
+ <div class="bg-red-100 text-red-600 p-3 rounded-full">
840
+ <i class="fas fa-flag"></i>
841
+ </div>
842
+ </div>
843
+ <p class="text-green-500 text-sm mt-2">
844
+ <i class="fas fa-arrow-down"></i> 12.7% from last week
845
+ </p>
846
+ </div>
847
+ </div>
848
+
849
+ <!-- Recent Activity -->
850
+ <div class="bg-white rounded-lg shadow overflow-hidden mb-6">
851
+ <div class="p-4 border-b border-gray-200">
852
+ <h5 class="font-semibold">Recent Activity</h5>
853
+ </div>
854
+ <div class="divide-y divide-gray-200">
855
+ <div class="p-4 hover:bg-gray-50 flex items-start">
856
+ <div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-3">
857
+ <i class="fas fa-user-plus"></i>
858
+ </div>
859
+ <div class="flex-1">
860
+ <p class="text-sm">
861
+ <span class="font-medium">Emma Watson</span> and <span class="font-medium">Mike Johnson</span> became friends
862
+ </p>
863
+ <p class="text-gray-500 text-xs mt-1">12 minutes ago</p>
864
+ </div>
865
+ </div>
866
+
867
+ <div class="p-4 hover:bg-gray-50 flex items-start">
868
+ <div class="bg-yellow-100 text-yellow-600 p-2 rounded-full mr-3">
869
+ <i class="fas fa-check-circle"></i>
870
+ </div>
871
+ <div class="flex-1">
872
+ <p class="text-sm">
873
+ <span class="font-medium">Robert Chen</span> applied for account verification
874
+ </p>
875
+ <p class="text-gray-500 text-xs mt-1">25 minutes ago</p>
876
+ </div>
877
+ <div class="space-x-2">
878
+ <button class="text-xs bg-blue-500 text-white px-2 py-1 rounded hover:bg-blue-600">Approve</button>
879
+ <button class="text-xs bg-gray-200 text-gray-700 px-2 py-1 rounded hover:bg-gray-300">Deny</button>
880
+ </div>
881
+ </div>
882
+
883
+ <div class="p-4 hover:bg-gray-50 flex items-start">
884
+ <div class="bg-red-100 text-red-600 p-2 rounded-full mr-3">
885
+ <i class="fas fa-flag"></i>
886
+ </div>
887
+ <div class="flex-1">
888
+ <p class="text-sm">
889
+ <span class="font-medium">User report:</span> Inappropriate content in post by <span class="font-medium">John Smith</span>
890
+ </p>
891
+ <p class="text-gray-500 text-xs mt-1">1 hour ago</p>
892
+ </div>
893
+ <button class="text-xs bg-blue-500 text-white px-2 py-1 rounded hover:bg-blue-600">Review</button>
894
+ </div>
895
+
896
+ <div class="p-4 hover:bg-gray-50 flex items-start">
897
+ <div class="bg-green-100 text-green-600 p-2 rounded-full mr-3">
898
+ <i class="fas fa-newspaper"></i>
899
+ </div>
900
+ <div class="flex-1">
901
+ <p class="text-sm">
902
+ New post from <span class="font-medium">Sophia Lee</span> received 128 likes in the last hour
903
+ </p>
904
+ <p class="text-gray-500 text-xs mt-1">2 hours ago</p>
905
+ </div>
906
+ </div>
907
+
908
+ <div class="p-4 hover:bg-gray-50 flex items-start">
909
+ <div class="bg-purple-100 text-purple-600 p-2 rounded-full mr-3">
910
+ <i class="fas fa-ad"></i>
911
+ </div>
912
+ <div class="flex-1">
913
+ <p class="text-sm">
914
+ New advertisement campaign <span class="font-medium">"Summer Special"</span> launched by <span class="font-medium">Adventure Co.</span>
915
+ </p>
916
+ <p class="text-gray-500 text-xs mt-1">5 hours ago</p>
917
+ </div>
918
+ </div>
919
+ </div>
920
+ <div class="p-4 border-t border-gray-200 text-center">
921
+ <button class="text-blue-600 hover:text-blue-800 text-sm">View All Activity</button>
922
+ </div>
923
+ </div>
924
+
925
+ <!-- Recent Users -->
926
+ <div class="bg-white rounded-lg shadow overflow-hidden">
927
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
928
+ <h5 class="font-semibold">Recent Users</h5>
929
+ <button class="text-blue-600 hover:text-blue-800 text-sm">View All</button>
930
+ </div>
931
+ <div class="divide-y divide-gray-200">
932
+ <div class="p-4 hover:bg-gray-50 flex items-center">
933
+ <img src="https://randomuser.me/api/portraits/men/68.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-3">
934
+ <div class="flex-1">
935
+ <p class="font-medium">Thomas Wilson</p>
936
+ <p class="text-gray-500 text-xs">Joined 10 minutes ago</p>
937
+ </div>
938
+ <div class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">New</div>
939
+ </div>
940
+
941
+ <div class="p-4 hover:bg-gray-50 flex items-center">
942
+ <img src="https://randomuser.me/api/portraits/women/39.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-3">
943
+ <div class="flex-1">
944
+ <p class="font-medium">Jennifer Lopez</p>
945
+ <p class="text-gray-500 text-xs">Joined 45 minutes ago</p>
946
+ </div>
947
+ <div class="text-xs bg-blue-100 text-blue-800 px-2 py-1 rounded">New</div>
948
+ </div>
949
+
950
+ <div class="p-4 hover:bg-gray-50 flex items-center">
951
+ <img src="https://randomuser.me/api/portraits/men/22.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-3">
952
+ <div class="flex-1">
953
+ <p class="font-medium">David Kim</p>
954
+ <p class="text-gray-500 text-xs">Joined 2 hours ago</p>
955
+ </div>
956
+ </div>
957
+
958
+ <div class="p-4 hover:bg-gray-50 flex items-center">
959
+ <img src="https://randomuser.me/api/portraits/women/52.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-3">
960
+ <div class="flex-1">
961
+ <p class="font-medium">Amanda Roberts</p>
962
+ <p class="text-gray-500 text-xs">Joined 5 hours ago</p>
963
+ </div>
964
+ <div class="text-xs bg-green-100 text-green-800 px-2 py-1 rounded flex items-center">
965
+ <i class="fas fa-check-circle mr-1"></i> Verified
966
+ </div>
967
+ </div>
968
+
969
+ <div class="p-4 hover:bg-gray-50 flex items-center">
970
+ <img src="https://randomuser.me/api/portraits/men/47.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-3">
971
+ <div class="flex-1">
972
+ <p class="font-medium">Michael Brown</p>
973
+ <p class="text-gray-500 text-xs">Joined yesterday</p>
974
+ </div>
975
+ <div class="text-xs bg-yellow-100 text-yellow-800 px-2 py-1 rounded">Pending</div>
976
+ </div>
977
+ </div>
978
+ </div>
979
+ </div>
980
+ </div>
981
+ </div>
982
+ </div>
983
+
984
+ <!-- Create Post Modal -->
985
+ <div id="post-modal" class="fixed inset-0 bg-gray-800 bg-opacity-75 z-50 hidden flex items-center justify-center p-4">
986
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-xl">
987
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center">
988
+ <h3 class="text-lg font-semibold">Create Post</h3>
989
+ <button onclick="closePostModal()" class="text-gray-500 hover:text-gray-700">
990
+ <i class="fas fa-times"></i>
991
+ </button>
992
+ </div>
993
+
994
+ <div class="p-4">
995
+ <div class="flex items-start mb-4">
996
+ <img src="https://randomuser.me/api/portraits/women/44.jpg" alt="User" class="w-10 h-10 rounded-full object-cover mr-2">
997
+ <div>
998
+ <h4 class="font-medium">Sarah Johnson</h4>
999
+ <select class="border border-gray-300 rounded-md px-2 py-1 text-sm">
1000
+ <option><i class="fas fa-globe-americas"></i> Public</option>
1001
+ <option><i class="fas fa-user-friends"></i> Friends</option>
1002
+ <option><i class="fas fa-lock"></i> Only me</option>
1003
+ </select>
1004
+ </div>
1005
+ </div>
1006
+
1007
+ <textarea id="post-content" class="w-full p-2 border-none outline-none resize-none placeholder-gray-500" rows="4" placeholder="What's on your mind, Sarah?"></textarea>
1008
+
1009
+ <div id="post-preview" class="mt-4 hidden">
1010
+ <div class="border border-gray-200 rounded-lg overflow-hidden">
1011
+ <img id="post-preview-image" src="#" alt="Preview" class="w-full h-48 object-cover hidden">
1012
+ <video id="post-preview-video" class="w-full h-48 object-cover hidden" controls></video>
1013
+ <div id="post-preview-link" class="hidden">
1014
+ <div class="flex">
1015
+ <div class="w-1/3 bg-gray-200"></div>
1016
+ <div class="p-3 flex-1">
1017
+ <h5 class="font-medium">Link Title</h5>
1018
+ <p class="text-gray-600 text-sm">example.com</p>
1019
+ </div>
1020
+ </div>
1021
+ </div>
1022
+ </div>
1023
+ </div>
1024
+
1025
+ <div class="mt-4 border border-gray-200 rounded-lg p-2">
1026
+ <h5 class="font-medium text-sm mb-2">Add to your post</h5>
1027
+ <div class="flex space-x-4">
1028
+ <button onclick="triggerPhotoUpload()" class="flex items-center text-gray-600 hover:bg-gray-100 p-1 rounded-md">
1029
+ <i class="fas fa-images text-green-500 mr-1"></i> Photo/Video
1030
+ <input type="file" id="photo-upload" accept="image/*,video/*" class="hidden" onchange="handleMediaUpload(event)">
1031
+ </button>
1032
+ <button class="flex items-center text-gray-600 hover:bg-gray-100 p-1 rounded-md">
1033
+ <i class="fas fa-user-tag text-blue-500 mr-1"></i> Tag People
1034
+ </button>
1035
+ <button class="flex items-center text-gray-600 hover:bg-gray-100 p-1 rounded-md">
1036
+ <i class="fas fa-smile text-yellow-500 mr-1"></i> Feeling/Activity
1037
+ </button>
1038
+ <button class="flex items-center text-gray-600 hover:bg-gray-100 p-1 rounded-md">
1039
+ <i class="fas fa-link text-red-500 mr-1"></i> Link
1040
+ </button>
1041
+ </div>
1042
+ </div>
1043
+ </div>
1044
+
1045
+ <div class="p-4 border-t border-gray-200">
1046
+ <button onclick="publishPost()" class="w-full bg-blue-600 text-white py-2 rounded-md hover:bg-blue-700 font-medium disabled:bg-blue-300" id="publish-button">
1047
+ Post
1048
+ </button>
1049
+ </div>
1050
+ </div>
1051
+ </div>
1052
+
1053
+ <!-- Edit Profile Modal -->
1054
+ <div id="edit-profile-modal" class="fixed inset-0 bg-gray-800 bg-opacity-75 z-50 hidden flex items-center justify-center p-4">
1055
+ <div class="bg-white rounded-lg shadow-xl w-full max-w-3xl max-h-screen overflow-y-auto">
1056
+ <div class="p-4 border-b border-gray-200 flex justify-between items-center sticky top-0 bg-white z-10">
1057
+ <h3 class="text-lg font-semibold">Edit Profile</h3>
1058
+ <button onclick="closeEditProfileModal()" class="text-gray-500 hover:text-gray-700">
1059
+ <i class="fas fa-times"></i>
1060
+ </button>
1061
+ </div>
1062
+
1063
+ <div class="p-6">
1064
+ <!-- Cover Photo Section -->
1065
+ <div class="mb-6">
1066
+ <h4 class="font-medium mb-2">Cover Photo</h4>
1067
+ <div class="relative h-48 w-full bg-gray-100 rounded-lg overflow-hidden">
1068
+ <img id="cover-preview" src="https://source.unsplash.com/random/800x300?nature" alt="Cover Photo" class="w-full h-full object-cover">
1069
+ <div class="absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center hidden" id="cover-overlay">
1070
+ <button onclick="triggerCoverUpload()" class="bg-white text-gray-800 px-4 py-2 rounded-md font-medium">
1071
+ <i class="fas fa-camera mr-2"></i> Change Cover
1072
+ </button>
1073
+ <input type="file" id="cover-upload" accept="image/*" class="hidden" onchange="handleCoverUpload(event)">
1074
+ </div>
1075
+ </div>
1076
+ </div>
1077
+
1078
+ <!-- Profile Photo Section -->
1079
+ <div class="mb-6">
1080
+ <h4 class="font-medium mb-2">Profile Picture</h4>
1081
+ <div class="flex items-center space-x-4">
1082
+ <div class="relative">
1083
+ <img id="profile-preview" src="https://randomuser.me/api/portraits/women/44.jpg" alt="Profile Photo" class="w-24 h-24 rounded-full object-cover">
1084
+ <div class="absolute inset-0 bg-black bg-opacity-30 flex items-center justify-center rounded-full opacity-0 hover:opacity-100 transition-opacity">
1085
+ <button onclick="triggerProfileUpload()" class="text-white">
1086
+ <i class="fas fa-camera text-2xl"></i>
1087
+ </button>
1088
+ <input type="file" id="profile-upload" accept="image/*" class="hidden" onchange="handleProfileUpload(event)">
1089
+ </div>
1090
+ </div>
1091
+ <div>
1092
+ <button class="text-gray-600 hover:text-gray-800">
1093
+ <i class="fas fa-trash-alt mr-1"></i> Remove
1094
+ </button>
1095
+ </div>
1096
+ </div>
1097
+ </div>
1098
+
1099
+ <!-- Basic Information -->
1100
+ <div class="mb-6">
1101
+ <h4 class="font-medium mb-2">Basic Information</h4>
1102
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
1103
+ <div>
1104
+ <label class="block text-sm text-gray-600 mb-1">First Name</label>
1105
+ <input type="text" class="w-full border border-gray-300 rounded-md px-3 py-2" value="Sarah">
1106
+ </div>
1107
+ <div>
1108
+ <label class="block text-sm text-gray-600 mb-1">Last Name</label>
1109
+ <input type="text" class="w-full border border-gray-300 rounded-md px-3 py-2" value="Johnson">
1110
+ </div>
1111
+ <div>
1112
+ <label class="block text-sm text-gray-600 mb-1">Gender</label>
1113
+ <select class="w-full border border-gray-300 rounded-md px-3 py-2">
1114
+ <option>Female</option>
1115
+ <option>Male</option>
1116
+ <option>Other</option>
1117
+ <option>Prefer not to say</option>
1118
+ </select>
1119
+ </div>
1120
+ <div>
1121
+ <label class="block text-sm text-gray-600 mb-1">Date of Birth</label>
1122
+ <div class="grid grid-cols-3 gap-2">
1123
+ <select class="border border-gray-300 rounded-md px-2 py-2">
1124
+ <option>Month</option>
1125
+ <option selected>June</option>
1126
+ </select>
1127
+ <select class="border border-gray-300 rounded-md px-2 py-2">
1128
+ <option>Day</option>
1129
+ <option selected>15</option>
1130
+ </select>
1131
+ <select class="border border-gray-300 rounded-md px-2 py-2">
1132
+ <option>Year</option>
1133
+ <option selected>1990</option>
1134
+ </select>
1135
+ </div>
1136
+ </div>
1137
+ </div>
1138
+ </div>
1139
+
1140
+ <!-- Work and Education -->
1141
+ <div class="mb-6">
1142
+ <div class="flex justify-between items-center mb-4">
1143
+ <h4 class="font-medium">Work and Education</h4>
1144
+ <button class="text-blue-600 hover:text-blue-800 text-sm flex items-center">
1145
+ <i class="fas fa-plus mr-1"></i> Add
1146
+ </button>
1147
+ </div>
1148
+
1149
+ <div class="space-y-3">
1150
+ <div class="flex items-start space-x-3 p-3 border border-gray-200 rounded-lg">
1151
+ <div class="bg-gray-100 p-2 rounded-full text-gray-600">
1152
+ <i class="fas fa-briefcase"></i>
1153
+ </div>
1154
+ <div class="flex-1">
1155
+ <h5 class="font-medium">Software Engineer</h5>
1156
+ <p class="text-gray-600 text-sm">TechCo - Full-time</p>
1157
+ <p class="text-gray-500 text-xs">Jan 2018 - Present</p>
1158
+ </div>
1159
+ <button class="text-gray-500 hover:text-gray-700">
1160
+ <i class="fas fa-pencil-alt"></i>
1161
+ </button>
1162
+ </div>
1163
+
1164
+ <div class="flex items-start space-x-3 p-3 border border-gray-200 rounded-lg">
1165
+ <div class="bg-gray-100 p-2 rounded-full text-gray-600">
1166
+ <i class="fas fa-graduation-cap"></i>
1167
+ </div>
1168
+ <div class="flex-1">
1169
+ <h5 class="font-medium">Stanford University</h5>
1170
+ <p class="text-gray-600 text-sm">Computer Science</p>
1171
+ <p class="text-gray-500 text-xs">2012 - 2016</p>
1172
+ </div>
1173
+ <button class="text-gray-500 hover:text-gray-700">
1174
+ <i class="fas fa-pencil-alt"></i>
1175
+ </button>
1176
+ </div>
1177
+ </div>
1178
+ </div>
1179
+
1180
+ <!-- Places Lived -->
1181
+ <div class="mb-6">
1182
+ <div class="flex justify-between items-center mb-4">
1183
+ <h4 class="font-medium">Places Lived</h4>
1184
+ <button class="text-blue-600 hover:text-blue-800 text-sm flex items-center">
1185
+ <i class="fas fa-plus mr-1"></i> Add
1186
+ </button>
1187
+ </div>
1188
+
1189
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
1190
+ <div>
1191
+ <label class="block text-sm text-gray-600 mb-1">Current City</label>
1192
+ <select class="w-full border border-gray-300 rounded-md px-3 py-2">
1193
+ <option>San Francisco, California</option>
1194
+ </select>
1195
+ </div>
1196
+ <div>
1197
+ <label class="block text-sm text-gray-600 mb-1">Hometown</label>
1198
+ <select class="w-full border border-gray-300 rounded-md px-3 py-2">
1199
+ <option>Seattle, Washington</option>
1200
+ </select>
1201
+ </div>
1202
+ </div>
1203
+ </div>
1204
+
1205
+ <!-- Contact Information -->
1206
+ <div class="mb-6">
1207
+ <div class="flex justify-between items-center mb-4">
1208
+ <h4 class="font-medium">Contact Information</h4>
1209
+ <button class="text-blue-600 hover:text-blue-800 text-sm flex items-center">
1210
+ <i class="fas fa-plus mr-1"></i> Add
1211
+ </button>
1212
+ </div>
1213
+
1214
+ <div class="space-y-4">
1215
+ <div class="grid grid-cols-1 md:grid-cols-2 gap-4">
1216
+ <div>
1217
+ <label class="block text-sm text-gray-600 mb-1">Email</label>
1218
+ <input type="email" class="w-full border border-gray-300 rounded-md px-3 py-2" value="sarah.johnson@example.com">
1219
+ </div>
1220
+ <div>
1221
+ <label class="block text-sm text-gray-600 mb-1">Phone</label>
1222
+ <input type="tel" class="w-full border border-gray-300 rounded-md px-3 py-2" value="(555) 123-4567">
1223
+ </div>
1224
+ </div>
1225
+
1226
+ <div>
1227
+ <label class="block text-sm text-gray-600 mb-1">Website</label>
1228
+ <input type="url" class="w-full border border-gray-300 rounded-md px-3 py-2" placeholder="Add website">
1229
+ </div>
1230
+
1231
+ <div>
1232
+ <label class="block text-sm text-gray-600 mb-1">Social Links</label>
1233
+ <div class="flex space-x-2">
1234
+ <select class="border border-gray-300 rounded-md px-2 py-2">
1235
+ <option>Twitter</option>
1236
+ <option>Instagram</option>
1237
+ <option>LinkedIn</option>
1238
+ </select>
1239
+ <input type="text" class="flex-1 border border-gray-300 rounded-md px-3 py-2" placeholder="username">
1240
+ </div>
1241
+ </div>
1242
+ </div>
1243
+ </div>
1244
+
1245
+ <!-- Verification -->
1246
+ <div class="mb-6">
1247
+ <h4 class="font-medium mb-4">Identity Verification</h4>
1248
+ <div class="bg-blue-50 border border-blue-100 rounded-lg p-4 flex items-start">
1249
+ <div class="bg-blue-100 text-blue-600 p-2 rounded-full mr-3">
1250
+ <i class="fas fa-check-circle"></i>
1251
+ </div>
1252
+ <div>
1253
+ <h5 class="font-medium">Verified Account</h5>
1254
+ <p class="text-gray-600 text-sm">Your account has been verified by our team. This helps build trust in our community.</p>
1255
+ <button class="text-blue-600 hover:text-blue-800 text-sm mt-2 flex items-center">
1256
+ <i class="fas fa-info-circle mr-1"></i> Learn more
1257
+ </button>
1258
+ </div>
1259
+ </div>
1260
+ </div>
1261
+ </div>
1262
+
1263
+ <div class="p-4 border-t border-gray-200 sticky bottom-0 bg-white flex justify-end">
1264
+ <button onclick="closeEditProfileModal()" class="px-4 py-2 rounded-md bg-gray-200 text-gray-700 hover:bg-gray-300 mr-3">Cancel</button>
1265
+ <button onclick="saveProfileChanges()" class="px-4 py-2 rounded-md bg-blue-600 text-white hover:bg-blue-700">Save Changes</button>
1266
+ </div>
1267
+ </div>
1268
+ </div>
1269
+
1270
+ <script>
1271
+ // General functions
1272
+ function toggleDropdown(id) {
1273
+ document.getElementById(id).classList.toggle('hidden');
1274
+ }
1275
+
1276
+ // Close dropdowns when clicking outside
1277
+ document.addEventListener('click', function(event) {
1278
+ if (!event.target.matches('.dropdown button')) {
1279
+ const dropdowns = document.getElementsByClassName('dropdown-menu');
1280
+ for (let i = 0; i < dropdowns.length; i++) {
1281
+ const openDropdown = dropdowns[i];
1282
+ if (!openDropdown.classList.contains('hidden')) {
1283
+ openDropdown.classList.add('hidden');
1284
+ }
1285
+ }
1286
+ }
1287
+ });
1288
+
1289
+ // Modal functions
1290
+ function openModal(title, content, actionText, actionCallback) {
1291
+ document.getElementById('modal-title').textContent = title;
1292
+ document.getElementById('modal-content').innerHTML = content;
1293
+ document.getElementById('modal-action-button').textContent = actionText;
1294
+ document.getElementById('modal-action-button').onclick = actionCallback;
1295
+ document.getElementById('modal-overlay').style.display = 'flex';
1296
+ }
1297
+
1298
+ function closeModal() {
1299
+ document.getElementById('modal-overlay').style.display = 'none';
1300
+ }
1301
+
1302
+ // Notification system
1303
+ function showNotification(type, message) {
1304
+ const notificationSystem = document.getElementById('notification-system');
1305
+ const notification = document.createElement('div');
1306
+
1307
+ notification.className = `p-4 rounded-md shadow-md flex items-start ${
1308
+ type === 'success' ? 'bg-green-100 text-green-700' :
1309
+ type === 'error' ? 'bg-red-100 text-red-700' :
1310
+ type === 'warning' ? 'bg-yellow-100 text-yellow-700' :
1311
+ 'bg-blue-100 text-blue-700'
1312
+ }`;
1313
+
1314
+ notification.innerHTML = `
1315
+ <div class="mr-2 pt-1">
1316
+ <i class="fas ${
1317
+ type === 'success' ? 'fa-check-circle' :
1318
+ type === 'error' ? 'fa-exclamation-circle' :
1319
+ type === 'warning' ? 'fa-exclamation-triangle' :
1320
+ 'fa-info-circle'
1321
+ }"></i>
1322
+ </div>
1323
+ <div class="flex-1">${message}</div>
1324
+ <button onclick="this.parentElement.remove()" class="ml-2 text-gray-500 hover:text-gray-700">
1325
+ <i class="fas fa-times"></i>
1326
+ </button>
1327
+ `;
1328
+
1329
+ notificationSystem.appendChild(notification);
1330
+ notificationSystem.classList.remove('hidden');
1331
+
1332
+ setTimeout(() => {
1333
+ notification.remove();
1334
+ if (notificationSystem.children.length === 0) {
1335
+ notificationSystem.classList.add('hidden');
1336
+ }
1337
+ }, 5000);
1338
+ }
1339
+
1340
+ // Admin panel functions
1341
+ function showAdminPanel() {
1342
+ document.getElementById('admin-panel').classList.remove('hidden');
1343
+ }
1344
+
1345
+ function hideAdminPanel() {
1346
+ document.getElementById('admin-panel').classList.add('hidden');
1347
+ }
1348
+
1349
+ // Post modal functions
1350
+ function openPostModal() {
1351
+ document.getElementById('post-modal').classList.remove('hidden');
1352
+ }
1353
+
1354
+ function closePostModal() {
1355
+ document.getElementById('post-modal').classList.add('hidden');
1356
+ resetPostModal();
1357
+ }
1358
+
1359
+ function resetPostModal() {
1360
+ document.getElementById('post-content').value = '';
1361
+ document.getElementById('post-preview').classList.add('hidden');
1362
+ document.getElementById('post-preview-image').classList.add('hidden');
1363
+ document.getElementById('post-preview-video').classList.add('hidden');
1364
+ document.getElementById('post-preview-link').classList.add('hidden');
1365
+ document.getElementById('publish-button').disabled = true;
1366
+ }
1367
+
1368
+ function triggerPhotoUpload() {
1369
+ document.getElementById('photo-upload').click();
1370
+ }
1371
+
1372
+ function handleMediaUpload(event) {
1373
+ const file = event.target.files[0];
1374
+ if (!file) return;
1375
+
1376
+ const preview = document.getElementById('post-preview');
1377
+ preview.classList.remove('hidden');
1378
+
1379
+ if (file.type.startsWith('image/')) {
1380
+ const previewImage = document.getElementById('post-preview-image');
1381
+ previewImage.src = URL.createObjectURL(file);
1382
+ previewImage.classList.remove('hidden');
1383
+ document.getElementById('post-preview-video').classList.add('hidden');
1384
+ document.getElementById('post-preview-link').classList.add('hidden');
1385
+ } else if (file.type.startsWith('video/')) {
1386
+ const previewVideo = document.getElementById('post-preview-video');
1387
+ previewVideo.src = URL.createObjectURL(file);
1388
+ previewVideo.classList.remove('hidden');
1389
+ document.getElementById('post-preview-image').classList.add('hidden');
1390
+ document.getElementById('post-preview-link').classList.add('hidden');
1391
+ }
1392
+
1393
+ document.getElementById('publish-button').disabled = false;
1394
+ }
1395
+
1396
+ function publishPost() {
1397
+ const content = document.getElementById('post-content').value;
1398
+ const file = document.getElementById('photo-upload').files[0];
1399
+
1400
+ // In a real app, you would send this data to your server
1401
+ console.log('Posting:', { content, file });
1402
+
1403
+ showNotification('success', 'Your post has been published!');
1404
+ closePostModal();
1405
+
1406
+ // Simulate adding the post to the feed
1407
+ setTimeout(() => {
1408
+ showNotification('info', 'People are reacting to your post!');
1409
+ }, 2000);
1410
+ }
1411
+
1412
+ // Edit profile modal functions
1413
+ function openEditProfileModal() {
1414
+ document.getElementById('edit-profile-modal').classList.remove('hidden');
1415
+ }
1416
+
1417
+ function closeEditProfileModal() {
1418
+ document.getElementById('edit-profile-modal').classList.add('hidden');
1419
+ }
1420
+
1421
+ function triggerCoverUpload() {
1422
+ document.getElementById('cover-upload').click();
1423
+ }
1424
+
1425
+ function triggerProfileUpload() {
1426
+ document.getElementById('profile-upload').click();
1427
+ }
1428
+
1429
+ function handleCoverUpload(event) {
1430
+ const file = event.target.files[0];
1431
+ if (!file) return;
1432
+
1433
+ const preview = document.getElementById('cover-preview');
1434
+ preview.src = URL.createObjectURL(file);
1435
+ }
1436
+
1437
+ function handleProfileUpload(event) {
1438
+ const file = event.target.files[0];
1439
+ if (!file) return;
1440
+
1441
+ const preview = document.getElementById('profile-preview');
1442
+ preview.src = URL.createObjectURL(file);
1443
+ }
1444
+
1445
+ function saveProfileChanges() {
1446
+ showNotification('success', 'Your profile changes have been saved!');
1447
+ closeEditProfileModal();
1448
+ }
1449
+
1450
+ // Enable/disable post button based on content
1451
+ document.getElementById('post-content').addEventListener('input', function() {
1452
+ const publishButton = document.getElementById('publish-button');
1453
+ publishButton.disabled = this.value.trim() === '' &&
1454
+ document.getElementById('photo-upload').files.length === 0;
1455
+ });
1456
+
1457
+ // Hover effect for cover photo
1458
+ const coverPhoto = document.querySelector('#cover-preview').parentElement;
1459
+ coverPhoto.addEventListener('mouseenter', function() {
1460
+ document.getElementById('cover-overlay').classList.remove('hidden');
1461
+ });
1462
+ coverPhoto.addEventListener('mouseleave', function() {
1463
+ document.getElementById('cover-overlay').classList.add('hidden');
1464
+ });
1465
+
1466
+ // Initialize some notifications for demo
1467
+ setTimeout(() => {
1468
+ document.getElementById('notification-badge').classList.remove('hidden');
1469
+ document.getElementById('message-badge').classList.remove('hidden');
1470
+
1471
+ // Simulate a friend request notification
1472
+ setTimeout(() => {
1473
+ showNotification('info', 'Mike Johnson sent you a friend request');
1474
+ }, 1000);
1475
+
1476
+ // Simulate a message notification
1477
+ setTimeout(() => {
1478
+ showNotification('info', 'You have 3 new messages');
1479
+ }, 3000);
1480
+ }, 2000);
1481
+
1482
+ // Verify checkboxes are checked for admin actions
1483
+ document.querySelectorAll('.admin-checkbox').forEach(checkbox => {
1484
+ checkbox.addEventListener('change', function() {
1485
+ const checkedCount = document.querySelectorAll('.admin-checkbox:checked').length;
1486
+ document.getElementById('admin-selected-count').textContent = checkedCount;
1487
+ document.getElementById('admin-actions').style.display = checkedCount > 0 ? 'block' : 'none';
1488
+ });
1489
+ });
1490
+
1491
+ // Admin nav item active state
1492
+ document.querySelectorAll('.admin-nav-item').forEach(item => {
1493
+ item.addEventListener('click', function() {
1494
+ document.querySelectorAll('.admin-nav-item').forEach(i => {
1495
+ i.classList.remove('bg-blue-100', 'text-blue-600', 'font-medium');
1496
+ i.classList.add('hover:bg-gray-200', 'text-gray-700');
1497
+ });
1498
+ this.classList.add('bg-blue-100', 'text-blue-600', 'font-medium');
1499
+ this.classList.remove('hover:bg-gray-200', 'text-gray-700');
1500
+ });
1501
+ });
1502
+ </script>
1503
+ <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=saberface89/fft" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
1504
+ </html>
prompts.txt ADDED
@@ -0,0 +1 @@
 
 
1
+ Create me a very advanced and unique social network script using all the fantastic feautres of facebook , include options to verify , make friends,edit profile , and include a detailed administration end , include all server side script I need and make sure all links work no blank or # links