generated from 4GeeksAcademy/html-hello
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
194 lines (178 loc) · 8.28 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Bootstrap demo</title>
<!-- Asegúrate de incluir Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-EVSTQN3/azprG1Anm3QDgpJLIm9Nao0Yz1ztcQTwFspd3yD65VohhpuuCOmLASjC" crossorigin="anonymous">
<script src="https://kit.fontawesome.com/072e5df971.js" crossorigin="anonymous"></script>
</head>
<body>
<!-- Navbar -->
<nav class="navbar navbar-light bg-light py-3">
<div class="container-fluid">
<div class="d-flex w-100 justify-content-between">
<a class="navbar-brand" href="#">
<i class="fa-brands fa-instagram"></i>
Instagram
</a>
<!-- Botón tipo combobox y botón en el lado derecho -->
<div class="d-flex align-items-center">
<!-- Botón en el lado derecho -->
<button type="button" class="btn btn-success ms-3 me-3" data-bs-toggle="modal" data-bs-target="#ModalPublish">
Create new post
</button>
<!-- Dropdown/Combobox -->
<div class="dropdown">
<button class="btn btn-secondary dropdown-toggle" type="button" id="dropdownMenuButton1"
data-bs-toggle="dropdown" aria-expanded="false">
<i class="fas fa-cog"></i>
</button>
<ul class="dropdown-menu dropdown-menu-end" aria-labelledby="dropdownMenuButton1">
<li><a class="dropdown-item" href="#">Profile</a></li>
<li><a class="dropdown-item" href="#">Accesibility</a></li>
<li><a class="dropdown-item" href="#">Privacy and Data</a></li>
<li>
<hr class="dropdown-divider">
</li>
<li>
<a class="dropdown-item" href="#" style="color: red">Log out</a>
</li>
</ul>
</div>
</div>
</div>
</div>
</nav>
<!-- Posts -->
<div class="container-fluid p-2">
<ul class="nav nav-pills justify-content-center mb-3" id="myTab" role="tablist">
<li class="nav-item" role="presentation">
<a class="nav-link" id="home-tab" data-bs-toggle="pill" data-bs-target="#pills-home" type="button" role="tab"
aria-controls="pills-home"><i class="fa-solid fa-table-cells"></i> </a>
</li>
<li class="nav-item" role="presentation">
<a class="nav-link" id="pills-profile-tab" data-bs-toggle="pill" data-bs-target="#pills-profile" type="button"
role="tab" aria-controls="pills-profile">
<i class="fas fa-square"></i>
</a>
</li>
</ul>
</div>
<div class="tab-content">
<div class="tab-pane fade show active" id="pills-home" role="tabpanel" aria-labelledby="home-tab">
<!-- ========== row 1 ========== -->
<div class="row">
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/414612/pexels-photo-414612.jpeg" class="img-fluid w-100" alt="Image 1">
</div>
<!-- Image 2 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1076821/pexels-photo-1076821.jpeg" class="img-fluid w-100" alt="Image 2">
</div>
<!-- Image 3 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1505692/pexels-photo-1505692.jpeg" class="img-fluid w-100" alt="Image 3">
</div>
</div>
<!-- ========== End Section ========== -->
<!-- ========== row 1 ========== -->
<div class="row">
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/414612/pexels-photo-414612.jpeg" class="img-fluid w-100" alt="Image 1">
</div>
<!-- Image 2 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1076821/pexels-photo-1076821.jpeg" class="img-fluid w-100" alt="Image 2">
</div>
<!-- Image 3 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1505692/pexels-photo-1505692.jpeg" class="img-fluid w-100" alt="Image 3">
</div>
</div>
<!-- ========== End Section ========== -->
<!-- ========== Start row 2 ========== -->
<div class="row">
<!-- Image 4 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/326648/pexels-photo-326648.jpeg" class="img-fluid w-100" alt="Image 4">
</div>
<!-- Image 5 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1076821/pexels-photo-1076821.jpeg" class="img-fluid w-100" alt="Image 5">
</div>
<!-- Image 6 -->
<div class="col-4 p-1">
<img style="height: 30vw; object-fit: cover;" src="https://images.pexels.com/photos/1505692/pexels-photo-1505692.jpeg" class="img-fluid w-100" alt="Image 6">
</div>
</div>
<!-- ========== End row 2 ========== -->
</div>
</div>
<div class="tab-content">
<div class="tab-pane fade show inactive" id="pills-profile" role="tabpanel" aria-labelledby="pills-profile-tab">
<div class="row my-4">
<div class="col-6 mx-auto border rounded p-0">
<div class="d-flex p-2">
<div class="w-100 fs-4">My Crazy dog Spark!</div>
<small class="align-bottom">08/26</small>
</div>
<img style="object-fit: cover;" src="https://images.unsplash.com/photo-1543466835-00a7907e9de1?ixlib=rb-1.2.1&w=1080&fit=max&q=80&fm=jpg&crop=entropy&cs=tinysrgb" class="img-fluid w-100 col-12" alt=""/>
<div class="p-2">
<strong>204 Likes</strong>
<p>This is an example of a very good photo that you can post on instagram</p>
</div>
</div>
</div>
<div class="row my-4">
<div class="col-6 mx-auto border rounded p-0">
<div class="d-flex p-2">
<div class="w-100 fs-4">Bikers!</div>
<small class="align-bottom">08/26</small>
</div>
<img style="object-fit: cover;" src="https://images.unsplash.com/photo-1475455608450-4c86c8453775?w=500&auto=format&fit=crop&q=60&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxzZWFyY2h8MjR8fGdvbCUyMGRlJTIwY2hpbGVuYXxlbnwwfHwwfHx8MA%3D%3D" class="img-fluid w-100 col-12" alt=""/>
<div class="p-2">
<strong>204 Likes</strong>
<p>This is an example of a very good photo that you can post on instagram</p>
</div>
</div>
</div>
</div>
</div>
<!-- Modal -->
<div class=" modal fade" id="ModalPublish" tabindex="-1" aria-labelledby="modalLabel" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="modalLabel">Create new post</h5>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
<h6>Caption:</h6>
<textarea class="form-control" placeholder="Add the caption of your post here"
id="floatingTextarea2"></textarea>
<div class="row p-2">
<button class="col-1 border rounded p-1 m-1 btn-light">
<i class="fa-solid fa-camera"></i>
</button>
<button class="col-1 border rounded p-1 m-1 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>
</div>
<!-- Asegúrate de incluir Bootstrap JS -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
</body>
</html>