separate header and footer, remove unused libraries

This commit is contained in:
Andrey Vasnetsov
2021-04-02 18:36:40 +02:00
parent 0b0ec1fca4
commit d87dc3f1af
13 changed files with 197 additions and 314 deletions
@@ -154,22 +154,6 @@
}
//Parallax Scene for Icons
// if($('.parallax-scene-1').length){
// var scene = $('.parallax-scene-1').get(0);
// var parallaxInstance = new Parallax(scene);
// }
// if($('.parallax-scene-2').length){
// var scene = $('.parallax-scene-2').get(0);
// var parallaxInstance = new Parallax(scene);
// }
// if($('.parallax-scene-3').length){
// var scene = $('.parallax-scene-3').get(0);
// var parallaxInstance = new Parallax(scene);
// }
//Tabs Box
if($('.tabs-box').length){
$('.tabs-box .tab-buttons .tab-btn').on('click', function(e) {
@@ -210,224 +194,6 @@
});
}
// Main Slider Carousel
if ($('.main-slider-carousel').length) {
$('.main-slider-carousel').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:true,
margin:0,
nav:true,
smartSpeed: 500,
autoplay: 6000,
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:1
},
800:{
items:1
},
1024:{
items:1
},
1200:{
items:1
},
1500:{
items:1
}
}
});
}
// Sponsors Carousel
if ($('.sponsors-carousel').length) {
$('.sponsors-carousel').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:false,
margin:30,
nav:true,
smartSpeed: 500,
autoplay: false,
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:2
},
800:{
items:3
},
1024:{
items:2
},
1200:{
items:2
},
1500:{
items:2
}
}
});
}
// Sponsors Carousel Two
if ($('.sponsors-carousel-two').length) {
$('.sponsors-carousel-two').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:true,
margin:30,
nav:true,
smartSpeed: 500,
autoplay: 6000,
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:2
},
800:{
items:3
},
1024:{
items:3
},
1200:{
items:3
},
1500:{
items:3
}
}
});
}
// Single Item Carousel
if ($('.single-item-carousel').length) {
$('.single-item-carousel').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:true,
margin:0,
nav:true,
smartSpeed: 500,
autoplay: 6000,
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:1
},
800:{
items:1
},
1024:{
items:1
},
1200:{
items:1
},
1500:{
items:1
}
}
});
}
// Two Item Carousel
if ($('.two-item-carousel').length) {
$('.two-item-carousel').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:true,
margin:0,
nav:true,
smartSpeed: 500,
autoplay: 6000,
navText: [ '<span class="flaticon-left-arrow-2"></span>', '<span class="flaticon-right-arrow-2"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:1
},
800:{
items:1
},
1024:{
items:2
},
1200:{
items:2
},
1500:{
items:2
}
}
});
}
// Three Item Carousel
if ($('.three-item-carousel').length) {
$('.three-item-carousel').owlCarousel({
//animateOut: 'fadeOut',
//animateIn: 'fadeIn',
loop:true,
margin:30,
nav:true,
smartSpeed: 500,
autoplay: 6000,
navText: [ '<span class="fa fa-angle-left"></span>', '<span class="fa fa-angle-right"></span>' ],
responsive:{
0:{
items:1
},
600:{
items:2
},
800:{
items:2
},
1024:{
items:2
},
1200:{
items:2
},
1500:{
items:2
}
}
});
}
//Event Countdown Timer
if($('.time-countdown').length){
$('.time-countdown').each(function() {