-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
385 lines (327 loc) · 9.03 KB
/
index.html
File metadata and controls
385 lines (327 loc) · 9.03 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Lovleen Kala - Portfolio</title>
<style>
/* General styles */
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: #f5f5f5;
color: #444;
}
/* Header styles */
header {
background-color: #d2b48c;
color: #fff;
padding: 10px 0;
text-align: center;
}
nav ul {
list-style: none;
display: flex;
justify-content: center;
}
nav li {
margin: 0 20px;
}
nav a {
text-decoration: none;
color: #fff;
font-size: 18px;
transition: color 0.3s ease;
}
nav a:hover {
color: #8b4513;
}
/* About section styles */
#about {
text-align: center;
padding: 40px 0;
background-color: #d2b48c;
color: #fff;
}
.header-image {
position: relative;
overflow: hidden;
}
.header-image img {
width: 100%;
height: auto;
display: block;
border-radius: 10px;
transition: transform 0.3s ease;
}
.hover-effect {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 15%;
background-color: rgba(0, 0, 0, 0.7);
padding: 10px 20px;
display: flex;
justify-content: center;
align-items: center;
opacity: 0;
transition: opacity 0.3s ease;
}
.header-image:hover .hover-effect {
opacity: 1;
}
.hover-effect p {
color: #fff;
font-size: 24px;
}
.profile {
padding: 20px;
color: #080808;
background-color: #fff;
}
.profile img {
width: 150px;
height: 150px;
border-radius: 50%;
display: block;
margin: 0 auto;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
/* Work section styles */
#work {
display: flex;
flex-wrap: wrap;
justify-content: center;
}
.project {
flex: 1;
max-width: 400px;
margin: 20px;
text-align: center;
padding: 20px;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.project img {
width: 100%;
height: auto;
border-radius: 5px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.project h2 {
margin-top: 20px;
font-size: 24px;
color: #8b4513;
}
.project p {
font-size: 16px;
}
.project:hover {
transform: translateY(-5px);
}
/* Gallery section styles */
#gallery {
text-align: center;
padding: 40px 0;
background-color: #f5f5f5;
}
.gallery {
display: flex;
flex-wrap: wrap;
justify-content: center;
padding: 20px;
}
.gallery img {
width: 200px;
height: auto;
margin: 10px;
border-radius: 5px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.gallery img:hover {
transform: scale(1.1);
}
/* Contact section styles */
#contact {
text-align: center;
padding: 40px 0;
background-color: #d2b48c;
color: #fff;
}
.contact-details {
padding: 20px;
color: #8b4513;
background-color: #fff;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
/* Media Queries */
@media only screen and (max-width: 768px) {
/* Adjust header navigation for smaller screens */
nav li {
margin: 0 10px;
}
/* Adjust project width for smaller screens */
.project {
max-width: 300px;
}
/* Adjust gallery image width for smaller screens */
.gallery img {
width: 150px;
}
}
@media only screen and (max-width: 480px) {
/* Further adjustments for even smaller screens if needed */
}
#project-video {
text-align: center;
padding: 40px 0;
background-color: #f9f9f9;
color: #333;
}
#project-video .project {
max-width: 600px;
margin: 0 auto;
}
#project-video .video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width) */
overflow: hidden;
max-width: 100%;
}
#project-video iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
.project-card {
max-width: 560px;
margin: 0 auto;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
border-radius: 5px;
overflow: hidden;
}
.project-card iframe {
width: 100%;
height: 100%;
}
.project {
text-align: center;
padding: 20px;
background-color: #9f3f045c;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.project h2 {
margin-top: 20px;
font-size: 24px;
color: #8b4513;
}
.project p {
font-size: 16px;
}
.video-container {
position: relative;
padding-bottom: 56.25%; /* 16:9 aspect ratio (height/width) */
overflow: hidden;
}
.video-container iframe {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
}
</style>
</head>
<body>
<header>
<nav>
<ul>
<li><a href="#about">ABOUT</a></li>
<li><a href="#work">WORK</a></li>
<li><a href="#gallery">GALLERY</a></li>
<li><a href="#contact">CONTACT</a></li>
</ul>
</nav>
</header>
<main>
<section id="about">
<!-- Header image with hover effect -->
<div class="header-image">
<img src="deakin.jpg" alt="Header Image">
<div class="hover-effect">
<p>I'm Lovleen, Heluuu</p>
</div>
</div>
<!-- Profile photo and job description -->
<div class="profile">
<img src="lovleen.jpg" alt="Lovleen's Photo">
<h1>Lovleen Kala</h1>
<p>Heluu!! I am Lovleen, a student of Deakin University. I will be joining the Deakin Campus in 2024 and will be pursuing software engineering!!!!</p>
</div>
</section>
<section id="work">
<!-- List of projects -->
<div class="project">
<section id="video">
<div class="project-card">
<iframe width="560" height="315" src="https://www.youtube.com/embed/kF8ntjvO6dc" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</section>
<h2>Collision Avoidance Quadcopter</h2>
<p>For my SIT111 project in the second semester, my teammates and I made a collision avoidance quadcopter using Pixhawk as a flight controller.</p>
</div>
<div class="project">
<section id="project-video">
<div class="project">
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/fDsjMNC_SSQ" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
</div>
</section>
<h2>Game Project</h2>
<p>For my SIT103 project in the first semester, I made a game that enabled a user to collect coins from a spaceship.</p>
</div>
<!-- Inside the project card -->
<div class="project">
<div class="video-container">
<iframe width="560" height="315" src="https://www.youtube.com/embed/5NLpub94YuY" title="YouTube video player" frameborder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" allowfullscreen></iframe>
</div>
<h2>Twin Cars</h2>
<p>The objective is to develop communication between at least two robots, where one acts as the main and the other as the follower, to enable the swarm of robots to perform tasks together.</p>
</div>
</section>
<section id="gallery">
<!-- Image gallery -->
<h2>Photo Gallery</h2>
<div class="gallery">
<img src="s2.JPG" alt="Image 1">
<img src="s1.jpg" alt="Image 2">
<img src="s3.jpg" alt="Image 3">
<img src="s4.jpg" alt="Image 4">
<img src="s5.jpg" alt="Image 5">
<img src="s6.jpg" alt="Image 6">
<img src="s7.jpg" alt="Image 7">
<img src="s8.jpg" alt="Image 8">
<img src="s9.jpg" alt="Image 9">
<img src="s10.jpg" alt="Image 10">
</div>
</section>
<section id="contact">
<!-- Contact details -->
<div class="contact-details">
<h2>Contact Me</h2>
<hr>
<p>Contact Number: +91 7023099993 </p>
<p>Email: Lovleen4801.be22@chitkara.edu.in</p>
</div>
</section>
</main>
</body>
</html>