-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
395 lines (364 loc) · 21.2 KB
/
index.html
File metadata and controls
395 lines (364 loc) · 21.2 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
386
387
388
389
390
391
392
393
394
395
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>NAYAN</title>
<link rel="icon" href="nightowls.png" type="image/png">
<link href="https://unpkg.com/tailwindcss@^1.0/dist/tailwind.min.css" rel="stylesheet">
<link rel="stylesheet" href="https://demos.creative-tim.com/notus-js/assets/styles/tailwind.css">
<link rel="stylesheet"
href="https://demos.creative-tim.com/notus-js/assets/vendor/@fortawesome/fontawesome-free/css/all.min.css">
<link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300&display=swap" rel="stylesheet" />
<link rel="stylesheet" href="preloader.css">
<link rel="stylesheet" href="style.css">
<style>
/* Adding essential styles from main/style.css */
* {
margin: 0;
padding: 0;
}
video {
position: absolute;
top: 0;
left: 0;
z-index: -1;
height: 100vh;
width: 100vw;
object-fit: cover;
}
.home {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
flex-flow: column;
position: relative;
z-index: 0;
}
.content {
text-align: center;
}
.home .content h3 {
font-size: 4.5rem;
color: #fff;
text-transform: uppercase;
text-shadow: 0 .3rem .5rem rgba(0, 0, 0, .1);
}
.home .content p {
font-size: 2.5rem;
color: #fff;
padding: .5rem 0;
}
/* Override background for this page */
body {
background-color: #fff;
font-family: "Roboto", sans-serif;
margin: 0;
padding: 0;
}
.project-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}
.project-card {
transition: all 0.3s ease;
}
/* Animation for content */
@keyframes fadeIn {
from {
opacity: 0;
transform: translateY(20px);
}
to {
opacity: 1;
transform: translateY(0);
}
}
.animated {
animation: fadeIn 1s ease-out forwards;
}
</style>
<script>
setTimeout(function () {
window.onload = function () {
document.getElementById('loader').style.display = "none";
document.getElementById('content').style.display = "block";
// Add animation classes with delay
const elements = document.querySelectorAll('.animate-on-load');
elements.forEach((el, index) => {
setTimeout(() => {
el.classList.add('animated');
}, index * 200);
});
}
}, 50);
</script>
</head>
<body>
<!-- Loader -->
<div id="loader"></div>
<div id="content" style="display:none">
<!--nav/home section starts-->
<section>
<header class="text-gray-400 bg-gray-900 body-font">
<div class="container mx-auto flex flex-wrap p-5 flex-col md:flex-row items-center"
bis_skin_checked="1">
<a class="flex title-font font-medium items-center text-white mb-4 md:mb-0">
<svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round"
stroke-linejoin="round" stroke-width="2"
class="w-10 h-10 text-white p-2 bg-yellow-500 rounded-full" viewBox="0 0 24 24">
<path d="M12 2L2 7l10 5 10-5-10-5zM2 17l10 5 10-5M2 12l10 5 10-5"></path>
</svg>
<span class="ml-3 text-xl">NAYAN</span>
</a>
<nav class="md:ml-auto md:mr-auto flex flex-wrap items-center text-base justify-center">
<a class="mr-5 hover:text-white" href="#home">HOME</a>
<a class="mr-5 hover:text-white" href="#project">PROJECTS</a>
<a class="mr-5 hover:text-white" href="#contact">CONTACTS</a>
</nav>
</div>
</header>
<section class="home" id="home">
<div class="content animate-on-load">
<h3>Welcome</h3>
<p>To My Portfolio</p>
</div>
<div class="video-container">
<video src="main/images/main.mp4" id="video-slider" loop autoplay muted></video>
<svg version="1.0" xmlns="http://www.w3.org/2000/svg" class="w-4 h-4 mr-2" width="1280.000000pt"
height="1079.000000pt" viewBox="0 0 1280.000000 1079.000000"
preserveAspectRatio="xMidYMid meet">
<g transform="translate(0.000000,1079.000000) scale(0.100000,-0.100000)" fill="#000000"
stroke="none">
<path d="M7100 10730 c-36 -31 -528 -453 -1095 -936 -566 -483 -1351 -1152
-1742 -1486 l-713 -608 -1533 0 c-996 0 -1553 -4 -1588 -10 -193 -37 -379
-216 -419 -406 -7 -33 -10 -644 -8 -1899 3 -1773 4 -1852 22 -1899 46 -125
150 -243 265 -305 122 -65 23 -61 1698 -61 l1523 0 1253 -1067 c688 -587 1512
-1289 1829 -1560 318 -270 580 -488 583 -483 12 19 34 178 44 315 79 1045 89
5271 21 8665 -19 944 -49 1730 -68 1779 -6 16 -15 12 -72 -39z" />
<path d="M10847 10100 c-98 -109 -177 -200 -177 -202 0 -2 55 -60 123 -129
270 -273 505 -616 726 -1059 652 -1311 890 -2979 640 -4485 -158 -954 -481
-1811 -992 -2631 -101 -163 -301 -452 -374 -540 l-33 -41 217 -163 217 -163
22 26 c42 49 242 332 336 477 229 351 419 700 583 1069 587 1325 789 2790 589
4281 -188 1410 -728 2714 -1455 3517 -61 68 -141 149 -178 182 l-68 60 -176
-199z" />
<path d="M9730 8794 c-91 -102 -169 -191 -174 -197 -5 -9 18 -38 74 -92 720
-698 1123 -2299 965 -3835 -106 -1032 -455 -1890 -969 -2389 -42 -41 -75 -77
-74 -82 4 -11 349 -389 355 -389 14 0 118 99 205 195 679 749 1058 1944 1058
3335 0 1358 -368 2615 -984 3360 -85 103 -262 280 -279 279 -7 0 -86 -84 -177
-185z" />
<path d="M8189 7733 l-196 -176 91 -107 c616 -722 838 -1675 627 -2691 -106
-507 -320 -1004 -627 -1456 l-83 -122 197 -139 c108 -76 208 -146 221 -155 29
-19 22 -26 138 148 374 562 624 1192 722 1815 39 251 46 343 46 635 0 295 -8
399 -46 633 -97 590 -347 1149 -716 1605 -83 103 -161 187 -171 187 -4 -1 -95
-80 -203 -177z" />
</g>
<rect onclick="toggleAudio()" fill="currentColor" width="24" height="24" />
</svg>
</div>
</section>
</section>
<!--nav/home section ends-->
<!--project showcase starts-->
<section id="project" class="bg-gray-100 py-16">
<div class="container mx-auto px-6">
<h2 class="text-4xl font-bold mb-16 text-center animate-on-load">Projects I'm Proud Of</h2>
<div class="grid lg:grid-cols-3 gap-8">
<div class="project-card animate-on-load bg-white rounded-lg overflow-hidden shadow-lg">
<div class="relative overflow-hidden">
<img src="main/images/weatherapp.png"
class="w-full transition-transform duration-500 hover:scale-110" />
<a href="main/second/weather.html"
class="absolute inset-0 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity bg-black bg-opacity-20">
<span class="bg-yellow-500 text-white py-2 px-4 rounded-lg font-bold">Try It</span>
</a>
</div>
<div class="p-6">
<h5 class="text-xl font-bold mb-3">WEATHER APP</h5>
<div class="mb-3 text-red-600 font-medium text-sm flex items-center">
<svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512">
<path fill="currentColor"
d="M216 23.86c0-23.8-30.65-32.77-44.15-13.04C48 191.85 224 200 224 288c0 35.63-29.11 64.46-64.85 63.99-35.17-.45-63.15-29.77-63.15-64.94v-85.51c0-21.7-26.47-32.23-41.43-16.5C27.8 213.16 0 261.33 0 320c0 105.87 86.13 192 192 192s192-86.13 192-192c0-170.29-168-193-168-296.14z" />
</svg>
<span>Real-time Weather Data</span>
</div>
<p class="text-gray-700">
Shows you current weather conditions for any location with intuitive visuals and
accurate forecasts.
</p>
</div>
</div>
<div class="project-card animate-on-load bg-white rounded-lg overflow-hidden shadow-lg">
<div class="relative overflow-hidden">
<img src="main/images/tiktaktoelogo.png"
class="w-full transition-transform duration-500 hover:scale-110" />
<a href="main/tiktaktoe/index.html"
class="absolute inset-0 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity bg-black bg-opacity-20">
<span class="bg-blue-500 text-white py-2 px-4 rounded-lg font-bold">Play Now</span>
</a>
</div>
<div class="p-6">
<h5 class="text-xl font-bold mb-3">TIC-TAC-TOE</h5>
<div class="mb-3 text-blue-600 font-medium text-sm flex items-center">
<svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512">
<path fill="currentColor"
d="M437.2 403.5L320 215V64h8c13.3 0 24-10.7 24-24V24c0-13.3-10.7-24-24-24H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h8v151L10.8 403.5C-18.5 450.6 15.3 512 70.9 512h306.2c55.7 0 89.4-61.5 60.1-108.5zM137.9 320l48.2-77.6c3.7-5.2 5.8-11.6 5.8-18.4V64h64v160c0 6.9 2.2 13.2 5.8 18.4l48.2 77.6h-172z" />
</svg>
<span>Interactive Gaming</span>
</div>
<p class="text-gray-700">
Classic game reimagined with a modern interface. Challenge yourself or play against
friends in this timeless strategy game.
</p>
</div>
</div>
<div class="project-card animate-on-load bg-white rounded-lg overflow-hidden shadow-lg">
<div class="relative overflow-hidden">
<img src="main/images/movieengine.png"
class="w-full transition-transform duration-500 hover:scale-110" />
<a href="main/moviesearchengine/index.html"
class="absolute inset-0 flex items-center justify-center opacity-0 hover:opacity-100 transition-opacity bg-black bg-opacity-20">
<span class="bg-yellow-500 text-white py-2 px-4 rounded-lg font-bold">Search
Movies</span>
</a>
</div>
<div class="p-6">
<h5 class="text-xl font-bold mb-3">MOVIE SEARCH ENGINE</h5>
<div class="mb-3 text-yellow-500 font-medium text-sm flex items-center">
<svg class="w-5 h-5 mr-2" fill="currentColor" viewBox="0 -13.54 122.88 122.88">
<path
d="M12.14,0H32.8h29.43h28.8h19.71c3.34,0,6.38,1.37,8.58,3.56c2.2,2.2,3.56,5.24,3.56,8.58v7.13v57.25v7.09 c0,3.34-1.37,6.38-3.56,8.58c-2.2,2.2-5.24,3.56-8.58,3.56h-19.2c-0.16,0.03-0.33,0.04-0.51,0.04c-0.17,0-0.34-0.01-0.51-0.04 H62.74c-0.16,0.03-0.33,0.04-0.51,0.04c-0.17,0-0.34-0.01-0.51-0.04H33.31c-0.16,0.03-0.33,0.04-0.51,0.04 c-0.17,0-0.34-0.01-0.51-0.04H12.14c-3.34,0-6.38-1.37-8.58-3.56S0,86.95,0,83.61v-7.09V19.27v-7.13C0,8.8,1.37,5.76,3.56,3.56 C5.76,1.37,8.8,0,12.14,0L12.14,0z M55.19,31.24l20.53,14.32c0.32,0.2,0.61,0.48,0.84,0.81c0.92,1.33,0.58,3.14-0.74,4.06 L55.37,64.57c-0.5,0.41-1.15,0.66-1.85,0.66c-1.62,0-2.93-1.31-2.93-2.93V33.63h0.01c0-0.58,0.17-1.16,0.52-1.67 C52.05,30.64,53.87,30.32,55.19,31.24L55.19,31.24z" />
</svg>
<span>Comprehensive Database</span>
</div>
<p class="text-gray-700">
Find detailed information about any movie instantly. Powerful search capabilities with a
clean, user-friendly interface.
</p>
</div>
</div>
<div class="project-card animate-on-load bg-white rounded-lg overflow-hidden shadow-lg">
<div class="relative overflow-hidden bg-gray-300">
<img src="https://mdbootstrap.com/img/new/standard/city/047.jpg"
class="w-full transition-transform duration-500 hover:scale-110" />
<div class="absolute inset-0 flex items-center justify-center bg-black bg-opacity-30">
<span class="bg-purple-500 text-white py-2 px-4 rounded-lg font-bold">Coming Soon</span>
</div>
</div>
<div class="p-6">
<h5 class="text-xl font-bold mb-3">FUTURE PROJECT</h5>
<div class="mb-3 text-purple-600 font-medium text-sm flex items-center">
<svg class="w-4 h-4 mr-2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
<path fill="currentColor"
d="M256 160c-52.9 0-96 43.1-96 96s43.1 96 96 96 96-43.1 96-96-43.1-96-96-96zm246.4 80.5l-94.7-47.3 33.5-100.4c4.5-13.6-8.4-26.5-21.9-21.9l-100.4 33.5-47.4-94.8c-6.4-12.8-24.6-12.8-31 0l-47.3 94.7L92.7 70.8c-13.6-4.5-26.5 8.4-21.9 21.9l33.5 100.4-94.7 47.4c-12.8 6.4-12.8 24.6 0 31l94.7 47.3-33.5 100.5c-4.5 13.6 8.4 26.5 21.9 21.9l100.4-33.5 47.3 94.7c6.4 12.8 24.6 12.8 31 0l47.3-94.7 100.4 33.5c13.6 4.5 26.5-8.4 21.9-21.9l-33.5-100.4 94.7-47.3c13-6.5 13-24.7.2-31.1zm-155.9 106c-49.9 49.9-131.1 49.9-181 0-49.9-49.9-49.9-131.1 0-181 49.9-49.9 131.1-49.9 181 0 49.9 49.9 49.9 131.1 0 181z" />
</svg>
<span>Under Development</span>
</div>
<p class="text-gray-700">
Something exciting is in the works! Stay tuned for an innovative new project coming to
this space soon.
</p>
</div>
</div>
</div>
</div>
</section>
<!--project showcase ends-->
<!--Contact section starts-->
<section id="contact">
<footer class="relative bg-blueGray-200 pt-8 pb-6">
<div class="container mx-auto px-4">
<div class="flex flex-wrap text-left lg:text-left">
<div class="w-full lg:w-6/12 px-4">
<h4 class="text-3xl font-semibold text-blueGray-700 animate-on-load">Let's keep in touch!
</h4>
<h5 class="text-lg mt-0 mb-2 text-blueGray-600 animate-on-load">
Find me on any of these platforms, I respond within 1-2 business days.
</h5>
<div class="mt-6 lg:mb-0 mb-6">
<a href="https://twitter.com/nooneknows135" target="_blank">
<button
class="bg-white text-lightBlue-400 shadow-lg font-normal h-10 w-10 items-center justify-center align-center rounded-full outline-none focus:outline-none mr-2 hover:bg-lightBlue-400 hover:text-white transition-all duration-300"
type="button">
<i class="fab fa-twitter"></i>
</button>
</a>
<a href="https://facebook.com/naa13" target="_blank">
<button
class="bg-white text-lightBlue-600 shadow-lg font-normal h-10 w-10 items-center justify-center align-center rounded-full outline-none focus:outline-none mr-2 hover:bg-lightBlue-600 hover:text-white transition-all duration-300"
type="button">
<i class="fab fa-facebook-square"></i>
</button>
</a>
<a href="https://github.com/nayan135" target="_blank">
<button
class="bg-white text-blueGray-800 shadow-lg font-normal h-10 w-10 items-center justify-center align-center rounded-full outline-none focus:outline-none mr-2 hover:bg-blueGray-800 hover:text-white transition-all duration-300"
type="button">
<i class="fab fa-github"></i>
</button>
</a>
</div>
</div>
<div class="w-full lg:w-6/12 px-4">
<div class="flex flex-wrap items-top mb-6">
<div class="w-full lg:w-6/12 px-4 ml-auto">
<span class="block uppercase text-blueGray-500 text-sm font-semibold mb-2">Useful
Links</span>
<ul class="list-unstyled">
<li>
<a class="text-blueGray-600 hover:text-blueGray-800 font-semibold block pb-2 text-sm"
href="https://nayanacharya.xyz" target="_blank">About Me</a>
</li>
<li>
<a class="text-blueGray-600 hover:text-blueGray-800 font-semibold block pb-2 text-sm"
href="https://github.com/nayan135" target="_blank">Github</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<hr class="my-6 border-blueGray-300">
<div class="flex flex-wrap items-center md:justify-between justify-center">
<div class="w-full md:w-4/12 px-4 mx-auto text-center">
<div class="text-sm text-blueGray-500 font-semibold py-1">
Copyright © <span id="get-current-year">2022</span> by
<a href="" class="text-blueGray-500 hover:text-blueGray-800">Nayan</a>
</div>
</div>
</div>
</div>
</footer>
</section>
<!--Contact section ends-->
</div>
<script>
// Audio toggle function
function toggleAudio() {
const video = document.getElementById('video-slider');
if (video.muted) {
video.muted = false;
} else {
video.muted = true;
}
}
// Intersection Observer for animations
document.addEventListener("DOMContentLoaded", function () {
const observer = new IntersectionObserver((entries) => {
entries.forEach(entry => {
if (entry.isIntersecting) {
entry.target.classList.add('animated');
}
});
}, {
threshold: 0.1
});
document.querySelectorAll('.animate-on-load').forEach(item => {
observer.observe(item);
});
});
</script>
</body>
</html>