-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
278 lines (247 loc) · 8.39 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Twitter Clone</title>
<!-- Font Awesome -->
<link rel="stylesheet" href="plugins/fontawesome/css/all.min.css" />
<!-- Vanilla CSS -->
<link rel="stylesheet" href="style/style.css" />
<!-- Fonts -->
<link rel="stylesheet" href="plugins/fonts/fonts.css" />
<!-- Tailwind CSS -->
<script src="plugins/tailwind/tailwind.js"></script>
<!-- Tailwind Customization -->
<script>
tailwind.config = {
theme: {
colors: {
primary: "#1c9af0",
black: "#010001",
white: "#e7e8ec",
gray: "#16181d",
grey: "#59595a",
},
screens: {
sm: "550px",
// => @media (min-width: 550px) { ... }
md: "800px",
// => @media (min-width: 700px) { ... }
lg: "1024px",
// => @media (min-width: 1024px) { ... }
xl: "1280px",
// => @media (min-width: 1280px) { ... }
"2xl": "1536px",
// => @media (min-width: 1536px) { ... }
},
},
};
</script>
</head>
<body class="sm:hidden bg-black text-white overflow-x-hidden scrollbar-thin scrollbar-thumb-rounded-full scrollbar-thumb-gray-300 scrollbar-track-gray-100">
<nav class="sticky bg-black w-screen">
<div class="px-3 py-2 flex justify-between">
<img
src="images/my-pic.png"
alt=""
class="w-12 h-12 rounded-full bg-gray object-cover"
/>
<button class="text-primary">
<i class="fa-brands fa-twitter fa-2xl"></i>
</button>
<button class="text-primary text-lg invisible">
<i class="fa-brands fa-twitter fa-2xl"></i>
</button>
</div>
<hr class="text-gray font-semibold" />
<div class="flex justify-around mt-6">
<a
href=""
class="text-md font-semibold text-white pb-3 border-b-4 border-primary"
>
For you
</a>
<a href="" class="text-md text-grey font-semibold"> Following </a>
</div>
<hr class="text-gray font-semibold" />
</nav>
<!-- Main Section Starts-->
<section class="px-3 pt-6">
<!-- Post Card Starts -->
<div>
<div class="flex justify-between text-white">
<div class="flex justify-start space-x-2">
<img
src="images/my-pic.png"
alt=""
class="w-14 h-14 rounded-full bg-gray object-cover"
/>
<p class="text-white font-semibold">
Samuel
<span class="text-grey px-2">@therealsilkart . 16h</span>
</p>
</div>
<div>
<button class="text-grey">
<i class="fa-solid fa-ellipsis-vertical fa-lg"></i>
</button>
</div>
</div>
<div class="pl-16 -mt-7">
<p class="">
Welcome to the world of Samuel's Twitter
<span class="text-primary">#NewProfilePics</span>
</p>
<img
src="images/my-pic.png"
alt=""
class="mx-auto mt-4 bg-gray rounded-xl w-68 h-68"
/>
<div class="flex justify-between mt-4">
<p class="text-grey font-semibold">
<i class="fa-solid fa-reply fa-lg"></i>
<span class="px-1">197</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-retweet fa-lg"></i>
<span class="px-1">1.2K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-regular fa-heart fa-lg"></i>
<span class="px-1">10.1K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-share fa-lg"></i>
</p>
</div>
</div>
</div>
<hr class="text-grey my-5">
<div>
<div class="flex justify-between text-white">
<div class="flex justify-start space-x-2">
<img
src="images/my-pic.png"
alt=""
class="w-14 h-14 rounded-full bg-gray object-cover"
/>
<p class="text-white font-semibold">
Samuel
<span class="text-grey px-2">@therealsilkart . 16h</span>
</p>
</div>
<div>
<button class="text-grey">
<i class="fa-solid fa-ellipsis-vertical fa-lg"></i>
</button>
</div>
</div>
<div class="pl-16 -mt-7">
<p class="">
Can only Admire them
<span class="text-primary">#TheGOATs</span>
</p>
<img
src="images/img4.jpg_large"
alt=""
class="mx-auto mt-4 bg-gray rounded-xl w-68 h-68"
/>
<div class="flex justify-between mt-4">
<p class="text-grey font-semibold">
<i class="fa-solid fa-reply fa-lg"></i>
<span class="px-1">197</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-retweet fa-lg"></i>
<span class="px-1">1.2K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-regular fa-heart fa-lg"></i>
<span class="px-1">10.1K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-share fa-lg"></i>
</p>
</div>
</div>
</div>
<hr class="text-grey my-5">
<div>
<div class="flex justify-between text-white">
<div class="flex justify-start space-x-2">
<img
src="images/my-pic.png"
alt=""
class="w-14 h-14 rounded-full bg-gray object-cover"
/>
<p class="text-white font-semibold">
Samuel
<span class="text-grey px-2">@therealsilkart . 16h</span>
</p>
</div>
<div>
<button class="text-grey">
<i class="fa-solid fa-ellipsis-vertical fa-lg"></i>
</button>
</div>
</div>
<div class="pl-16 -mt-7">
<p class="">
A Quick Look at my dream car
<span class="text-primary">#Bughatti</span>
</p>
<img
src="images/img3.jpg"
alt=""
class="mx-auto mt-4 bg-gray rounded-xl w-68 h-68"
/>
<div class="flex justify-between mt-4">
<p class="text-grey font-semibold">
<i class="fa-solid fa-reply fa-lg"></i>
<span class="px-1">197</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-retweet fa-lg"></i>
<span class="px-1">1.2K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-regular fa-heart fa-lg"></i>
<span class="px-1">10.1K</span>
</p>
<p class="text-grey font-semibold">
<i class="fa-solid fa-share fa-lg"></i>
</p>
</div>
</div>
</div>
<hr class="text-grey my-5">
<!-- Post Card Ends -->
</section>
<!-- Footer Section Starts -->
<footer class="sticky bg-black w-screen border-t border-grey pb-2 bottom-0">
<div class=" px-4 flex justify-between mt-4">
<p class="text-white font-semibold border-b-4 border-primary pb-2">
<i class="fa-solid fa-house-chimney-window fa-xl"></i>
</p>
<p class="text-white font-semibold">
<i class="fa-solid fa-magnifying-glass fa-xl"></i>
</p>
<p class="text-white font-semibold">
<i class="fa-solid fa-microphone-lines fa-xl"></i>
</p>
<p class="text-white font-semibold">
<i class="fa-solid fa-bell fa-xl"></i>
</p>
<p class="text-white font-semibold">
<i class="fa-solid fa-envelope fa-xl"></i>
<sup class="-ml-2 text-white px-1 rounded-full bg-primary">
2
</sup>
</p>
</div>
</div>
</footer>
<!-- Footer Section Ends -->
</body>
</html>