-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
429 lines (404 loc) · 16.2 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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- Metadata -->
<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 -->
<title>Petstagram</title>
<!-- CSS -->
<link rel="stylesheet" href="styles.css" />
<!-- Google Fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Satisfy&display=swap"
rel="stylesheet"
/>
<link
href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap"
rel="stylesheet"
/>
</head>
<body>
<!-- Header -->
<header class="top-bar">
<nav>
<div class="logo">Petstagram</div>
<label class="search-input">
<svg color="currentcolor" viewBox="0 0 24 24" height="16" width="16">
<path
d="M19 10.5A8.5 8.5 0 1110.5 2a8.5 8.5 0 018.5 8.5z"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
></path>
<line
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
x1="16.511"
x2="22"
y1="16.511"
y2="22"
></line>
</svg>
<input type="text" placeholder="Search" />
</label>
<div class="nav-item">
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M22 23h-6.001a1 1 0 01-1-1v-5.455a2.997 2.997 0 10-5.993 0V22a1 1 0 01-1 1H2a1 1 0 01-1-1V11.543a1.002 1.002 0 01.31-.724l10-9.543a1.001 1.001 0 011.38 0l10 9.543a1.002 1.002 0 01.31.724V22a1 1 0 01-1 1z"
></path>
</svg>
</div>
<div class="nav-item">
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M12.003 2.001a9.705 9.705 0 110 19.4 10.876 10.876 0 01-2.895-.384.798.798 0 00-.533.04l-1.984.876a.801.801 0 01-1.123-.708l-.054-1.78a.806.806 0 00-.27-.569 9.49 9.49 0 01-3.14-7.175 9.65 9.65 0 0110-9.7z"
fill="none"
stroke="currentColor"
stroke-miterlimit="10"
stroke-width="1.739"
></path>
<path
d="M17.79 10.132a.659.659 0 00-.962-.873l-2.556 2.05a.63.63 0 01-.758.002L11.06 9.47a1.576 1.576 0 00-2.277.42l-2.567 3.98a.659.659 0 00.961.875l2.556-2.049a.63.63 0 01.759-.002l2.452 1.84a1.576 1.576 0 002.278-.42z"
fill-rule="evenodd"
></path>
</svg>
</div>
<div class="nav-item">
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M2 12v3.45c0 2.849.698 4.005 1.606 4.944.94.909 2.098 1.608 4.946 1.608h6.896c2.848 0 4.006-.7 4.946-1.608C21.302 19.455 22 18.3 22 15.45V8.552c0-2.849-.698-4.006-1.606-4.945C19.454 2.7 18.296 2 15.448 2H8.552c-2.848 0-4.006.699-4.946 1.607C2.698 4.547 2 5.703 2 8.552z"
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
></path>
<line
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
x1="6.545"
x2="17.455"
y1="12.001"
y2="12.001"
></line>
<line
fill="none"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
x1="12.003"
x2="12.003"
y1="6.545"
y2="17.455"
></line>
</svg>
</div>
<div class="nav-item">
<img
class="profile-pic"
src="./assets/img/profile.jpg"
alt="Profile pic"
/>
</div>
</nav>
</header>
<!-- News Feed -->
<div class="news-feed-wrapper">
<main class="news-feed">
<!-- Post 1 -->
<article class="post">
<!-- Top Section of Post -->
<header>
<img src="./assets/img/pic1.jpg" />
<strong>sam.the.ferret</strong>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<circle cx="12" cy="12" r="1.5"></circle>
<circle cx="6" cy="12" r="1.5"></circle>
<circle cx="18" cy="12" r="1.5"></circle>
</svg>
</header>
<!-- Post Image -->
<figure>
<img src="./assets/img/post1.jpg" alt="" />
</figure>
<!-- Post related actions -->
<div class="actions">
<svg
class="like-btn"
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M16.792 3.904A4.989 4.989 0 0121.5 9.122c0 3.072-2.652 4.959-5.197 7.222-2.512 2.243-3.865 3.469-4.303 3.752-.477-.309-2.143-1.823-4.303-3.752C5.141 14.072 2.5 12.167 2.5 9.122a4.989 4.989 0 014.708-5.218 4.21 4.21 0 013.675 1.941c.84 1.175.98 1.763 1.12 1.763s.278-.588 1.11-1.766a4.17 4.17 0 013.679-1.938m0-2a6.04 6.04 0 00-4.797 2.127 6.052 6.052 0 00-4.787-2.127A6.985 6.985 0 00.5 9.122c0 3.61 2.55 5.827 5.015 7.97.283.246.569.494.853.747l1.027.918a44.998 44.998 0 003.518 3.018 2 2 0 002.174 0 45.263 45.263 0 003.626-3.115l.922-.824c.293-.26.59-.519.885-.774 2.334-2.025 4.98-4.32 4.98-7.94a6.985 6.985 0 00-6.708-7.218z"
></path>
<path
d="M17.3 1.54999C15.05 1.54999 13.35 2.44999 12 4.34999C10.65 2.49999 8.95 1.59999 6.7 1.59999C3 1.54999 0 4.79999 0 8.79999C0 12.45 2.7 14.8 5.3 17.05C5.6 17.3 5.95 17.6 6.25 17.9L7.4 18.9C9.6 20.85 10.7 21.85 11.2 22.15C11.45 22.3 11.75 22.4 12 22.4C12.25 22.4 12.55 22.3 12.8 22.15C13.3 21.85 14.2 21.05 16.7 18.75L17.7 17.85C18.05 17.55 18.35 17.25 18.7 17C21.35 14.8 24 12.5 24 8.79999C24 4.79999 21 1.54999 17.3 1.54999V1.54999Z"
fill="#ED4956"
/>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M20.656 17.008a9.993 9.993 0 10-3.59 3.615L22 22z"
fill="none"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
></path>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<line
fill="none"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
x1="22"
x2="9.218"
y1="3"
y2="10.083"
></line>
<polygon
fill="none"
points="11.698 20.334 22 3.001 2 3.001 9.218 10.084 11.698 20.334"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
></polygon>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<polygon
fill="none"
points="20 21 12 13.44 4 21 4 3 20 3 20 21"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
></polygon>
</svg>
</div>
<!-- Post likes -->
<div class="likes"><strong>20 likes</strong></div>
<!-- Post description -->
<div class="description">
<strong>sam.the.ferret</strong> Laboris exercitation aute in tempor
irure occaecat sint nisi sint do qui ullamco excepteur. Eiusmod
occaecat ut ad aute dolor. Esse amet ullamco amet consequat. Ad qui
pariatur tempor dolor sunt. Do sint excepteur aliquip labore eu eu
nostrud dolor laborum ut duis aute adipisicing esse. Occaecat dolor
excepteur ullamco veniam aute proident. Eu ut pariatur minim aliqua
mollit consectetur.
</div>
<!-- View comment button -->
<button>View all 10 comments</button>
<!-- Post time -->
<div class="time">5 hours ago</div>
<!-- Post footer with emoji button, comment input, and post button -->
<footer>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M15.83 10.997a1.167 1.167 0 101.167 1.167 1.167 1.167 0 00-1.167-1.167zm-6.5 1.167a1.167 1.167 0 10-1.166 1.167 1.167 1.167 0 001.166-1.167zm5.163 3.24a3.406 3.406 0 01-4.982.007 1 1 0 10-1.557 1.256 5.397 5.397 0 008.09 0 1 1 0 00-1.55-1.263zM12 .503a11.5 11.5 0 1011.5 11.5A11.513 11.513 0 0012 .503zm0 21a9.5 9.5 0 119.5-9.5 9.51 9.51 0 01-9.5 9.5z"
></path>
</svg>
<input type="text" placeholder="Add a comment..." />
<button disabled>Post</button>
</footer>
<!-- News Feed -->
<div class="news-feed-wrapper">
<main class="news-feed">
<!-- Post 1 -->
<article class="post">
<!-- Top Section of Post -->
<header>
<img src="./assets/img/pic2.jpg" />
<strong>ujjawal.the.kutta</strong>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<circle cx="12" cy="12" r="1.5"></circle>
<circle cx="6" cy="12" r="1.5"></circle>
<circle cx="18" cy="12" r="1.5"></circle>
</svg>
</header>
<!-- Post Image -->
<figure>
<img src="./assets/img/post2.jpg" alt="" />
</figure>
<!-- Post related actions -->
<div class="actions">
<svg
class="like-btn"
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M16.792 3.904A4.989 4.989 0 0121.5 9.122c0 3.072-2.652 4.959-5.197 7.222-2.512 2.243-3.865 3.469-4.303 3.752-.477-.309-2.143-1.823-4.303-3.752C5.141 14.072 2.5 12.167 2.5 9.122a4.989 4.989 0 014.708-5.218 4.21 4.21 0 013.675 1.941c.84 1.175.98 1.763 1.12 1.763s.278-.588 1.11-1.766a4.17 4.17 0 013.679-1.938m0-2a6.04 6.04 0 00-4.797 2.127 6.052 6.052 0 00-4.787-2.127A6.985 6.985 0 00.5 9.122c0 3.61 2.55 5.827 5.015 7.97.283.246.569.494.853.747l1.027.918a44.998 44.998 0 003.518 3.018 2 2 0 002.174 0 45.263 45.263 0 003.626-3.115l.922-.824c.293-.26.59-.519.885-.774 2.334-2.025 4.98-4.32 4.98-7.94a6.985 6.985 0 00-6.708-7.218z"
></path>
<path
d="M17.3 1.54999C15.05 1.54999 13.35 2.44999 12 4.34999C10.65 2.49999 8.95 1.59999 6.7 1.59999C3 1.54999 0 4.79999 0 8.79999C0 12.45 2.7 14.8 5.3 17.05C5.6 17.3 5.95 17.6 6.25 17.9L7.4 18.9C9.6 20.85 10.7 21.85 11.2 22.15C11.45 22.3 11.75 22.4 12 22.4C12.25 22.4 12.55 22.3 12.8 22.15C13.3 21.85 14.2 21.05 16.7 18.75L17.7 17.85C18.05 17.55 18.35 17.25 18.7 17C21.35 14.8 24 12.5 24 8.79999C24 4.79999 21 1.54999 17.3 1.54999V1.54999Z"
fill="#ED4956"
/>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M20.656 17.008a9.993 9.993 0 10-3.59 3.615L22 22z"
fill="none"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
></path>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<line
fill="none"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
x1="22"
x2="9.218"
y1="3"
y2="10.083"
></line>
<polygon
fill="none"
points="11.698 20.334 22 3.001 2 3.001 9.218 10.084 11.698 20.334"
stroke="currentColor"
stroke-linejoin="round"
stroke-width="2"
></polygon>
</svg>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<polygon
fill="none"
points="20 21 12 13.44 4 21 4 3 20 3 20 21"
stroke="currentColor"
stroke-linecap="round"
stroke-linejoin="round"
stroke-width="2"
></polygon>
</svg>
</div>
<!-- Post likes -->
<div class="likes"><strong>20 likes</strong></div>
<!-- Post description -->
<div class="description">
<strong>ujjawal.the.kutta</strong> Laboris exercitation aute in tempor
irure occaecat sint nisi sint do qui ullamco excepteur. Eiusmod
occaecat ut ad aute dolor. Esse amet ullamco amet consequat. Ad qui
pariatur tempor dolor sunt. Do sint excepteur aliquip labore eu eu
nostrud dolor laborum ut duis aute adipisicing esse. Occaecat dolor
excepteur ullamco veniam aute proident. Eu ut pariatur minim aliqua
mollit consectetur.
</div>
<!-- View comment button -->
<button>View all 10 comments</button>
<!-- Post time -->
<div class="time">5 hours ago</div>
<!-- Post footer with emoji button, comment input, and post button -->
<footer>
<svg
color="currentcolor"
fill="currentcolor"
viewBox="0 0 24 24"
height="24"
width="24"
>
<path
d="M15.83 10.997a1.167 1.167 0 101.167 1.167 1.167 1.167 0 00-1.167-1.167zm-6.5 1.167a1.167 1.167 0 10-1.166 1.167 1.167 1.167 0 001.166-1.167zm5.163 3.24a3.406 3.406 0 01-4.982.007 1 1 0 10-1.557 1.256 5.397 5.397 0 008.09 0 1 1 0 00-1.55-1.263zM12 .503a11.5 11.5 0 1011.5 11.5A11.513 11.513 0 0012 .503zm0 21a9.5 9.5 0 119.5-9.5 9.51 9.51 0 01-9.5 9.5z"
></path>
</svg>
<input type="text" placeholder="Add a comment..." />
<button disabled>Post</button>
</footer>
</article>
</main>
</div>
</body>
</html>