Skip to content

Commit

Permalink
web
Browse files Browse the repository at this point in the history
  • Loading branch information
sigce committed Jan 13, 2023
0 parents commit d5a7564
Show file tree
Hide file tree
Showing 40 changed files with 8,423 additions and 0 deletions.
2,773 changes: 2,773 additions & 0 deletions assets/css/animate.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions assets/css/bootstrap.min.css

Large diffs are not rendered by default.

Binary file added assets/css/fonts/icofont.woff
Binary file not shown.
Binary file added assets/css/fonts/icofont.woff2
Binary file not shown.
1 change: 1 addition & 0 deletions assets/css/hc-offcanvas-nav.css

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions assets/css/icofont.min.css

Large diffs are not rendered by default.

4,733 changes: 4,733 additions & 0 deletions assets/css/style.css

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions assets/css/swiper.min.css

Large diffs are not rendered by default.

Binary file added assets/images/about/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/about/07-1.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/about/07.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/banner/2.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/certificat/01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/certificat/02.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/certificat/03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/certificat/04.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/footer/bg1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/logo/logo2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/pageheader/pageheader.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/service/05.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/service/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/service/icon/01.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/sponsor/6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/images/testimonial/bg.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 7 additions & 0 deletions assets/js/bootstrap.min.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/circularProgressBar.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

