generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
236 lines (212 loc) · 11.9 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Instagram Photo Feed with Bootstrap</title>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
</head>
<body>
<script src="https://kit.fontawesome.com/5c995ce94c.js" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<nav class="navbar bg-body-tertiary">
<div class="container-fluid" d-flex>
<a class="navbar-brand"><i class="fa-brands fa-instagram fa-xl"></i> Instagram</a>
<form class="d-flex" role="search">
<!-- Button trigger modal -->
<button type="button" class="btn btn-success" data-bs-toggle="modal" data-bs-target="#exampleModal">
Create a new post
<!-- Example single danger button -->
<div class="btn-group">
<button type="button" class="btn btn-secondary dropdown-toggle mx-2" data-bs-toggle="dropdown"
aria-expanded="false">
<i class="fa-solid fa-gear"></i>
</button>
<ul class="dropdown-menu dropdown-menu-end">
<li><button class="dropdown-item" type="button">Profile</button></li>
<li><button class="dropdown-item" type="button">Accesibility</button></li>
<li><button class="dropdown-item" type="button">Privacy and Data</button></li>
<li>
<hr class="dropdown-divider">
</li>
<li><a class="dropdown-item text-danger" href="#">Log Out</a></li>
</ul>
</div>
<!-- Modal -->
<div class="modal fade" id="exampleModal" tabindex="-1" aria-labelledby="exampleModalLabel"
aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="exampleModalLabel">Create a new post</h1>
<button type="button" class="btn-close" data-bs-dismiss="modal"
aria-label="Close"></button>
</div>
<div class="modal-body"> <!-- Modal body -->
<div class="mb-3">
<label for="exampleFormControlTextarea1" class="form-label">Caption:</label>
<textarea class="form-control" id="exampleFormControlTextarea1" rows="3"
placeholder="Add the caption of your post here"></textarea>
</div>
<div>
<button type="button" class="btn btn-light"><i
class="fa-solid fa-camera"></i></button>
<button type="button" class="btn btn-light"><i
class="fa-solid fa-location-dot"></i></button>
</div>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary"
data-bs-dismiss="modal">Close</button>
<button type="button" class="btn btn-success">Publish</button>
</div>
</div>
</div>
</div>
</form>
</div>
</nav>
<ul class="nav nav-tabs d-flex justify-content-center" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<button class="nav-link active" id="home-tab" data-bs-toggle="tab" data-bs-target="#home-tab-pane"
type="button" role="tab" aria-controls="home-tab-pane" aria-selected="true"><i
class="fa-solid fa-table-cells"></i></button>
</li>
<li class="nav-item" role="presentation">
<button class="nav-link" id="profile-tab" data-bs-toggle="tab" data-bs-target="#profile-tab-pane"
type="button" role="tab" aria-controls="profile-tab-pane" aria-selected="false"><i
class="fa-solid fa-square"></i></button>
</li>
</ul>
<!-- Grid content -->
<div class="tab-content" id="myTabContent">
<div class="tab-pane fade show active" id="home-tab-pane" role="tabpanel" aria-labelledby="home-tab"
tabindex="0">
<div>
<div class="row my-4 justify-content-center mx-1">
<div class="col-4 d-flex p-0" style="height: 400px;">
<img class="object-fit-cover W-100 mx-auto" src="https://picsum.photos/id/65/900/600"></img>
</div>
<div class="col-4 d-flex p-0" style="height: 400px;">
<img class="object-fit-cover W-100 mx-auto" src="https://picsum.photos/id/435/900/600"></img>
</div>
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/431/900/600"></img>
</div>
</div>
<div class="row my-4 justify-content-center mx-1">
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/103/900/600"></img>
</div>
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/517/900/600"></img>
</div>
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/902/900/600"></img>
</div>
</div>b
<div class="row my-4 justify-content-center mx-1">
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/1062/900/600"></img>
</div>
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/946/900/600"></img>
</div>
<div class="col-4 d-flex" style="height: 400px;">
<img class="object-fit-cover W-100" src="https://picsum.photos/id/1060/900/600"></img>
</div>
</div>
</div>
</div>
<!-- Feed content -->
<div class="tab-pane fade" id="profile-tab-pane" role="tabpanel" aria-labelledby="profile-tab" tabindex="0">
<div class="container-fluid">
<div class="col-4 mx-auto mt-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Sunset</h5>
<p class="card-text"><small class="text-body-secondary">08/26</small></p>
</div>
<img src="https://picsum.photos/id/65/900/600" class="card-img-bottom">
</div>
<div class="card mb-3">
<div class="card-body">
<strong>204 Likes</strong>
<p class="card-text">This is an example of a very good photo that you can post on instagram.
</p>
</div>
</div>
</div>
<div class="col-4 mx-auto mt-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Favourite hobby</h5>
<p class="card-text"><small class="text-body-secondary">08/26</small></p>
</div>
<img src="https://picsum.photos/id/435/900/600" class="card-img-bottom">
</div>
<div class="card mb-3">
<div class="card-body">
<strong>204 Likes</strong>
<p class="card-text">This is an example of a very good photo that you can post on instagram.</p>
</div>
</div>
</div>
<div class="col-4 mx-auto mt-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Coffee break!</h5>
<p class="card-text"><small class="text-body-secondary">08/26</small></p>
</div>
<img src="https://picsum.photos/id/431/900/600" class="card-img-bottom">
</div>
<div class="card mb-3">
<div class="card-body">
<strong>204 Likes</strong>
<p class="card-text">This is an example of a very good photo that you can post on instagram.
</p>
</div>
</div>
</div>
<div class="col-4 mx-auto mt-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Just chilling</h5>
<p class="card-text"><small class="text-body-secondary">08/26</small></p>
</div>
<img src="https://picsum.photos/id/103/900/600" class="card-img-bottom">
</div>
<div class="card mb-3">
<div class="card-body">
<strong>204 Likes</strong>
<p class="card-text">This is an example of a very good photo that you can post on instagram.</p>
</div>
</div>
</div>
<div class="col-4 mx-auto mt-4">
<div class="card">
<div class="card-body">
<h5 class="card-title">Puppy!</h5>
<p class="card-text"><small class="text-body-secondary">08/26</small></p>
</div>
<img src="https://picsum.photos/id/1062/900/600" class="card-img-bottom">
</div>
<div class="card mb-3">
<div class="card-body">
<strong>204 Likes</strong>
<p class="card-text">This is an example of a very good photo that you can post on instagram.
</p>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>