-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
474 lines (436 loc) · 19.3 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
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
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<title>Document</title>
<script src="https://kit.fontawesome.com/9b95c05968.js" crossorigin="anonymous"></script>
<link href="https://fonts.googleapis.com/css2?family=Josefin+Sans:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="style.css">
</head>
<body>
<!-- main page -->
<section class="main-page">
<!-- left -->
<div class="left">
<div class="left-content"> <!--wrapper of the content-->
<div>
<i class="fas fa-search"></i>
<h3 class="left-content-heading">Find your interests</h3>
</div>
<div>
<i class="fas fa-user-friends"></i>
<h3 class="left-content-heading">Explore what people are talking about</h3>
</div>
<div>
<i class="fas fa-comment"></i>
<h3 class="left-content-heading">Join the people</h3>
</div>
</div>
</div>
<!-- end of left -->
<!-- right -->
<div class="right">
<form class="right-content-form">
<input type="text" class="user-info" placeholder="Phone, email, or username">
<div><!--group of input and label-->
<input type="password" class="password" placeholder="Password">
<label>Forgot Password?</label>
</div>
<button type="button" class="btn-top">Log in</button>
</form>
<div class="middle-content">
<i class="fas fa-dove"></i>
<h1>Explore what happening in the world</h1>
<h4>Join Twitttrr today</h4>
<button type="button" class="sign-up main-btn">Sign Up</button>
<button type="button" class="log-in main-btn">Log In</button>
</div>
</div>
<!--end of right -->
<!-- footer -->
<footer class="main-page-footer">
<ul>
<li><a href="#">About</a></li>
<li><a href="#">Blog</a></li>
<li><a href="#">Help</a></li>
<li><a href="#">Terms</a></li>
<li><a href="#">Apps</a></li>
<li><a href="#">Settings</a></li>
<li><a href="#">Contact</a></li>
<li><a href="#">Status</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Brand</a></li>
<li><a href="#">Developers</a></li>
<li><a href="#">© 2019 Twitttrr</a></li>
</ul>
</footer>
<!-- end of footer -->
</section>
<!--end of main page -->
<!-- login page -->
<section class="login-page">
<!-- login page nav -->
<nav class="login-page-nav">
<ul>
<li class="brand"><a href="#"><i class="fas fa-dove"></i>Home</a></li>
<li><a href="#">About</a></li>
<li><a href="#">Language: English</a></li>
</ul>
</nav>
<!-- end of login page nav -->
<!-- login -->
<div class="login">
<div class="login-content"> <!--wrapper of heading and form-->
<h2>Log in to Twitttrr</h2>
<form class="login-form">
<input type="text" placeholder="Phone, email or username" class="login-useer-info">
<input type="password" placeholder="Passowrd" class="login-password">
<div>
<button type="button" class="login-form-btn">Log In</button>
<input type="checkbox" class="login-form-checkbox" id="check">
<label for="check">Remember me</label> <!--for should be id of other element to link-->
<a href="#">Forgot Password?</a>
</div>
</form>
</div>
<footer class="login-footer">
<p>New to Twittrrr? <a href="#">Sign Up Now!</a></p>
<p>Already using twitter via text message? <a href="#">Activate your account</a></p>
</footer>
</div>
<!-- end of login -->
<!-- login modal -->
<div class="login-modal">
<i class="fas fa-times"></i>
<p>The useername and password you entered did not match our records. Please double check and try again</p>
</div>
<!-- end of login modal -->
</section>
<!-- end of login page -->
<!-- feeds page -->
<section class="feeds-page">
<!-- feeds-nav -->
<nav class="feeds-nav dark-mode-1">
<div class="icons">
<a href="#" class="active"><i class="fas fa-home"></i></a>
<a href="#"><i class="fas fa-hashtag"></i></a>
<a href="#"><i class="far fa-bell"></i></a>
<a href="#"><i class="far fa-envelope"></i></a>
</div>
<div class="search-bar">
<i class="fas fa-search"></i>
<input type="text" placeholder="Search Twitteer" class="search-bar-input dark-mode-2 light-text border">
</div>
<div class="user">
<div class="user-img-wrapper">
<img src="images/user1.jpg" alt="user1">
</div>
<a href="#" class="user-link light-text">Anjan Pudasaini</a>
<i class="fas fa-chevron-down"></i>
</div>
</nav>
<!-- end of feeds-nav -->
<!-- feeds content -->
<div class="feeds-content dark-mode-2">
<div class="feeds-header dark-mode-1">
<div class="header-top light-text border">
<h4>Home</h4>
<i class="far fa-star"></i>
</div>
<div class="header-post dark-mode-1 border">
<div class="header-img-wrapper">
<img src="images/user1.jpg" alt="">
</div>
<input class="dark-mode-2 light-text border" type="text" placeholder="what's happening?">
<i class="far fa-image"></i>
<i class="fas fa-camera"></i>
<i class="far fa-chart-bar"></i>
</div>
</div> <!--feeds header end-->
<!-- -------------------------------------- -->
<div class="posts dark-mode-1"><!-- possts -->
<div class="post border">
<div class="user-avatar"> <!--img wrapper-->
<img src="images/user2.jpg">
</div>
<div class="post-content">
<div class="post-user-info light-text"><!-- 4 parts fullname,icon,span username,time -->
<h4>Helvetica Brown</h4>
<i class="fas fa-check-circle"></i>
<span>@helbrown 15m</span>
</div>
<!-- text content -->
<p class="post-text light-text">Lorem ipsum dolor sit, amet consectet
adipisicing elit. Minima facilis hic eveniet provident
pariatur deserunt laboriosam optio, assumenda officia
aut?
</p>
<div class="post-img">
<img src="images/post-img-1.jpg" alt="">
</div>
<div class="post-icons">
<i class="far fa-comment"></i>
<i class="fas fa-retweet"></i>
<i class="far fa-heart"></i>
<i class="fas fa-share-alt"></i>
</div>
</div>
</div>
<!-- post 2 -->
<div class="post border">
<div class="user-avatar"> <!--img wrapper-->
<img src="images/user3.jpg">
</div>
<div class="post-content">
<div class="post-user-info light-text"><!-- 4 parts fullname,icon,span username,time -->
<h4>Janny Janny</h4>
<i class="fas fa-check-circle"></i>
<span>@jannymyself 35m</span>
</div>
<!-- text content -->
<p class="post-text light-text">Lorem ipsum dolor sit, amet consectet
adipisicing elit. Minima facilis hic eveniet provident
pariatur deserunt laboriosam optio, assumenda officia
aut?
</p>
<div class="post-img">
<img src="images/post-img-2.jpg" alt="">
</div>
<div class="post-icons">
<i class="far fa-comment"></i>
<i class="fas fa-retweet"></i>
<i class="far fa-heart"></i>
<i class="fas fa-share-alt"></i>
</div>
</div>
</div>
<!-- post 3 -->
<div class="post border">
<div class="user-avatar"> <!--img wrapper-->
<img src="images/user4.jpg">
</div>
<div class="post-content">
<div class="post-user-info light-text"><!-- 4 parts fullname,icon,span username,time -->
<h4>Jane Sharma</h4>
<i class="fas fa-check-circle"></i>
<span>@janny 55m</span>
</div>
<!-- text content -->
<p class="post-text light-text">Lorem ipsum dolor sit, amet consectet
adipisicing elit. Minima facilis hic eveniet provident
pariatur deserunt laboriosam optio, assumenda officia
aut?
</p>
<div class="post-img">
<img src="images/post-img-3.jpg" alt="">
</div>
<div class="post-icons">
<i class="far fa-comment"></i>
<i class="fas fa-retweet"></i>
<i class="far fa-heart"></i>
<i class="fas fa-share-alt"></i>
</div>
</div>
</div>
<!-- post 4 -->
<div class="post border">
<div class="user-avatar"> <!--img wrapper-->
<img src="images/user5.jpg">
</div>
<div class="post-content">
<div class="post-user-info light-text"><!-- 4 parts fullname,icon,span username,time -->
<h4>Rajni Can't</h4>
<i class="fas fa-check-circle"></i>
<span>@rajnicant 1h 05m</span>
</div>
<!-- text content -->
<p class="post-text light-text">Lorem ipsum dolor sit, amet consectet
adipisicing elit. Minima facilis hic eveniet provident
pariatur deserunt laboriosam optio, assumenda officia
aut?
</p>
<div class="post-img">
<img src="images/post-img-4.jpg" alt="">
</div>
<div class="post-icons">
<i class="far fa-comment"></i>
<i class="fas fa-retweet"></i>
<i class="far fa-heart"></i>
<i class="fas fa-share-alt"></i>
</div>
</div>
</div>
<!-- post 5 -->
<div class="post border">
<div class="user-avatar"> <!--img wrapper-->
<img src="images/user6.jpg">
</div>
<div class="post-content">
<div class="post-user-info light-text"><!-- 4 parts fullname,icon,span username,time -->
<h4>Nickky Brownie</h4>
<i class="fas fa-check-circle"></i>
<span>@nikky 31m</span>
</div>
<!-- text content -->
<p class="post-text light-text">Lorem ipsum dolor sit, amet consectet
adipisicing elit. Minima facilis hic eveniet provident
pariatur deserunt laboriosam optio, assumenda officia
aut?
</p>
<div class="post-img">
<img src="images/post-img-5.jpg" alt="">
</div>
<div class="post-icons">
<i class="far fa-comment"></i>
<i class="fas fa-retweet"></i>
<i class="far fa-heart"></i>
<i class="fas fa-share-alt"></i>
</div>
</div>
</div><!-- post section end -->
</div>
<div class="follow dark-mode-1"><!-- who to follow section -->
<!-- parts: heading,3users,show more,footer -->
<h3 class="follow-heading light-text border">Who to follow</h3>
<div class="follow-user border">
<div class="follow-user-img">
<img src="images/user3.jpg" alt="">
</div>
<div class="follow-user-info light-text">
<h4>Katiee Winslet</h4>
<p>@katieswins</p>
</div>
<button type="button" class="follow-btn dark-mode-2">Follow</button>
</div>
<!-- user 2 -->
<div class="follow-user border">
<div class="follow-user-img">
<img src="images/user6.jpg" alt="">
</div>
<div class="follow-user-info light-text">
<h4>Sandesh Dahal</h4>
<p>@sandesh</p>
</div>
<button type="button" class="follow-btn dark-mode-2">Follow</button>
</div>
<!-- user 3 -->
<div class="follow-user border">
<div class="follow-user-img">
<img src="images/user5.jpg" alt="">
</div>
<div class="follow-user-info light-text">
<h4>Shree Maharjan</h4>
<p>@srimaharjan</p>
</div>
<button type="button" class="follow-btn dark-mode-2">Follow</button>
</div><!-- user finished here -->
<div class="follow-link">
<a href="#">Show more</a>
</div>
<footer class="follow-footer dark-mode-2">
<ul>
<li><a href="#">Terms</a></li>
<li><a href="#">Privacy Policy</a></li>
<li><a href="#">Cookies</a></li>
<li><a href="#">About</a></li>
<li><a href="#">More</a></li>
</ul>
</footer>
</div> <!--follow///-->
</div> <!--feeds-content end-->
<!-- end of feeds content -->
<button type="button" class="post-btn">
+<i class="fas fa-feather-alt"></i>Post <!--this button ends up behind the navigation button so set css position as fixed and defile bottom and left-->
</button>
<!-- post modal -->
<div class="modal-wrapper">
<div class="modal dark-mode-1">
<div class="modal-header border">
<i class="fas fa-times"></i>
<button type="button" class="">Post</button>
</div>
<div class="modal-body">
<div class="modal-img">
<img src="images/user1.jpg" width="40" alt="">
</div>
<input type="text" placeholder="What's happening?" class="modal-input dark-mode-2 light-text border">
<i class="far fa-smile"></i>
</div>
<div class="modal-footer">
<div class="modal-icons">
<i class="far fa-image"></i>
<i class="fas fa-camera"></i>
<i class="far fa-chart-bar"></i>
<span>+</span>
</div>
</div>
</div>
</div>
<!-- end of post modal -->
<!-- sidebar -->
<div class="sidebar-wrapper">
<div class="sidebar dark-mode-1">
<div class="sidebar-header border">
<h2 class="light-text">Account Info</h2>
<i class="fas fa-times"></i>
</div>
<div class="sidebar-user">
<div class="sidebar-user-img">
<img src="images/user1.jpg" alt="">
</div>
<span>+</span>
</div>
<div class="sidebar-user-info light-text">
<h4>Anjan Pudasaini</h4>
<p>@anjan123</p>
</div>
<div class="following light-text">
<p class="following-paragraph">
<span>878</span> Following
</p>
<p class="following-paragraph">
<span>20.5k</span> Followers
</p>
</div>
<div class="sidebar-list-1 border">
<ul>
<li>
<a href="#"><i class="fas fa-user"></i> Profile</a>
</li>
<li>
<a href="#"><i class="far fa-list-alt"></i> Lists</a>
</li>
<li>
<a href="#"><i class="far fa-bookmark"></i> Bookmarks</a>
</li>
<li>
<a href="#"><i class="fab fa-adversal"></i> Ads</a>
</li>
<li>
<a href="#"><i class="fas fa-chart-line"></i> Analytics</a>
</li>
</ul>
</div>
<div class="sidebar-list-2">
<ul>
<li><a href="#">Settings & Privacy</a></li>
<li><a href="#">Help Center</a></li>
<li><a href="#">Log Out</a></li>
</ul>
</div>
<!-- dark mode -->
<div class="dark-mode">
<p>Dark Mode</p>
<div class="toggle">
<div class="circle"></div>
</div>
</div>
<!-- end of dark mode -->
</div>
</div>
<!--end of sidebar -->
</section>
<!-- end of feeds page -->
<script src="script.js"></script>
</body>
</html>