File size: 22,752 Bytes
eaaf0e4
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
689a18c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>SocialSphere | Connect with Friends</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link href="https://unpkg.com/aos@2.3.1/dist/aos.css" rel="stylesheet">
    <script src="https://unpkg.com/aos@2.3.1/dist/aos.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
    <script src="https://unpkg.com/feather-icons"></script>
    <style>
        .custom-scrollbar::-webkit-scrollbar {
            width: 6px;
        }
        .custom-scrollbar::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb {
            background: #888;
            border-radius: 3px;
        }
        .custom-scrollbar::-webkit-scrollbar-thumb:hover {
            background: #555;
        }
        .gradient-text {
            background: linear-gradient(90deg, #3b82f6, #8b5cf6);
            -webkit-background-clip: text;
            background-clip: text;
            color: transparent;
        }
    </style>
</head>
<body class="bg-gray-100 font-sans antialiased">
    <!-- Navbar -->
    <nav class="bg-white shadow-sm fixed w-full z-10">
        <div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
            <div class="flex justify-between h-16">
                <div class="flex items-center">
                    <div class="flex-shrink-0 flex items-center">
                        <h1 class="text-xl font-bold gradient-text">SocialSphere</h1>
                    </div>
                </div>
                <div class="flex items-center">
                    <div class="hidden md:ml-6 md:flex md:space-x-8">
                        <a href="#" class="border-blue-500 text-gray-900 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
                            <i data-feather="home" class="mr-1"></i> Home
                        </a>
                        <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
                            <i data-feather="users" class="mr-1"></i> Friends
                        </a>
                        <a href="#" class="border-transparent text-gray-500 hover:border-gray-300 hover:text-gray-700 inline-flex items-center px-1 pt-1 border-b-2 text-sm font-medium">
                            <i data-feather="bell" class="mr-1"></i> Notifications
                        </a>
                    </div>
                </div>
                <div class="flex items-center">
                    <div class="flex-shrink-0">
                        <div class="relative">
                            <input type="text" placeholder="Search SocialSphere" class="pl-10 pr-4 py-2 rounded-full bg-gray-100 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white w-64">
                            <i data-feather="search" class="absolute left-3 top-2.5 text-gray-500"></i>
                        </div>
                    </div>
                    <div class="ml-4 flex items-center md:ml-6">
                        <button class="p-1 rounded-full text-gray-400 hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
                            <i data-feather="message-circle"></i>
                        </button>
                        <div class="ml-3 relative">
                            <div>
                                <button type="button" class="max-w-xs bg-white flex items-center text-sm rounded-full focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500" id="user-menu">
                                    <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="Profile">
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </nav>

    <!-- Main Content -->
    <div class="max-w-7xl mx-auto pt-20 pb-10 px-4 sm:px-6 lg:px-8">
        <div class="grid grid-cols-1 md:grid-cols-12 gap-6">
            <!-- Left Sidebar -->
            <div class="md:col-span-3">
                <div class="bg-white rounded-lg shadow p-4 sticky top-24">
                    <div class="flex items-center mb-6">
                        <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/42" alt="Profile">
                        <span class="ml-3 font-medium">John Doe</span>
                    </div>
                    <nav class="space-y-2">
                        <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                            <i data-feather="user" class="w-5 h-5"></i>
                            <span class="ml-3">Profile</span>
                        </a>
                        <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                            <i data-feather="users" class="w-5 h-5"></i>
                            <span class="ml-3">Friends</span>
                        </a>
                        <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                            <i data-feather="image" class="w-5 h-5"></i>
                            <span class="ml-3">Photos</span>
                        </a>
                        <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                            <i data-feather="calendar" class="w-5 h-5"></i>
                            <span class="ml-3">Events</span>
                        </a>
                        <a href="#" class="flex items-center p-2 text-gray-600 hover:bg-gray-100 rounded-lg">
                            <i data-feather="bookmark" class="w-5 h-5"></i>
                            <span class="ml-3">Saved</span>
                        </a>
                    </nav>
                </div>
            </div>

            <!-- Main Feed -->
            <div class="md:col-span-6 space-y-4">
                <!-- Create Post -->
                <div class="bg-white rounded-lg shadow p-4">
                    <div class="flex items-start">
                        <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/42" alt="Profile">
                        <input type="text" placeholder="What's on your mind?" class="ml-3 flex-1 bg-gray-100 rounded-full px-4 py-2 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white">
                    </div>
                    <div class="flex justify-between mt-4 pt-4 border-t">
                        <button class="flex items-center text-gray-500 hover:bg-gray-100 px-4 py-2 rounded-lg">
                            <i data-feather="video" class="text-red-500 mr-2"></i> Live Video
                        </button>
                        <button class="flex items-center text-gray-500 hover:bg-gray-100 px-4 py-2 rounded-lg">
                            <i data-feather="image" class="text-green-500 mr-2"></i> Photo/Video
                        </button>
                        <button class="flex items-center text-gray-500 hover:bg-gray-100 px-4 py-2 rounded-lg">
                            <i data-feather="smile" class="text-yellow-500 mr-2"></i> Feeling/Activity
                        </button>
                    </div>
                </div>

                <!-- Stories -->
                <div class="bg-white rounded-lg shadow p-4 overflow-hidden">
                    <div class="flex space-x-2 overflow-x-auto pb-2 custom-scrollbar">
                        <div class="flex-shrink-0 relative rounded-lg overflow-hidden w-32 h-48">
                            <img class="w-full h-full object-cover" src="http://static.photos/travel/320x240/1" alt="Story">
                            <div class="absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black to-transparent">
                                <div class="absolute top-2 left-2 border-4 border-blue-500 rounded-full">
                                    <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="Profile">
                                </div>
                                <p class="text-white text-sm font-medium">Create Story</p>
                            </div>
                        </div>
                        <div class="flex-shrink-0 relative rounded-lg overflow-hidden w-32 h-48">
                            <img class="w-full h-full object-cover" src="http://static.photos/travel/320x240/2" alt="Story">
                            <div class="absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black to-transparent">
                                <div class="absolute top-2 left-2 border-4 border-blue-500 rounded-full">
                                    <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/43" alt="Profile">
                                </div>
                                <p class="text-white text-sm font-medium">Jane Smith</p>
                            </div>
                        </div>
                        <div class="flex-shrink-0 relative rounded-lg overflow-hidden w-32 h-48">
                            <img class="w-full h-full object-cover" src="http://static.photos/travel/320x240/3" alt="Story">
                            <div class="absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black to-transparent">
                                <div class="absolute top-2 left-2 border-4 border-blue-500 rounded-full">
                                    <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/44" alt="Profile">
                                </div>
                                <p class="text-white text-sm font-medium">Mike Johnson</p>
                            </div>
                        </div>
                        <div class="flex-shrink-0 relative rounded-lg overflow-hidden w-32 h-48">
                            <img class="w-full h-full object-cover" src="http://static.photos/travel/320x240/4" alt="Story">
                            <div class="absolute bottom-0 left-0 right-0 p-2 bg-gradient-to-t from-black to-transparent">
                                <div class="absolute top-2 left-2 border-4 border-blue-500 rounded-full">
                                    <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/45" alt="Profile">
                                </div>
                                <p class="text-white text-sm font-medium">Sarah Williams</p>
                            </div>
                        </div>
                    </div>
                </div>

                <!-- Post -->
                <div class="bg-white rounded-lg shadow" data-aos="fade-up">
                    <div class="p-4">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/43" alt="Profile">
                                <div class="ml-3">
                                    <p class="font-medium">Jane Smith</p>
                                    <p class="text-gray-500 text-sm">2 hrs ago · <i data-feather="globe" class="w-3 h-3 inline"></i></p>
                                </div>
                            </div>
                            <button class="text-gray-500 hover:text-gray-700">
                                <i data-feather="more-horizontal"></i>
                            </button>
                        </div>
                        <p class="mt-3">Just visited this amazing place! The views were breathtaking. Can't wait to go back again soon!</p>
                        <img class="mt-3 w-full rounded-lg" src="http://static.photos/travel/640x360/5" alt="Post">
                    </div>
                    <div class="px-4 py-2 border-t border-b">
                        <div class="flex items-center justify-between text-gray-500">
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="thumbs-up" class="w-4 h-4"></i>
                                <span>Like</span>
                            </button>
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="message-square" class="w-4 h-4"></i>
                                <span>Comment</span>
                            </button>
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="share-2" class="w-4 h-4"></i>
                                <span>Share</span>
                            </button>
                        </div>
                    </div>
                    <div class="p-4">
                        <div class="flex items-center">
                            <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/44" alt="Profile">
                            <input type="text" placeholder="Write a comment..." class="ml-3 flex-1 bg-gray-100 rounded-full px-4 py-1 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white">
                        </div>
                    </div>
                </div>

                <!-- Post 2 -->
                <div class="bg-white rounded-lg shadow" data-aos="fade-up">
                    <div class="p-4">
                        <div class="flex items-center justify-between">
                            <div class="flex items-center">
                                <img class="h-10 w-10 rounded-full" src="http://static.photos/people/200x200/44" alt="Profile">
                                <div class="ml-3">
                                    <p class="font-medium">Mike Johnson</p>
                                    <p class="text-gray-500 text-sm">5 hrs ago · <i data-feather="users" class="w-3 h-3 inline"></i></p>
                                </div>
                            </div>
                            <button class="text-gray-500 hover:text-gray-700">
                                <i data-feather="more-horizontal"></i>
                            </button>
                        </div>
                        <p class="mt-3">Check out this new recipe I tried today! It turned out amazing and was super easy to make.</p>
                        <div class="mt-3 grid grid-cols-2 gap-2">
                            <img class="w-full rounded-lg" src="http://static.photos/food/320x240/6" alt="Food">
                            <img class="w-full rounded-lg" src="http://static.photos/food/320x240/7" alt="Food">
                        </div>
                    </div>
                    <div class="px-4 py-2 border-t border-b">
                        <div class="flex items-center justify-between text-gray-500">
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="thumbs-up" class="w-4 h-4"></i>
                                <span>Like</span>
                            </button>
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="message-square" class="w-4 h-4"></i>
                                <span>Comment</span>
                            </button>
                            <button class="flex items-center space-x-1 hover:bg-gray-100 px-2 py-1 rounded">
                                <i data-feather="share-2" class="w-4 h-4"></i>
                                <span>Share</span>
                            </button>
                        </div>
                    </div>
                    <div class="p-4">
                        <div class="flex items-center">
                            <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/42" alt="Profile">
                            <input type="text" placeholder="Write a comment..." class="ml-3 flex-1 bg-gray-100 rounded-full px-4 py-1 focus:outline-none focus:ring-2 focus:ring-blue-500 focus:bg-white">
                        </div>
                    </div>
                </div>
            </div>

            <!-- Right Sidebar -->
            <div class="md:col-span-3 space-y-4">
                <!-- Sponsored -->
                <div class="bg-white rounded-lg shadow p-4">
                    <h3 class="font-medium text-gray-900 mb-3">Sponsored</h3>
                    <div class="space-y-3">
                        <a href="#" class="flex items-start">
                            <img class="h-20 w-20 rounded-lg object-cover" src="http://static.photos/retail/200x200/1" alt="Ad">
                            <div class="ml-3">
                                <p class="text-sm font-medium">Summer Sale - Up to 50% Off</p>
                                <p class="text-xs text-gray-500">example.com</p>
                            </div>
                        </a>
                        <a href="#" class="flex items-start">
                            <img class="h-20 w-20 rounded-lg object-cover" src="http://static.photos/retail/200x200/2" alt="Ad">
                            <div class="ml-3">
                                <p class="text-sm font-medium">New Collection Just Dropped</p>
                                <p class="text-xs text-gray-500">fashionbrand.com</p>
                            </div>
                        </a>
                    </div>
                </div>

                <!-- Birthdays -->
                <div class="bg-white rounded-lg shadow p-4">
                    <h3 class="font-medium text-gray-900 mb-3">Birthdays</h3>
                    <div class="flex items-center">
                        <i data-feather="gift" class="text-pink-500 mr-2"></i>
                        <p class="text-sm"><span class="font-medium">Sarah Williams</span> and <span class="font-medium">2 others</span> have birthdays today.</p>
                    </div>
                </div>

                <!-- Contacts -->
                <div class="bg-white rounded-lg shadow p-4">
                    <div class="flex items-center justify-between mb-3">
                        <h3 class="font-medium text-gray-900">Contacts</h3>
                        <div class="flex space-x-2">
                            <button class="text-gray-500 hover:text-gray-700">
                                <i data-feather="video" class="w-5 h-5"></i>
                            </button>
                            <button class="text-gray-500 hover:text-gray-700">
                                <i data-feather="search" class="w-5 h-5"></i>
                            </button>
                            <button class="text-gray-500 hover:text-gray-700">
                                <i data-feather="more-horizontal" class="w-5 h-5"></i>
                            </button>
                        </div>
                    </div>
                    <div class="space-y-3 max-h-96 overflow-y-auto custom-scrollbar">
                        <div class="flex items-center hover:bg-gray-100 p-1 rounded-lg cursor-pointer">
                            <div class="relative">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/45" alt="Profile">
                                <span class="absolute bottom-0 right-0 h-2 w-2 rounded-full bg-green-500 border border-white"></span>
                            </div>
                            <span class="ml-3 text-sm">Sarah Williams</span>
                        </div>
                        <div class="flex items-center hover:bg-gray-100 p-1 rounded-lg cursor-pointer">
                            <div class="relative">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/46" alt="Profile">
                                <span class="absolute bottom-0 right-0 h-2 w-2 rounded-full bg-green-500 border border-white"></span>
                            </div>
                            <span class="ml-3 text-sm">David Brown</span>
                        </div>
                        <div class="flex items-center hover:bg-gray-100 p-1 rounded-lg cursor-pointer">
                            <div class="relative">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/47" alt="Profile">
                                <span class="absolute bottom-0 right-0 h-2 w-2 rounded-full bg-gray-500 border border-white"></span>
                            </div>
                            <span class="ml-3 text-sm">Emily Davis</span>
                        </div>
                        <div class="flex items-center hover:bg-gray-100 p-1 rounded-lg cursor-pointer">
                            <div class="relative">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/48" alt="Profile">
                                <span class="absolute bottom-0 right-0 h-2 w-2 rounded-full bg-green-500 border border-white"></span>
                            </div>
                            <span class="ml-3 text-sm">Robert Wilson</span>
                        </div>
                        <div class="flex items-center hover:bg-gray-100 p-1 rounded-lg cursor-pointer">
                            <div class="relative">
                                <img class="h-8 w-8 rounded-full" src="http://static.photos/people/200x200/49" alt="Profile">
                                <span class="absolute bottom-0 right-0 h-2 w-2 rounded-full bg-gray-500 border border-white"></span>
                            </div>
                            <span class="ml-3 text-sm">Jennifer Lee</span>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script>
        AOS.init({
            duration: 800,
            easing: 'ease-in-out',
            once: true
        });
    </script>
    <script>feather.replace();</script>
</body>
</html>