forked from cavdy-dev/instagram-clone-ui
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
294 lines (288 loc) · 12.6 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<title>Instagram UI</title>
<link rel="stylesheet" href="./css/bootstrap.min.css" />
<link rel="stylesheet" href="./css/general.css" />
<link rel="stylesheet" href="./css/navbar.css" />
<link rel="stylesheet" href="./css/sidebar.css" />
<link rel="stylesheet" href="./css/userscontent.css" />
</head>
<body>
<!--Navbar-->
<nav id="nav" class="nav">
<div class="container d-flex align-items-center justify-content-between">
<a href="./index.html" class="logo-link">
<svg
aria-label="Instagram"
class="nav_logo"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
d="M13.86.13A17 17 0 008 1.26 11 11 0 003.8 4 12.22 12.22 0 001 8.28 18 18 0 00-.11 14.1c-.13 2.55-.13 3.38-.13 9.9s0 7.32.13 9.9A18 18 0 001 39.72 11.43 11.43 0 003.8 44 12.17 12.17 0 008 46.74a17.75 17.75 0 005.82 1.13c2.55.13 3.38.13 9.9.13s7.32 0 9.9-.13a17.82 17.82 0 005.83-1.13A11.4 11.4 0 0043.72 44a11.94 11.94 0 002.78-4.24 17.7 17.7 0 001.13-5.82c.13-2.55.13-3.38.13-9.9s0-7.32-.13-9.9a17 17 0 00-1.13-5.86A11.31 11.31 0 0043.72 4a12.13 12.13 0 00-4.23-2.78A17.82 17.82 0 0033.66.13C31.11 0 30.28 0 23.76 0s-7.31 0-9.9.13m.2 43.37a13.17 13.17 0 01-4.47-.83 7.25 7.25 0 01-2.74-1.79 7.25 7.25 0 01-1.79-2.74 13.23 13.23 0 01-.83-4.47c-.1-2.52-.13-3.28-.13-9.7s0-7.15.13-9.7a12.78 12.78 0 01.83-4.44 7.37 7.37 0 011.79-2.75A7.35 7.35 0 019.59 5.3a13.17 13.17 0 014.47-.83c2.52-.1 3.28-.13 9.7-.13s7.15 0 9.7.13a12.78 12.78 0 014.44.83 7.82 7.82 0 014.53 4.53 13.12 13.12 0 01.83 4.44c.13 2.51.13 3.27.13 9.7s0 7.15-.13 9.7a13.23 13.23 0 01-.83 4.47 7.9 7.9 0 01-4.53 4.53 13 13 0 01-4.44.83c-2.51.1-3.28.13-9.7.13s-7.15 0-9.7-.13m19.63-32.34a2.88 2.88 0 102.88-2.88 2.89 2.89 0 00-2.88 2.88M11.45 24a12.32 12.32 0 1012.31-12.35A12.33 12.33 0 0011.45 24m4.33 0a8 8 0 118 8 8 8 0 01-8-8"
></path>
</svg>
<div class="divider"></div>
<img
alt="Instagram"
class="nav_image"
src="./assets/img/instagram.png"
srcset="./assets/img/instagram2x.png 2x"
/>
</a>
<input
class="search"
autocapitalize="none"
type="text"
placeholder="Search"
/>
<div>
<svg
aria-label="Find People"
class="navbar-icon"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
clip-rule="evenodd"
d="M24 .5C37 .5 47.5 11 47.5 24S37 47.5 24 47.5.5 37 .5 24 11 .5 24 .5zm0 44c11.3 0 20.5-9.2 20.5-20.5S35.3 3.5 24 3.5 3.5 12.7 3.5 24 12.7 44.5 24 44.5zm-4.4-23.7c.3-.5.7-.9 1.2-1.2l14.8-8.1c.3-.1.6-.1.8.1.2.2.3.5.1.8l-8.1 14.8c-.3.5-.7.9-1.2 1.2l-14.8 8.1c-.3.1-.6.1-.8-.1-.2-.2-.3-.5-.1-.8l8.1-14.8zm6.2 5l4.3-7.8-7.8 4.3 3.5 3.5z"
fill-rule="evenodd"
></path>
</svg>
<svg
aria-label="Activity Feed"
class="navbar-icon"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
clip-rule="evenodd"
d="M34.3 3.5C27.2 3.5 24 8.8 24 8.8s-3.2-5.3-10.3-5.3C6.4 3.5.5 9.9.5 17.8s6.1 12.4 12.2 17.8c9.2 8.2 9.8 8.9 11.3 8.9s2.1-.7 11.3-8.9c6.2-5.5 12.2-10 12.2-17.8 0-7.9-5.9-14.3-13.2-14.3zm-1 29.8c-5.4 4.8-8.3 7.5-9.3 8.1-1-.7-4.6-3.9-9.3-8.1-5.5-4.9-11.2-9-11.2-15.6 0-6.2 4.6-11.3 10.2-11.3 4.1 0 6.3 2 7.9 4.2 3.6 5.1 1.2 5.1 4.8 0 1.6-2.2 3.8-4.2 7.9-4.2 5.6 0 10.2 5.1 10.2 11.3 0 6.7-5.7 10.8-11.2 15.6z"
fill-rule="evenodd"
></path>
</svg>
<a href="./profile.html">
<svg
aria-label="Profile"
class=""
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
d="M24 27c-7.1 0-12.9-5.8-12.9-12.9s5.8-13 12.9-13c7.1 0 12.9 5.8 12.9 12.9S31.1 27 24 27zm0-22.9c-5.5 0-9.9 4.5-9.9 9.9s4.4 10 9.9 10 9.9-4.5 9.9-9.9-4.4-10-9.9-10zm20 42.8c-.8 0-1.5-.7-1.5-1.5V42c0-5-4-9-9-9h-19c-5 0-9 4-9 9v3.4c0 .8-.7 1.5-1.5 1.5s-1.5-.7-1.5-1.5V42c0-6.6 5.4-12 12-12h19c6.6 0 12 5.4 12 12v3.4c0 .8-.7 1.5-1.5 1.5z"
></path>
</svg>
</a>
</div>
</div>
</nav>
<!--Section Content-->
<section class="container container-top">
<!--STORIES (ON VISIBLE ON 1000px BELOW)-->
<div class="stories-mobile">
<div class="stories-mobile-wrapper">
<div class="stories-mobile-image-wrapper">
<img class="stories-mobile-image" src="./assets/img/pretty.jpeg" />
</div>
<a href="#" class="stories-mobile-owner-name">Cavdy</a>
</div>
</div>
<section class="content-container">
<!--CONTENTS-->
<div class="posts">
<!--CONTENT CARD-->
<article class="post-card">
<header class="post-header">
<div class="post-image-wrapper">
<img class="post-image" src="./assets/img/pretty.jpeg" />
</div>
<div class="post-owner-wrapper">
<a href="#" class="post-owner-name">Cavdy</a>
<span class="post-owner-location">Lagos, Nigeria</span>
</div>
<svg
aria-label="More options"
class="_8-yf5 "
fill="#262626"
height="16"
viewBox="0 0 48 48"
width="16"
>
<circle
clip-rule="evenodd"
cx="8"
cy="24"
fill-rule="evenodd"
r="4.5"
></circle>
<circle
clip-rule="evenodd"
cx="24"
cy="24"
fill-rule="evenodd"
r="4.5"
></circle>
<circle
clip-rule="evenodd"
cx="40"
cy="24"
fill-rule="evenodd"
r="4.5"
></circle>
</svg>
</header>
<section class="post-content-wrapper">
<img class="post-content" src="./assets/img/pretty.jpeg" />
</section>
<section class="post-options-wrapper">
<svg
aria-label="Activity Feed"
class="mr-4"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
clip-rule="evenodd"
d="M34.3 3.5C27.2 3.5 24 8.8 24 8.8s-3.2-5.3-10.3-5.3C6.4 3.5.5 9.9.5 17.8s6.1 12.4 12.2 17.8c9.2 8.2 9.8 8.9 11.3 8.9s2.1-.7 11.3-8.9c6.2-5.5 12.2-10 12.2-17.8 0-7.9-5.9-14.3-13.2-14.3zm-1 29.8c-5.4 4.8-8.3 7.5-9.3 8.1-1-.7-4.6-3.9-9.3-8.1-5.5-4.9-11.2-9-11.2-15.6 0-6.2 4.6-11.3 10.2-11.3 4.1 0 6.3 2 7.9 4.2 3.6 5.1 1.2 5.1 4.8 0 1.6-2.2 3.8-4.2 7.9-4.2 5.6 0 10.2 5.1 10.2 11.3 0 6.7-5.7 10.8-11.2 15.6z"
fill-rule="evenodd"
></path>
</svg>
<svg
aria-label="Comment"
class="mr-4"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
clip-rule="evenodd"
d="M47.5 46.1l-2.8-11c1.8-3.3 2.8-7.1 2.8-11.1C47.5 11 37 .5 24 .5S.5 11 .5 24 11 47.5 24 47.5c4 0 7.8-1 11.1-2.8l11 2.8c.8.2 1.6-.6 1.4-1.4zm-3-22.1c0 4-1 7-2.6 10-.2.4-.3.9-.2 1.4l2.1 8.4-8.3-2.1c-.5-.1-1-.1-1.4.2-1.8 1-5.2 2.6-10 2.6-11.4 0-20.6-9.2-20.6-20.5S12.7 3.5 24 3.5 44.5 12.7 44.5 24z"
fill-rule="evenodd"
></path>
</svg>
<svg
aria-label="Share Post"
class="mr-auto"
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
d="M46.5 3.5h-45C.6 3.5.2 4.6.8 5.2l16 15.8 5.5 22.8c.2.9 1.4 1 1.8.3L47.4 5c.4-.7-.1-1.5-.9-1.5zm-40.1 3h33.5L19.1 18c-.4.2-.9.1-1.2-.2L6.4 6.5zm17.7 31.8l-4-16.6c-.1-.4.1-.9.5-1.1L41.5 9 24.1 38.3z"
></path>
<path d="M14.7 48.4l2.9-.7"></path>
</svg>
<svg
aria-label="Save"
class="_8-yf5 "
fill="#262626"
height="24"
viewBox="0 0 48 48"
width="24"
>
<path
d="M43.5 48c-.4 0-.8-.2-1.1-.4L24 29 5.6 47.6c-.4.4-1.1.6-1.6.3-.6-.2-1-.8-1-1.4v-45C3 .7 3.7 0 4.5 0h39c.8 0 1.5.7 1.5 1.5v45c0 .6-.4 1.2-.9 1.4-.2.1-.4.1-.6.1zM24 26c.8 0 1.6.3 2.2.9l15.8 16V3H6v39.9l15.8-16c.6-.6 1.4-.9 2.2-.9z"
></path>
</svg>
</section>
<section class="post-comments-wrapper">
<div class="post-likes">207 likes</div>
<div class="post-comment">
<span class="post-comment-author">Cavdy</span> Lorem, ipsum
dolor sit amet consectetur adipisicing elit. Aliquam laudantium
praesentium ullam natus? Est aperiam veritatis quam iusto. Ex
vitae itaque vel sed illum et iure eius nisi maiores corporis?
</div>
<a href="./comments.html" class="view-all-comments"
>View all comments</a
>
<div class="post-comment">
<span class="post-comment-author">Sarah</span> Lorem, ipsum
dolor
</div>
<div class="post-comment">
<span class="post-comment-author">Codite</span> Lorem, ipsum
dolor sit amet consectetur
</div>
<div class="post-created">2 Days ago</div>
<div class="comment">
<textarea
id="addComment"
class="add-comment"
type="text"
placeholder="Add a comment..."
></textarea>
<button class="post-comment-btn">Post</button>
</div>
</section>
</article>
</div>
<!--SIDEBAR-->
<div class="sidebar">
<div class="sidebar-user">
<div class="sidebar-user-image-wrapper">
<img class="sidebar-image" src="./assets/img/pretty.jpeg" />
</div>
<div class="sidebar-owner-wrapper">
<a href="#" class="sidebar-owner-name">Cavdy</a>
<span class="sidebar-owner-other">cavdy</span>
</div>
</div>
<div class="stories">
<header class="stories-header">
<span class="stories-header-title">Stories</span>
<a class="stories-header-link" href="#">Watch All</a>
</header>
<div class="stories-wrapper">
<div class="sidebar-image-wrapper">
<img class="sidebar-image" src="./assets/img/pretty.jpeg" />
</div>
<div class="sidebar-owner-wrapper">
<a href="#" class="sidebar-owner-name">Cavdy</a>
<span class="sidebar-owner-other">3 HOURS AGO</span>
</div>
</div>
</div>
<div class="suggested">
<header class="suggested-header">
<span class="suggested-header-title">Suggestions For You</span>
<a class="suggested-header-link" href="#">See All</a>
</header>
<div class="suggested-wrapper">
<div class="sidebar-image-wrapper">
<img class="sidebar-image" src="./assets/img/pretty.jpeg" />
</div>
<div class="sidebar-owner-wrapper">
<a href="#" class="sidebar-owner-name">Cavdy</a>
<span class="sidebar-owner-other">Friend on Facebook</span>
</div>
<a href="#">Follow</a>
</div>
</div>
</div>
</section>
</section>
<!--Javascript-->
<script src="./js/jquery.min.js"></script>
<script src="./js/popper.min.js"></script>
<script src="./js/bootstrap.min.js"></script>
<script src="./js/autosize.min.js"></script>
<script src="./js/app.js"></script>
</body>
</html>