-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
613 lines (537 loc) · 35.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
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
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
<!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">
<title>Priyanka Vijay</title>
<!--
Fluid Gallery Template
http://www.templatemo.com/tm-500-fluid-gallery
-->
<!-- load stylesheets -->
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open+Sans:300,400,600">
<!-- Google web font "Open Sans" -->
<link rel="stylesheet" href="Font-Awesome-4.7/css/font-awesome.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="css/bootstrap.min.css">
<!-- Bootstrap style -->
<link rel="stylesheet" href="css/hero-slider-style.css">
<!-- Hero slider style (https://codyhouse.co/gem/hero-slider/) -->
<link rel="stylesheet" href="css/magnific-popup.css">
<!-- Magnific popup style (http://dimsemenov.com/plugins/magnific-popup/) -->
<link rel="stylesheet" href="css/templatemo-style.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- These two JS are loaded at the top for gray scale including the loader. -->
<script src="js/jquery-1.11.3.min.js"></script>
<script src="https://smtpjs.com/v3/smtp.js"></script>
<!-- jQuery (https://jquery.com/download/) -->
<script>
var tm_gray_site = false;
if(tm_gray_site) {
$('html').addClass('gray');
}
else {
$('html').removeClass('gray');
}
</script>
</head>
<body>
<!-- Content -->
<div class="cd-hero">
<!-- Navigation -->
<div class="cd-slider-nav">
<nav class="navbar">
<div class="tm-navbar-bg">
<a class="navbar-brand text-uppercase" href="#"><i class="fa fa-picture-o tm-brand-icon"></i>Priyanka Vijay</a>
<button class="navbar-toggler hidden-lg-up" type="button" data-toggle="collapse" data-target="#tmNavbar">
☰
</button>
<div class="collapse navbar-toggleable-md text-xs-center text-uppercase tm-navbar" id="tmNavbar">
<ul class="nav navbar-nav">
<li class="nav-item active selected">
<a class="nav-link" href="#0" data-no="1">All about me<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link" href="#0" data-no="2">Cooking</a>
</li>
<li class="nav-item">
<a class="nav-link" href="#0" data-no="5">Message</a>
</li>
</ul>
</div>
</div>
</nav>
</div>
<ul class="cd-hero-slider">
<!-- Page 1 Gallery One -->
<li class="selected">
<div class="cd-full-width">
<div class="container-fluid js-tm-page-content" data-page-no="1" data-page-type="gallery">
<div class="tm-img-gallery-container">
<div class="tm-img-gallery gallery-one">
<!-- Gallery One pop up connected with JS code below -->
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-01-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p>We did not come to fear the future. We came here to shape it.</p>
<a href="img/tm-img-01.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-02-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Always smile because you don't know who is falling for it!! <3</p>
<a href="img/tm-img-02.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-03-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Nature has it all.</p>
<a href="img/tm-img-03.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-04-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Love <3.</p>
<a href="img/tm-img-04.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-05-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">It's funny how the little things can make the biggest impact in our life, it's sad when others don't notice.</p>
<a href="img/tm-img-05.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-06-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Throwback to perfect me</p>
<a href="img/tm-img-06.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-07-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">All we have is Now.</p>
<a href="img/tm-img-07.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-08-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Time you enjoy wasting is not wasted time.</p>
<a href="img/tm-img-08.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-09-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">The moment you realise your worth...things begin to change!</p>
<a href="img/tm-img-09.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-10-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">When Christmas & New year vibes come together!</p>
<a href="img/tm-img-10.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-11-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Let it all shine on, Happy Diwali!.</p>
<a href="img/tm-img-11.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-12-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Love yourself first, because that's who you'll be spending the rest of your life with!</p>
<a href="img/tm-img-12.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-13-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Happiness is an inside job.</p>
<a href="img/tm-img-13.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-14-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">“Music. . .can name the unnameable and communicate the unknowable.”</p>
<a href="img/tm-img-14.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-15-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Inhale the future, Exhale the past!</p>
<a href="img/tm-img-15.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/tm-img-16-tn.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<p class="tm-figure-description">Make it simple but significant! </p>
<a href="img/tm-img-16.jpg">View more</a>
</figcaption>
</figure>
</div>
</div>
</div>
</div>
</div>
</li>
<!-- Page 2 Gallery Two -->
<li>
<div class="cd-full-width">
<div class="container-fluid js-tm-page-content" data-page-no="2" data-page-type="gallery">
<div class="tm-img-gallery-container">
<div class="tm-img-gallery gallery-two">
<!-- Gallery Two pop up connected with JS code below -->
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-01.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Chicken Kabab</strong></span></h2>
<p class="tm-figure-description">#indianrecipes #indianfood #nonveg #chickenrecipes #kabab #myfooddiary</p>
<a href="img/cooking/tm-img-01.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-02.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Chapathi with curry</strong></span></h2>
<a href="img/cooking/tm-img-02.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-03.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Semiya kheer</strong></span></h2>
<p class="tm-figure-description">#sweets #indianfood #indiancuisine #foodporn #myfooddiary</p>
<a href="img/cooking/tm-img-03.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-04.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Andra style chicken curry</strong></span></h2>
<p class="tm-figure-description">Andra style chicken curry .. served with chapathis!</p>
<a href="img/cooking/tm-img-04.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-05.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Chicken cutlet!</strong></span></h2>
<p class="tm-figure-description">#indianrecipes #indianfood #nonveg #nonvegcity #cutlet #myfooddiary</p>
<a href="img/cooking/tm-img-05.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-06.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Upma and kesaribath</strong></span></h2>
<p class="tm-figure-description">#indianstyle #indianfood #breakfast #myfooddiary</p>
<a href="img/cooking/tm-img-06.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-07.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Rava Laddu</strong></span></h2>
<p class="tm-figure-description">#indianfood #sweets #laddu #myfooddiary</p>
<a href="img/cooking/tm-img-07.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-08.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Pepper Chicken</strong></span></h2>
<p class="tm-figure-description">#indianrecipes #indianfood #chicken #nonvegcity #nonveg #myfooddiary</p>
<a href="img/cooking/tm-img-08.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-09.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Chicken Ghee roast</strong></span></h2>
<p class="tm-figure-description">#nonveg #chicken #indianfood #indianrecipes #myfooddiary</p>
<a href="img/cooking/tm-img-09.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-10.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Mushroom Pakoda</strong></span></h2>
<p class="tm-figure-description">#mushrooms #myfooddiary</p>
<a href="img/cooking/tm-img-10.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-11.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Egg Pepper Fry</strong></span></h2>
<p class="tm-figure-description">#eggrecipes #indianfood #indianstyle #myfooddiary</p>
<a href="img/cooking/tm-img-11.jpg">View more</a>
</figcaption>
</figure>
</div>
<div class="grid-item">
<figure class="effect-sadie">
<img src="img/cooking/tm-img-12.jpg" alt="Image" class="img-fluid tm-img">
<figcaption>
<h2 class="tm-figure-title"> <span><strong>Cocunut burfi</strong></span></h2>
<p class="tm-figure-description">#sweets #indianfood #coconutrecipes #myfooddiary</p>
<a href="img/cooking/tm-img-12.jpg">View more</a>
</figcaption>
</figure>
</div>
</div>
</div>
</div>
</div>
</li>
<!-- Page 5 Contact Us -->
<li>
<div class="cd-full-width">
<div class="container-fluid js-tm-page-content tm-page-pad" data-page-no="4">
<div class="tm-contact-page">
<div class="row">
<div class="col-xs-12">
<div class="tm-flex tm-contact-container">
<div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding tm-textbox-padding-contact">
<h2 class="tm-contact-info">Feel free to say Hi!</h2>
<!-- contact form -->
<form action="index.html" method="post" class="tm-contact-form">
<div class="form-group">
<input type="text" id="contact_name" name="contact_name" class="form-control" placeholder="Name" required/>
</div>
<div class="form-group">
<input type="email" id="contact_email" name="contact_email" class="form-control" placeholder="Email" required/>
</div>
<div class="form-group">
<textarea id="contact_message" name="contact_message" class="form-control" rows="5" placeholder="Message" required></textarea>
</div>
<button type="submit" class="pull-xs-right tm-submit-btn">Send</button>
</form>
</div>
<div class="tm-bg-white-translucent text-xs-left tm-textbox tm-2-col-textbox-2 tm-textbox-padding tm-textbox-padding-contact">
<h2 class="tm-contact-info">Bengaluru, Karnataka, India.</h2>
<!-- google map goes here -->
<div id="google-map"></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div> <!-- .cd-full-width -->
</li>
</ul> <!-- .cd-hero-slider -->
<footer class="tm-footer">
<div class="tm-social-icons-container text-xs-center">
<a href="#" class="tm-social-link"><i class="fa fa-facebook"></i></a>
<a href="#" class="tm-social-link"><i class="fa fa-google-plus"></i></a>
<a href="#" class="tm-social-link"><i class="fa fa-twitter"></i></a>
<a href="#" class="tm-social-link"><i class="fa fa-behance"></i></a>
<a href="#" class="tm-social-link"><i class="fa fa-linkedin"></i></a>
</div>
<p class="tm-copyright-text">Copyright © <span class="tm-copyright-year">current year</span> Priyanka Vijay </p>
</footer>
</div> <!-- .cd-hero -->
<!-- Preloader, https://ihatetomatoes.net/create-custom-preloading-screen/ -->
<div id="loader-wrapper">
<div id="loader"></div>
<div class="loader-section section-left"></div>
<div class="loader-section section-right"></div>
</div>
<!-- load JS files -->
<script src="js/tether.min.js"></script> <!-- Tether (http://tether.io/) -->
<script src="js/bootstrap.min.js"></script> <!-- Bootstrap js (v4-alpha.getbootstrap.com/) -->
<script src="js/hero-slider-main.js"></script> <!-- Hero slider (https://codyhouse.co/gem/hero-slider/) -->
<script src="js/jquery.magnific-popup.min.js"></script> <!-- Magnific popup (http://dimsemenov.com/plugins/magnific-popup/) -->
<script>
function adjustHeightOfPage(pageNo) {
var pageContentHeight = 0;
var pageType = $('div[data-page-no="' + pageNo + '"]').data("page-type");
if( pageType != undefined && pageType == "gallery") {
pageContentHeight = $(".cd-hero-slider li:nth-of-type(" + pageNo + ") .tm-img-gallery-container").height();
}
else {
pageContentHeight = $(".cd-hero-slider li:nth-of-type(" + pageNo + ") .js-tm-page-content").height() + 20;
}
// Get the page height
var totalPageHeight = $('.cd-slider-nav').height()
+ pageContentHeight
+ $('.tm-footer').outerHeight();
// Adjust layout based on page height and window height
if(totalPageHeight > $(window).height())
{
$('.cd-hero-slider').addClass('small-screen');
$('.cd-hero-slider li:nth-of-type(' + pageNo + ')').css("min-height", totalPageHeight + "px");
}
else
{
$('.cd-hero-slider').removeClass('small-screen');
$('.cd-hero-slider li:nth-of-type(' + pageNo + ')').css("min-height", "100%");
}
}
/*
Everything is loaded including images.
*/
$(window).load(function(){
adjustHeightOfPage(1); // Adjust page height
/* Gallery One pop up
-----------------------------------------*/
$('.gallery-one').magnificPopup({
delegate: 'a', // child items selector, by clicking on it popup will open
type: 'image',
gallery:{enabled:true}
});
/* Gallery Two pop up
-----------------------------------------*/
$('.gallery-two').magnificPopup({
delegate: 'a',
type: 'image',
gallery:{enabled:true}
});
/* Gallery Three pop up
-----------------------------------------*/
$('.gallery-three').magnificPopup({
delegate: 'a',
type: 'image',
gallery:{enabled:true}
});
/* Collapse menu after click
-----------------------------------------*/
$('#tmNavbar a').click(function(){
$('#tmNavbar').collapse('hide');
adjustHeightOfPage($(this).data("no")); // Adjust page height
});
/* Browser resized
-----------------------------------------*/
$( window ).resize(function() {
var currentPageNo = $(".cd-hero-slider li.selected .js-tm-page-content").data("page-no");
// wait 3 seconds
setTimeout(function() {
adjustHeightOfPage( currentPageNo );
}, 1000);
});
// Remove preloader (https://ihatetomatoes.net/create-custom-preloading-screen/)
$('body').addClass('loaded');
// Write current year in copyright text.
$(".tm-copyright-year").text(new Date().getFullYear());
});
/* Google map
------------------------------------------------*/
var map = '';
var center;
function initialize() {
var mapOptions = {
zoom: 13,
center: new google.maps.LatLng(12.9716, 77.5946),
scrollwheel: false
};
map = new google.maps.Map(document.getElementById('google-map'), mapOptions);
google.maps.event.addDomListener(map, 'idle', function() {
calculateCenter();
});
google.maps.event.addDomListener(window, 'resize', function() {
map.setCenter(center);
});
}
function calculateCenter() {
center = map.getCenter();
}
function loadGoogleMap(){
var script = document.createElement('script');
script.type = 'text/javascript';
script.src = 'https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&' + 'callback=initialize';
document.body.appendChild(script);
}
function sendEmail() {
Email.send({
Host: "smtp.gmail.com",
Username: "sender@email_address.com",
Password: "Enter your password",
To: 'receiver@email_address.com',
From: "sender@email_address.com",
Subject: "Sending Email using javascript",
Body: "Well that was easy!!",
})
.then(function (message) {
alert("mail sent successfully")
});
}
// DOM is ready
$(function() {
loadGoogleMap(); // Google Map
});
</script>
</body>
</html>