-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
291 lines (282 loc) · 12.5 KB
/
index.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
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.2/css/all.min.css"
integrity="sha512-1sCRPdkRXhBV2PBLUdRb4tMg1w2YPf37qatUFeS7zlBy7jJI8Lf4VHwWfZZfpXtYSLy85pkm9GaYVYMfw5BC1A=="
crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="dist/output.css">
</head>
<body class="bg-white dark:bg-dim-900">
<!-- Container -->
<div class="container mx-auto h-screen flex xl:max-w-[1200px]">
<!-- Left -->
<div class="xl:w-1/5 w-20 h-full flex flex-col xl:pr-4">
<!-- Logo -->
<a href="" class="link-active my-2">
<i class="fa-brands fa-twitter text-4xl "></i>
</a>
<!-- Nav -->
<nav class="mt-5">
<a href="" class="link-active mb-8">
<i class="fa-solid fa-house text-xl"></i>
<span class="icon">Home</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-hashtag text-xl"></i>
<span class="icon">Explore</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-bell text-xl"></i>
<span class="icon">Notifications</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-envelope text-xl"></i>
<span class="icon">Messages</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-bookmark text-xl"></i>
<span class="icon">Bookmarks</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-list-ul text-xl"></i>
<span class="icon">Lists</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-user text-xl"></i>
<span class="icon">Profile</span>
</a>
<a href="" class="link mb-8">
<i class="fa-solid fa-ellipsis text-xl"></i>
<span class="icon">More</span>
</a>
</nav>
<!-- Button -->
<a href=""
class="mx-auto w-11 h-11 xl:w-full flex items-center justify-center bg-blue-400 rounded-full text-white font-bold">
<i class="fa-solid fa-feather text-xl block xl:hidden "></i>
<span class="icon xl:ml-0">Tweet</span>
</a>
<!-- User -->
<div class="w-14 xl:w-full mx-auto mt-auto flex justify-between mb-2 rounded-full p-2 cursor-pointer ">
<img class="w-10 h-10 rounded-full"
src="https://pbs.twimg.com/profile_images/1444753598328496128/hCCopfyz_400x400.jpg" alt="" />
<div class="hidden xl:flex flex-col">
<h4 class="text-gray-800 dark:text-white font-bold text-sm">Ag coding</h4>
<p class="text-gray-400 text-sm">@abdoelazizgamal</p>
</div>
<i class="fa-solid fa-chevron-down text-xs hidden xl:flex items-center xl:ml-4 text-gray-800 dark:text-white">
</i>
</div>
</div>
<!-- End Left -->
<!-- Middle -->
<div class="w-full xl:w-1/2 h-screen overflow-y-auto">
<!-- Sticky Header -->
<div
class="flex justify-between items-center border px-4 py-3 sticky top-0 bg-white dark:bg-dim-900 border-gray-200 dark:border-gray-700">
<h4 class="text-gray-800 dark:text-gray-100 font-bold ">
Home
</h4>
<i class="fa-brands fa-twitter text-lg text-blue-400"></i>
</div>
<!-- Tweet Box -->
<div class=" border pb-3 border-gray-200 dark:border-dim-200 ">
<div class="flex p-4 ">
<img class="w-10 h-10 rounded-full "
src="https://pbs.twimg.com/profile_images/1444753598328496128/hCCopfyz_400x400.jpg" alt="" />
<textarea class="p-2 dark:text-white text-gray-900 w-full h-16 bg-transparent focus:outline-none resize-none"
placeholder="What's happening?"></textarea>
</div>
<div class="flex p-4 w-full">
<a href="" class="text-blue-400 rounded-full p-2">
<i class="fa-solid fa-image text-lg"></i>
</a>
<a href="" class="text-blue-400 rounded-full p-2">
<i class="fa-solid fa-image text-lg"></i>
</a>
<a href="" class="text-blue-400 rounded-full p-2">
<i class="fa-solid fa-image text-lg"></i>
</a>
<a href="" class="text-blue-400 rounded-full p-2">
<i class="fa-solid fa-image text-lg"></i>
</a>
<a href="" class="text-blue-400 rounded-full p-2">
<i class="fa-solid fa-image text-lg"></i>
</a>
<a href="" class="font-bold bg-blue-400 text-white rounded-full px-6 ml-auto mr-1 flex items-center">
Tweet
</a>
</div>
</div>
<!-- Show tweets -->
<div
class="text-center py-4 bg-white dark:bg-dim-900 border border-gray-200 dark:border-dim-200 cursor-pointer text-blue-400 text-sm ">
Show 9 Tweets
</div>
<!-- Tweet -->
<div class="border border-gray-200 dark:border-dim-200 cursor-pointer pb-4 ">
<div class="flex p-4 pb-0">
<img class="h-9 w-9 rounded-full "
src="https://pbs.twimg.com/profile_images/1444753598328496128/hCCopfyz_400x400.jpg" alt="" />
<p class="ml-2 flex flex-shrink-0 items-center font-medium text-gray-800 dark:text-white">
Ag Coding
<span class="ml-1 text-sm leading-5 text-gray-400 ">
@abdoelazizgamal . Nov 2
</span>
</p>
</div>
<div class="pl-8 xl:pl-16 pr-4">
<p class=" w-auto font-medium text-gray-800 dark:text-white ">
Any fool can write code that a computer can understand. Good programmers write code that humans can
understand.<br />
<br />
Experience is the name everyone gives to their
<a href="#" class="text-blue-400">#mistakes</a>
<br />
<br />
Simplicity is the soul of efficiency.
</p>
<img class="rounded-2xl border border-gray-600 my-3 mr-2 w-full"
src="https://images.nature.com/original/magazine-assets/d41586-019-00653-5/d41586-019-00653-5_16459150.jpg"
alt="" />
<div class="flex items-center w-full justify-between">
<div
class=" flex items-center dark:text-white text-xs text-gray-400 hover:text-blue-400 dark:hover:text-blue-400">
<i class="fa-solid fa-comment mr-2 text-lg"></i>
12.3 k
</div>
<div
class=" flex items-center dark:text-white text-xs text-gray-400 hover:text-green-400 dark:hover:text-green-400 ">
<i class="fa-solid fa-retweet mr-2 text-lg"></i>
14 k
</div>
<div
class=" flex items-center dark:text-white text-xs text-gray-400 hover:text-red-600 dark:hover:text-red-600">
<i class="fa-solid fa-heart mr-2 text-lg"></i>
14 k
</div>
<div
class=" flex items-center dark:text-white text-xs text-gray-400 hover:text-blue-400 dark:hover:text-blue-400">
<i class="fa-solid fa-share mr-2 text-lg"></i>
</div>
</div>
</div>
</div>
<!-- Toggler -->
<div class="py-2 border border-gray-200 dark:border-dim-200 bg-gray-50 dark:bg-dim-300 ">
<div class="text-center p-6 bg-white dark:bg-dim-900 border-b border-t border-gray-200 dark:border-dim-200 ">
<h3 class="dark:text-white text-gray-900 text-2xl font-bold mb-2">
Customize your view
</h3>
<p class="text-gray-500 mb-5 text-sm">
Manage your font size, color and background. These settings
affect all the Twitter accounts on this browser.
</p>
<a href="javascript:void(0)" onclick="document.querySelector('html').classList.toggle('dark')"
class="mx-auto w-11 h-11 xl:w-48 flex items-center justify-center bg-blue-400 py-3 rounded-full text-white font-bold">
<i class="fa-solid fa-cloud-moon block xl:hidden text-lg"></i>
<span class="hidden xl:block font-bold ">Toggle Dark Mode</span>
</a>
</div>
</div>
<!-- Spinner -->
<div class=" p-4 border border-gray-200 dark:border-gray-700">
<svg class="w-8 h-8 mx-auto animate-spin-fast ">
<circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="stroke: rgb(29, 161, 242); opacity: 0.2">
</circle>
<circle cx="16" cy="16" fill="none" r="14" stroke-width="4" style="
stroke: rgb(29, 161, 242);
stroke-dasharray: 80;
stroke-dashoffset: 60;">
</circle>
</svg>
</div>
</div>
<!-- Right -->
<div class="hidden w-[30%] xl:block ">
<!-- Search -->
<div class="relative m-2">
<i class="fa-solid fa-magnifying-glass text-gray-600 absolute left-4 top-1/2 -translate-y-1/2"></i>
<input type="text"
class="w-full bg-gray-200 dark:bg-dim-400 border-gray-200 dark:border-dim-400 text-gray-100 focus:outline-none font-normal h-9 pl-12 text-sm rounded-full"
placeholder="Search Twitter" />
</div>
<div class="bg-gray-50 dark:bg-dim-700 rounded-2xl m-2">
<h3 class="text-gray-900 dark:text-white font-bold p-3 border-b border-gray-200 dark:border-dim-200">
What’s happening
</h3>
<div class="p-3 border-b border-gray-200 dark:border-dim-200">
<h4 class="font-bold text-gray-800 dark:text-white">
#Palestine
</h4>
<p class="text-xs text-gray-400">29.7K Tweets</p>
</div>
<div class="p-3 border-b border-gray-200 dark:border-dim-200">
<h4 class="font-bold text-gray-800 dark:text-white">
#Palestine
</h4>
<p class="text-xs text-gray-400">29.7K Tweets</p>
</div>
<div class="p-3 border-b border-gray-200 dark:border-dim-200">
<h4 class="font-bold text-gray-800 dark:text-white">
#Palestine
</h4>
<p class="text-xs text-gray-400">29.7K Tweets</p>
</div>
<div class="text-blue-400 p-3 cursor-pointer">
Show more
</div>
</div>
<!-- Who to follow -->
<div class="bg-gray-50 dark:bg-dim-700 rounded-2xl m-2">
<h3 class="text-gray-900 dark:text-white font-bold p-3 border-b border-gray-200 dark:border-dim-200">
Who to follow
</h3>
<div class="p-5 border-b border-gray-200 dark:border-dim-200 flex justify-between items-center">
<div class="flex ">
<img class="w-10 h-10 rounded-full"
src="https://pbs.twimg.com/profile_images/1444753598328496128/hCCopfyz_400x400.jpg" alt="" />
<div class=" ml-2 text-sm ">
<h5 class="text-gray-900 dark:text-white font-bold">
abdoelazizgamal
</h5>
<p class="text-gray-400 ">@abdoelazizgamal</p>
</div>
</div>
<a href="#" class="text-xs font-bold text-blue-400 px-4 py-1 rounded-full border-2 border-blue-400">Follow</a>
</div>
<div class="p-5 border-b border-gray-200 dark:border-dim-200 flex justify-between items-center">
<div class="flex ">
<img class="w-10 h-10 rounded-full"
src="https://pbs.twimg.com/profile_images/1444753598328496128/hCCopfyz_400x400.jpg" alt="" />
<div class=" ml-2 text-sm ">
<h5 class="text-gray-900 dark:text-white font-bold">
abdoelazizgamal
</h5>
<p class="text-gray-400 ">@abdoelazizgamal</p>
</div>
</div>
<a href="#" class="text-xs font-bold text-blue-400 px-4 py-1 rounded-full border-2 border-blue-400">Follow</a>
</div>
<div class="p-5 border-b border-gray-200 dark:border-dim-200 ">
<div class="flex gap-x-4 animate-pulse">
<div class="rounded-full bg-gray-400 h-12 w-12"></div>
<div class="flex-1 space-y-2 py-1">
<div class="h-4 bg-gray-400 rounded w-5/6"></div>
<div class="h-4 bg-gray-400 rounded w-3/4"></div>
<div class="h-4 bg-gray-400 rounded w-4/6"></div>
</div>
</div>
</div>
<div class="text-blue-400 p-3 cursor-pointer">
Show more
</div>
</div>
</div>
</div>
</body>
</html>