328 changes: 328 additions & 0 deletions assets/js/functions.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,328 @@
(function ($) {
"use strict";
$(window).on('load', function(){
$('.preloader').fadeOut(500);
})


$(document).ready(function () {

/*=========Mobile menu start ============*/
$('#mobile-nav').hcOffcanvasNav({
position: 'right',
height: 500,
customToggle: '.open-menu',
levelOpen: 'overlap',
bodyInsert: 'append',
});

/*=========Mobile menu end ============*/

/*======|| Header Menu Start here ||=======*/

//menu has submenu plus icon
$(".main-menu>li>.submenu").parent("li").children("a").addClass("dd-icon-down");
$(".m-menu>li>.m-submenu").parent("li").children("a").addClass("dd-icon-down");
$(".shop-menu>li>.shop-submenu").parent("li").children("a").addClass("dd-icon-down");
$(".main-menu>li>.submenu .submenu").parent("li").children("a").addClass("dd-icon-right");
$(".m-menu>li>.m-submenu .submenu").parent("li").children("a").addClass("dd-icon-right");


//shop-widget drodown menu display
$('.shop-widget .shop-menu li a').on('click', function (e) {
var element = $(this).parent('li');
if (element.hasClass('open')) {
element.removeClass('open');
element.find('li').removeClass('open');
element.find('ul').slideUp(1000, "swing");
} else {
element.addClass('open');
element.children('ul').slideDown(1000, "swing");
element.siblings('li').children('ul').slideUp(1000, "swing");
element.siblings('li').removeClass('open');
element.siblings('li').find('li').removeClass('open');
element.siblings('li').find('ul').slideUp(1000, "swing");
}
});

// drop down menu width overflow problem fix
$('ul').parent().hover(function () {
var menu = $(this).find("ul");
var menupos = $(menu).offset();

if (menupos.left + menu.width() > $(window).width()) {
var newpos = -$(menu).width();
menu.css({
left: newpos
});
}
});

//header options in menu fixed
var fixed_top = $(".header-bottom");
$(window).on('scroll', function () {
if ($(this).scrollTop() > 100) {
fixed_top.addClass("animated fadeInDown menu-fixed");
} else {
fixed_top.removeClass("animated fadeInDown menu-fixed");
}
});

//Js code for search box start
$(".search").on("click", function () {
$(".nav-search").toggleClass("open");
});
/*======|| Header Menu end here ||=======*/

// counter up start
$('.counter').counterUp({
delay: 10,
time: 2000
});

// Sponsor Section slider
var swiper = new Swiper('.sponsor-area', {
slidesPerView: 6,
autoplay: {
delay: 5000,
disableOnInteraction: false,
},
// Responsive breakpoints
breakpoints: {
// when window width is >= 320px
320: {
slidesPerView: 2,
},
// when window width is >= 576px
575: {
slidesPerView: 2,
},
// when window width is >= 768px
767: {
slidesPerView: 3,
},
// when window width is >= 992px
991: {
slidesPerView: 4,
},
// when window width is >= 1200px
1199: {
slidesPerView: 5,
}
},
loop: true,
});

//Aid section slider
var galleryThumbs = new Swiper('.gallery-thumbs', {
spaceBetween: 10,
slidesPerView: 3,
freeMode: true,
watchSlidesVisibility: true,
watchSlidesProgress: true,
breakpoints: {
575: {
slidesPerView: 2,
}
}
});
var galleryThumbs = new Swiper('.gallery-top', {
spaceBetween: 10,
thumbs: {
swiper: galleryThumbs
},
});

// testi slider
var swiper = new Swiper('.testi-slider', {
slidesPerView: 3,
spaceBetween: 0,
speed: 1200,
pagination: {
el: '.testi-pagination',
clickable: true
},
breakpoints: {
991: {
slidesPerView: 2,
},
767: {
slidesPerView: 1,
}
},
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
loop: true
});
// blog slider start here
var swiper = new Swiper('.blog-slider', {
slidesPerView: 1,
spaceBetween: 0,
speed: 1200,
navigation: {
nextEl: '.blog-slider-next',
prevEl: '.blog-slider-prev',
},
autoplay: {
delay: 2500,
disableOnInteraction: false,
},
loop: true
});

//Shop-single Image Slider
var galleryThumbs = new Swiper('.shop-thumb-bottom', {
spaceBetween: 10,
slidesPerView: 4,
loop: true,
freeMode: true,
loopedSlides: 5, //looped slides should be the same
watchSlidesVisibility: true,
watchSlidesProgress: true,
});
var galleryTop = new Swiper('.shop-thumb-top', {
spaceBetween: 10,
loop: true,
loopedSlides: 4, //looped slides should be the same
navigation: {
nextEl: '.product-img-next',
prevEl: '.product-img-prev',
},
thumbs: {
swiper: galleryThumbs,
},
});

// scroll up start here
$(function () {
$(window).scroll(function () {
if ($(this).scrollTop() > 300) {
$('.scrollToTop').css({
'bottom': '2%',
'opacity': '1',
'transition': 'all .5s ease'
});
} else {
$('.scrollToTop').css({
'bottom': '-30%',
'opacity': '0',
'transition': 'all .5s ease'
})
}
});

//Click event to scroll to top
$('.scrollToTop').on('click', function () {
$('html, body').animate({
scrollTop: 0
}, 500);
return false;
});
});

// blog section post-thumb-slider
var swiper = new Swiper('.post-thumb-slider', {
slidesPerView: 1,
autoplay: {
delay: 5000,
disableOnInteraction: false,
},
navigation: {
nextEl: '.post-thumb-slider-next',
prevEl: '.post-thumb-slider-prev',
},
loop: true,
});




// shop cart + - start here
var CartPlusMinus = $('.cart-plus-minus');
$(".qtybutton").on("click", function () {
var $button = $(this);
var oldValue = $button.parent().find("input").val();
if ($button.text() === "+") {
var newVal = parseFloat(oldValue) + 1;
} else {
if (oldValue > 0) {
var newVal = parseFloat(oldValue) - 1;
} else {
newVal = 1;
}
}
$button.parent().find("input").val(newVal);
});

// product view mode change js
$(function () {
$('.product-view-mode').on('click', 'a', function (e) {
e.preventDefault();
var shopProductWrap = $('.shop-product-wrap');
var viewMode = $(this).data('target');
$('.product-view-mode a').removeClass('active');
$(this).addClass('active');
shopProductWrap.removeClass('grid list').addClass(viewMode);
});
});


// product single thumb slider
$(function () {
var galleryThumbs = new Swiper('.pro-single-thumbs', {
spaceBetween: 10,
slidesPerView: 3,
loop: true,
freeMode: true,
loopedSlides: 5,
watchSlidesVisibility: true,
watchSlidesProgress: true,
navigation: {
nextEl: '.pro-single-next',
prevEl: '.pro-single-prev',
},
});
var galleryTop = new Swiper('.pro-single-top', {
spaceBetween: 10,
loop: true,
loopedSlides: 5,
thumbs: {
swiper: galleryThumbs,
},
});
});

//Review Tabs
$('ul.review-nav').on('click', 'li', function (e) {
e.preventDefault();
var reviewContent = $('.review-content');
var viewRev = $(this).data('target');
$('ul.review-nav li').removeClass('active');
$(this).addClass('active');
reviewContent.removeClass('review-content-show description-show').addClass(viewRev);
});

// wow animation
new WOW().init();

//mouse hover active
$('.doctor-item').on('mouseenter', function () {
$(this).addClass('active').parent().siblings().find('.doctor-item').removeClass('active');
});
});
}(jQuery));


/*=== Circular progressbar js(Doctor-single-page) === */
window.addEventListener('DOMContentLoaded', function () {
const circle = new CircularProgressBar('pie');
setInterval(() => {
const options = {
index: 0,
percent: Math.floor((Math.random() * 100) + 1)
}
circle.animationTo(options);
}, 2000);
});
11 changes: 11 additions & 0 deletions assets/js/hc-offcanvas-nav.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/js/jquery.counterup.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions assets/js/jquery.js

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions assets/js/swiper.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit d5a7564

Please sign in to comment.