forked from abhrajit2004/Twitter-Landing-Page
-
Notifications
You must be signed in to change notification settings - Fork 0
/
communities.html
411 lines (406 loc) · 18.1 KB
/
communities.html
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
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Home / X</title>
<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@24,400,0,0"
/>
<link rel="stylesheet" href="css/output.css" />
</head>
<body class="bg-black min-h-screen text-white">
<div class="flex flex-row container mx-auto">
<div class="left-sidebar h-full">
<div class="flex justify-between flex-col h-full">
<div>
<div class="invert logo mx-5 my-3 w-full">
<svg
viewBox="0 0 24 24"
aria-hidden="true"
class="w-8 r-4qtqp9 r-yyyyoo r-dnmrzs r-bnwqim r-1plcrui r-lrvibr r-lrsllp r-1nao33i r-16y2uox r-8kz0gk"
>
<g>
<path
d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
></path>
</g>
</svg>
</div>
<div class="sidebar w-full">
<ul class="flex flex-col text-xl font-medium">
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-3 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">home</span
>Home
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">search</span
>Explore
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl"
>notifications</span
>Notifications
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">email</span
>Messages
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">chat</span
>Grok
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all active"
>
<span class="material-symbols-outlined text-3xl">group</span
><a href="communities.html">Communities</a>
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">lists</span
>Lists
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl"
>bookmarks</span
>Premium
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">person</span
><a href="profile.html">Profile</a>
</li>
<li
class="flex items-center gap-3 w-fit hover:bg-gray-900 cursor-pointer px-5 py-2 hover:rounded-full transition-all"
>
<span class="material-symbols-outlined text-3xl">more</span
>More
</li>
<li class="flex items-center gap-3 w-full cursor-pointer p-3">
<button
class="bg-[#1d9bf0] hover:bg-[#1a8cd8] px224 py-4 rounded-full w-full p-3"
>
Post
</button>
</li>
</ul>
</div>
</div>
<div class="p-4 w-full">
<div
class="flex items-center gap-3 hover:bg-gray-900 cursor-pointer p-3 w-full hover:rounded-full transition-all"
>
<img class="rounded-full size-8" src="public/dp.jpg" alt="..." />
<a href="profile.html">
<div class="aboutitem">
<div class="font-medium text-md">Abhrajit Gupta</div>
<div class="text-sm text-gray-500">@abhrajit_gupta</div>
</div>
</a>
</div>
</div>
</div>
</div>
<div
class="second w-full border-[1px] border-x-[#2f3336] border-y-[#2f3336]"
>
<div class="top flex p-3 relative cursor-pointer">
<div class="settings mx-2 justify-center">
<span class="material-symbols-outlined transform transition duration-300 hover:scale-110 hover:shadow-lg">
<a href="index.html">arrow_back</a>
</span>
</div>
<div class="settings mx-auto">
<span class="title font-bold">
Communities
</span>
</div>
<div class="settings mx-8">
<span class="material-symbols-outlined transform transition duration-300 hover:scale-110 hover:shadow-lg">
groupadd
</span>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
<div class="posts">
<div class="post">
<div class="flex">
<div class="image m-3">
<img class="rounded-full w-32" src="public/item2.jpg" alt="..." />
</div>
<div class="content my-3">
<div class="profile-info flex gap-1">
<span class="material-symbols-outlined text-xl">group</span>
<span class="text-gray-500 font-medium hover:underline"> Fan_page srk</span>
</div>
<div class="profile-info flex gap-1">
<span class="font-bold hover:underline cursor-pointer"
>Shah Rukh Khan</span
>
<span class="material-symbols-outlined text-[#1d9bf0]"
>verified</span
>
<span class="text-gray-500 font-medium"> @iamsrk · 9h</span>
</div>
<div>
Wishing you all a very Happy Republic Day…. May the Tiranga
always fly high, symbolising the unity, strength and pride of
our nation. As Indians, let's contribute towards the
progress and prosperity of our country. Jai Hind!
</div>
<div class="postimg cursor-pointer">
<img
class="w-[96%] rounded-xl my-2"
src="public/sample.jpeg"
alt="..."
/>
</div>
<div class="icons flex mx-2 justify-around text-gray-600">
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
chat_bubble </span
>1.5K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-green-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-green-600 hover:text-green-300 hover:rounded-full flex p-1 items-center transition-all"
>
repeat </span
>6.3K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-pink-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-pink-600 hover:text-pink-300 hover:rounded-full flex p-1 items-center transition-all"
>
favorite </span
>54K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
bar_chart </span
>791K
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex items-center transition-all"
>
bookmark
</span>
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
iOS_share
</span>
</div>
</div>
</div>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
<div class="post">
<div class="flex">
<div class="image m-3">
<img class="rounded-full" src="public/item5.jpg" alt="..." />
</div>
<div class="content my-3">
<div class="profile-info flex gap-1">
<span class="material-symbols-outlined text-xl">group</span>
<span class="text-gray-500 font-medium hover:underline">Dev community</span>
</div>
<div class="profile-info flex gap-1">
<span class="font-bold hover:underline cursor-pointer"
>Daniel Cranney</span
>
<span class="material-symbols-outlined text-[#1d9bf0]"
>verified</span
>
<span class="text-gray-500 font-medium">
@danielcranney · 14h</span
>
</div>
<div>
Developers, I'm not the only one who thinks HTML could be
more readable, right? 🤔
</div>
<div class="postimg cursor-pointer">
<img
class="w-[96%] rounded-xl my-2"
src="public/sample2.jpeg"
alt="..."
/>
</div>
<div class="icons flex mx-2 justify-around text-gray-600">
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
chat_bubble </span
>1.5K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-green-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-green-600 hover:text-green-300 hover:rounded-full flex p-1 items-center transition-all"
>
repeat </span
>6.3K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-pink-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-pink-600 hover:text-pink-300 hover:rounded-full flex p-1 items-center transition-all"
>
favorite </span
>54K
</div>
<div
class="icon flex items-center justify-center cursor-pointer hover:text-blue-600 transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:bg-blue-600 hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
bar_chart </span
>791K
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex items-center transition-all"
>
bookmark
</span>
</div>
<div
class="icon flex items-center justify-center cursor-pointer transition-all"
>
<span
class="material-symbols-outlined w-[70%] hover:text-blue-300 hover:rounded-full flex p-1 items-center transition-all"
>
iOS_share
</span>
</div>
</div>
</div>
</div>
</div>
<hr class="border-x-[#2f3336] border-y-[#2f3336]" />
</div>
</div>
<div class="third">
<div class="search flex justify-center mx-6 my-3">
<input
type="text"
class="rounded-full bg-[#16181c] px-4 py-2 w-96"
placeholder="Search"
/>
</div>
<!-- <div class="premium bg-gray-800 w-96 flex flex-col px-4 py-2 m-auto rounded-xl gap-2">
<h1 class="font-bold text-2xl">Subscribe to Premium</h1>
<div>Subscribe to unlock new features and if eligible, receive a share of ads revenue.</div>
<button class="btn bg-blue-500 w-fit px-4 py-2 rounded-full font-bold my-1 hover:bg-blue-600">Subscribe</button>
</div> -->
<div class="whats bg-[#16181c] rounded-xl my-3 mx-6 w-96">
<h1 class="text-xl font-bold p-3">What's happening</h1>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#RepublicDayAtNSEC</div>
<div class="font-bold text-sm text-gray-500">2M posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#AnimalOnNetflix</div>
<div class="font-bold text-sm text-gray-500">900K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#Orry</div>
<div class="font-bold text-sm text-gray-500">700K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#Fighter</div>
<div class="font-bold text-sm text-gray-500">600K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer transition-all"
>
<div class="font-bold text-sm text-gray-500">Trending in India</div>
<div class="font-bold">#SigmaCourse</div>
<div class="font-bold text-sm text-gray-500">500K posts</div>
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer hover:rounded-xl transition-all"
>
<div class="text-blue-400 hover:underline">Show more</div>
</div>
</div>
<div class="who bg-[#16181c] rounded-xl my-3 mx-6 w-96">
<h1 class="text-xl font-bold p-3">Who to follow</h1>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer flex transition-all"
>
<img class="rounded-full" src="public/item1.jpg" alt="..." />
<div class="aboutitem mx-3">
<div class="font-bold">Neeraj Walia</div>
<div class="text-sm text-gray-500">@ezSnippet</div>
</div>
<!-- <button class="bg-white text-black font-medium rounded-full w-24 mx-8">Follow</button> -->
</div>
<div
class="item px-4 p-3 hover:bg-gray-700 cursor-pointer hover:rounded-xl transition-all"
>
<div class="text-blue-400 hover:underline">Show more</div>
</div>
</div>
</div>
</div>
</body>
</html>