-
Notifications
You must be signed in to change notification settings - Fork 0
/
gallery.html
293 lines (284 loc) · 9.45 KB
/
gallery.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Image Gallery</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-4bw+/aepP/YC94hEpVNVgiZdgIC5+VKNBQNGCHeKRQN+PtmoHDEXuppvnDJzQIu9"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/d74f12bccc.js"
crossorigin="anonymous"
></script>
<link rel="stylesheet" href="./style.css" />
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
}
main h1 {
color: #0083ab;
text-align: center;
margin: 50px 0;
}
.gallery {
display: flex;
flex-wrap: wrap;
gap: 25px;
justify-content: center;
margin: 20px 50px 50px;
}
.gallery-item {
text-align: center;
}
.gallery-item img {
width: 300px;
height: 320px;
border: 1px solid #ccc;
border-radius: 5px;
transition: transform 0.3s;
}
.gallery-item img:hover {
transform: scale(1.05);
}
.caption {
margin-top: 20px;
font-weight: 500;
font-size: 15px;
font-style: italic;
color: rgb(240, 54, 54);
}
@media (max-width: 768px) {
.gallery-item img {
width: 270px;
height: 340px;
}
}
</style>
</head>
<body>
<div id="loader-wrapper">
<div id="loader"></div>
</div>
<div id="content">
<nav
class="navbar navbar-expand-lg bg-body-tertiary"
style="position: sticky; top: 0; z-index: 100"
>
<div class="container-fluid">
<a class="navbar-brand" href="./index.html">Vishal's Profile</a>
<button
class="navbar-toggler"
type="button"
data-bs-toggle="collapse"
data-bs-target="#navbarNavDropdown"
aria-controls="navbarNavDropdown"
aria-expanded="false"
aria-label="Toggle navigation"
>
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarNavDropdown">
<ul class="navbar-nav">
<li class="nav-item">
<a
class="nav-link active"
aria-current="page"
href="./index.html"
>Home</a
>
</li>
<li class="nav-item">
<a class="nav-link" href="./about.html">About</a>
</li>
<li class="nav-item">
<a class="nav-link" href="./contact.html">Contact</a>
</li>
<li class="nav-item dropdown">
<a
class="nav-link dropdown-toggle"
role="button"
data-bs-toggle="dropdown"
aria-expanded="false"
>
Projects
</a>
<ul class="dropdown-menu">
<li>
<a class="dropdown-item" href="./html-css-projects.html"
>Html/Css projects</a
>
</li>
<li>
<a
class="dropdown-item"
href="https://github.com/vishal02527/CPP-Projects"
target="_blank"
>C++ projects</a
>
</li>
<li>
<a class="dropdown-item" href="./javascript-projects.html"
>Javascript projects</a
>
</li>
<li>
<a class="dropdown-item" href="./reactjs-projects.html"
>ReactJs projects</a
>
</li>
<li>
<a class="dropdown-item" href="./nodejs-projects.html"
>NodeJs projects</a
>
</li>
<li>
<a
class="dropdown-item"
href="https://github.com/vishal02527/Java-Projects"
target="_blank"
>Java projects</a
>
</li>
<li>
<a class="dropdown-item" href="./creative-projects.html"
>Creative projects</a
>
</li>
</ul>
</li>
<li class="rightNav">
<form class="formNav" role="search">
<input
class="form-control me-2"
type="search"
placeholder="Search all content"
aria-label="Search"
/>
<button class="btn btn-warning" type="submit">Search</button>
<a href="./signup.html"
><button
type="button"
class="btn btn-success"
style="margin-left: 10px"
>
Signup
</button></a
>
<a href="./login.html"
><button
type="button"
class="btn btn-primary"
style="margin-left: 10px"
>
Login
</button></a
>
</form>
</li>
</ul>
</div>
</div>
</nav>
<main>
<h1>Gallery</h1>
<div class="gallery">
<div class="gallery-item">
<img src="./images/my-img1.jpg" alt="Image 1" />
<div class="caption">Serenity among the trees</div>
</div>
<div class="gallery-item">
<img src="./images/my-img2.jpg" alt="Image 2" />
<div class="caption">Nature's perfect symmetry</div>
</div>
<div class="gallery-item">
<img src="./images/my-img4.jpg" alt="Image 3" />
<div class="caption">Another year, another adventure</div>
</div>
<div class="gallery-item">
<img src="./images/my-img6.jpg" alt="Image 4" />
<div class="caption">Lost in the grandeur of the Taj</div>
</div>
<div class="gallery-item">
<img src="./images/my-img7.jpg" alt="Image 5" />
<div class="caption">Embracing elegance in my ethnic attire</div>
</div>
<div class="gallery-item">
<img src="./images/my-img3.jpg" alt="Image 6" />
<div class="caption">Admiring the beauty of creativity</div>
</div>
<div class="gallery-item">
<img src="./images/my-img5.jpg" alt="Image 7" />
<div class="caption">Where knowledge blooms</div>
</div>
<div class="gallery-item">
<img src="./images/my-img8.jpg" alt="Image 8" />
<div class="caption">Simplicity wins the hearts</div>
</div>
<div class="gallery-item">
<img src="./images/my-img9.jpg" alt="Image 9" />
<div class="caption">Graduated with honor</div>
</div>
<div class="gallery-item">
<img src="./images/my-img10.jpg" alt="Image 10" />
<div class="caption">Relaxing tone</div>
</div>
<div class="gallery-item">
<img src="./images/my-img11.jpg" alt="Image 11" />
<div class="caption">Honored by Gagan college</div>
</div>
<div class="gallery-item">
<img src="./images/my-img12.jpg" alt="Image 12" />
<div class="caption">College convocation highlights</div>
</div>
<div class="gallery-item">
<img src="./images/my-img13.jpg" alt="Image 13" />
<div class="caption">Ready to grow and glow</div>
</div>
</div>
<button id="topBtn" title="Go to top"><i class="fa-solid fa-arrow-up"></i></button>
</main>
<footer>
<div class="leftSide">
<a href="/">
<img class="footImg" src=".//images/my-avatar.png" />
</a>
<span class="creator">All rights reserved ©2024, Vishal Kumar</span>
</div>
<ul>
<li>
<a href="https://github.com/vishal02527" target="_blank"
><i class="fa-brands fa-github fa-2xl"></i
></a>
</li>
<li>
<a
href="https://www.linkedin.com/in/vishal-kumar-8303a3283/"
target="_blank"
><i class="fa-brands fa-linkedin fa-2xl"></i
></a>
</li>
<li>
<a href="https://codepen.io/Vishal-Kumar25" target="_blank"
><i class="fa-brands fa-codepen fa-2xl"></i
></a>
</li>
</ul>
</footer>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-HwwvtgBNo3bZJJLYd8oVXjrBZt8cqVSpeBNS5n7C8IVInixGAoxmnlMuBnhbgrkm"
crossorigin="anonymous"
></script>
<script src="script.js"></script>
</body>
</html>