update
BIN
public/template_4/images/about/about1.png
Normal file
After Width: | Height: | Size: 79 KiB |
BIN
public/template_4/images/about/about2.png
Normal file
After Width: | Height: | Size: 64 KiB |
BIN
public/template_4/images/fetures/Forma1.png
Normal file
After Width: | Height: | Size: 768 B |
BIN
public/template_4/images/fetures/Forma2.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
public/template_4/images/fetures/Forma3.png
Normal file
After Width: | Height: | Size: 878 B |
BIN
public/template_4/images/fetures/Forma4.png
Normal file
After Width: | Height: | Size: 962 B |
1
public/template_4/images/fetures/forma1.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg t="1752223396674" class="icon" viewBox="0 0 1055 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="43286" width="200" height="200"><path d="M527.717978 114.297338c-219.077246 0-396.685221 177.607975-396.685221 396.674198 0 219.079451 177.603565 396.680812 396.685221 396.680811S924.405404 730.048782 924.405404 510.971536c-0.004409-219.079451-177.610179-396.674198-396.687426-396.674198z" fill="#EB5757" p-id="43287"></path><path d="M530.482596 296.737883c-222.02044 0-287.266751 206.341043-287.26675 206.341043l258.646119 213.770678c7.850722 6.342748 17.756168 10.233937 28.616222 10.233938 9.786395 0 21.294614-4.387233 28.739683-9.627662l253.000036-215.816584c0.004409-0.002205-67.234895-204.901413-281.73531-204.901413z m-124.061686 315.594165s15.249492-25.218873 23.393431-36.001765l78.339665 119.952238-101.733096-83.950473z m36.828505-51.037408a124.121212 124.121212 0 0 1 41.610369-26.292532l25.66421 129.30432-67.274579-103.011788z m61.416851-31.850429c8.027093-1.629229 15.672783-2.583838 24.187102-2.583837 9.504202 0 18.743846 1.144208 27.635158 3.168067l-25.11305 137.088902-26.70921-137.673132z m70.896802 6.596282a124.361518 124.361518 0 0 1 39.685718 25.994906l-62.089266 96.272204 22.403548-122.26711z m-24.31938 160.788779l77.224118-119.749412a125.130937 125.130937 0 0 1 18.410945 35.252188l-95.635063 84.497224z m88.483212-137.201339l54.556013-84.600842a9.621047 9.621047 0 0 0 2.061338-5.910639 9.696005 9.696005 0 0 0-9.6938-9.696005c-3.573721 0-6.660216 1.955515-8.342357 4.834774l-52.194844 80.94555a143.718254 143.718254 0 0 0-46.934573-28.87637l15.734513-85.90158c0.015432-0.070548 0.026456-0.145506 0.039684-0.222668l0.103618-0.548955-0.046298-0.006614c0.059525-0.434314 0.134483-0.864219 0.134483-1.313966a9.951743 9.951743 0 0 0-9.947334-9.951743 9.918674 9.918674 0 0 0-9.790804 8.404086l-15.359725 83.873311c-10.057566-2.2333-20.46567-3.52081-31.186832-3.520809-9.830488 0-19.376578 1.097911-28.644883 2.980672l-16.830219-84.812487-0.066139 0.013228c-0.714303-4.788477-4.806114-8.474635-9.786396-8.474635a9.938516 9.938516 0 0 0-9.94072 9.938516c0 0.780442 0.114641 1.532225 0.282194 2.26196l-0.041888 0.011023 17.132254 86.307233a143.676366 143.676366 0 0 0-48.66742 29.15195l-52.962058-81.09326c-1.697573-2.954217-4.845798-4.964848-8.496681-4.964848a9.832693 9.832693 0 0 0-9.834898 9.834897c0 2.506675 0.965632 4.768636 2.513289 6.503687l54.996941 84.212825c-10.540382 12.645813-17.368151 20.549446-27.899715 38.477576l-121.409505-99.429248c35.311713-99.204375 152.364851-181.596168 261.291686-181.596168 115.377611 0 217.436994 81.263017 255.819771 177.253028L663.86109 598.361247c-5.68797-15.359724-13.922299-26.341035-24.13419-38.733314z" fill="#FFFFFF" p-id="43288"></path></svg>
|
After Width: | Height: | Size: 2.7 KiB |
BIN
public/template_4/images/fetures/leftIcon.png
Normal file
After Width: | Height: | Size: 962 B |
BIN
public/template_4/images/fetures/leftIcon2.png
Normal file
After Width: | Height: | Size: 1.0 KiB |
BIN
public/template_4/images/fetures/mockup.png
Normal file
After Width: | Height: | Size: 45 KiB |
BIN
public/template_4/images/fetures/mockup_bak.png
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
public/template_4/images/fetures/s2.png
Normal file
After Width: | Height: | Size: 672 B |
BIN
public/template_4/images/fetures/s3.png
Normal file
After Width: | Height: | Size: 886 B |
BIN
public/template_4/images/fetures/s4.png
Normal file
After Width: | Height: | Size: 873 B |
BIN
public/template_4/images/logo/logo.png
Normal file
After Width: | Height: | Size: 2.6 KiB |
BIN
public/template_4/images/service/s7.png
Normal file
After Width: | Height: | Size: 889 B |
BIN
public/template_4/images/shape/circle.png
Normal file
After Width: | Height: | Size: 12 KiB |
BIN
public/template_4/images/shape/dotshapes.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/template_4/images/shape/iphon2.png
Normal file
After Width: | Height: | Size: 38 KiB |
BIN
public/template_4/images/shape/iphon2_bak.png
Normal file
After Width: | Height: | Size: 91 KiB |
BIN
public/template_4/images/shape/iphone3.png
Normal file
After Width: | Height: | Size: 37 KiB |
BIN
public/template_4/images/shape/iphone3_bak.png
Normal file
After Width: | Height: | Size: 51 KiB |
BIN
public/template_4/images/shape/left.png
Normal file
After Width: | Height: | Size: 3.2 KiB |
BIN
public/template_4/images/shape/mainshape.png
Normal file
After Width: | Height: | Size: 59 KiB |
BIN
public/template_4/images/shape/mainshape_1.png
Normal file
After Width: | Height: | Size: 183 KiB |
BIN
public/template_4/images/shape/shape1.png
Normal file
After Width: | Height: | Size: 5.2 KiB |
BIN
public/template_4/images/shape/shape10.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/template_4/images/shape/shape13.png
Normal file
After Width: | Height: | Size: 6.4 KiB |
BIN
public/template_4/images/shape/shape2.png
Normal file
After Width: | Height: | Size: 2.3 KiB |
BIN
public/template_4/images/shape/shape3.png
Normal file
After Width: | Height: | Size: 2.8 KiB |
BIN
public/template_4/images/shape/shape4.png
Normal file
After Width: | Height: | Size: 2.0 KiB |
BIN
public/template_4/images/shape/shape5.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/template_4/images/shape/shape6.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/template_4/images/shape/shape7.png
Normal file
After Width: | Height: | Size: 1.3 KiB |
BIN
public/template_4/images/shape/shape8.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
public/template_4/images/shape/shape9.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
1
public/template_4/images/store/huawei.svg
Normal file
After Width: | Height: | Size: 18 KiB |
1
public/template_4/images/store/tencent.svg
Normal file
After Width: | Height: | Size: 7.4 KiB |
1
public/template_4/images/store/wandoujia.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg t="1752224509762" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="52690" width="200" height="200"><path d="M0 1006.08c0 15.36 2.56 17.92 17.92 17.92h988.16c15.36 0 17.92-2.56 17.92-17.92V0H0v1006.08z m568.32-107.52c-64 38.4-145.92 17.92-184.32-46.08-7.68-10.24-10.24-12.8-20.48-2.56-46.08 46.08-112.64 43.52-158.72-2.56-40.96-43.52-38.4-115.2 7.68-156.16 46.08-40.96 115.2-35.84 156.16 12.8 2.56 2.56 5.12 7.68 7.68 10.24 15.36-23.04 33.28-40.96 56.32-53.76 69.12-33.28 145.92-7.68 181.76 58.88 38.4 64 15.36 145.92-46.08 179.2z m-225.28-637.44c0 15.36 2.56 20.48 20.48 17.92 25.6-2.56 48.64 5.12 66.56 23.04 30.72 23.04 38.4 56.32 33.28 92.16-2.56 10.24-2.56 12.8 7.68 10.24 69.12-7.68 117.76 40.96 110.08 112.64 0 10.24 0 10.24 7.68 7.68 74.24-15.36 130.56 48.64 115.2 112.64-2.56 10.24 5.12 7.68 10.24 7.68 40.96-2.56 71.68 25.6 74.24 64v10.24c-15.36-12.8-30.72-23.04-46.08-35.84-135.68-112.64-263.68-235.52-378.88-368.64-2.56-2.56-5.12-7.68-7.68-10.24l-2.56-2.56c-30.72-30.72-56.32-66.56-81.92-99.84 35.84-10.24 71.68 20.48 71.68 58.88zM156.16 104.96c202.24 281.6 442.88 522.24 724.48 724.48-71.68 12.8-140.8 15.36-209.92 5.12-12.8-2.56-12.8-5.12-10.24-17.92 15.36-71.68-15.36-140.8-79.36-176.64-61.44-35.84-138.24-28.16-192 20.48-7.68 7.68-12.8 7.68-20.48 0-15.36-12.8-35.84-20.48-56.32-23.04-7.68-2.56-15.36-5.12-20.48-12.8-84.48-99.84-133.12-212.48-145.92-340.48-5.12-56.32-2.56-115.2 10.24-179.2z" fill="#35AC14" p-id="52691"></path><path d="M583.68 798.72h-125.44c-10.24 0-12.8 2.56-10.24 12.8 5.12 33.28 35.84 61.44 71.68 61.44s66.56-25.6 74.24-61.44c0-10.24-2.56-12.8-10.24-12.8z" fill="#36AC15" p-id="52692"></path><path d="M322.56 791.04c-33.28-5.12-69.12-12.8-102.4-17.92-7.68-2.56-7.68 2.56-10.24 7.68-2.56 33.28 28.16 61.44 61.44 61.44 25.6 0 48.64-15.36 56.32-38.4 5.12-7.68 5.12-12.8-5.12-12.8z" fill="#35AC14" p-id="52693"></path><path d="M473.6 760.32c12.8 0 23.04-10.24 23.04-20.48 0-12.8-10.24-20.48-20.48-20.48-12.8 0-23.04 10.24-23.04 20.48s7.68 20.48 20.48 20.48z" fill="#39AB19" p-id="52694"></path><path d="M573.44 721.92c-10.24 0-20.48 7.68-20.48 20.48s7.68 23.04 20.48 20.48c12.8 0 20.48-7.68 20.48-20.48 2.56-7.68-7.68-17.92-20.48-20.48z" fill="#3AAB1B" p-id="52695"></path><path d="M317.44 727.04c-10.24 0-17.92 5.12-17.92 17.92 0 12.8 7.68 17.92 17.92 17.92 10.24 0 17.92-7.68 17.92-17.92 0-10.24-5.12-15.36-17.92-17.92z" fill="#3BAA1C" p-id="52696"></path><path d="M235.52 747.52c10.24 0 12.8-5.12 15.36-15.36 0-10.24-5.12-15.36-15.36-15.36-10.24 0-15.36 5.12-15.36 15.36 0 7.68 5.12 15.36 15.36 15.36z" fill="#39A81B" p-id="52697"></path></svg>
|
After Width: | Height: | Size: 2.6 KiB |
1
public/template_4/images/store/xiaomi.svg
Normal file
@ -0,0 +1 @@
|
||||
<svg t="1752224435640" class="icon" viewBox="0 0 1029 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="47308" width="200" height="200"><path d="M1026.553616 835.032419c0 104.698254-79.162095 188.967581-178.753117 188.967581H178.753117c-99.591022 0-178.753117-84.269327-178.753117-188.967581V188.967581C0 84.269327 79.162095 0 178.753117 0h669.047382c99.591022 0 178.753117 84.269327 178.753117 188.967581v646.064838z" fill="#FC883D" p-id="47309"></path><path d="M648.618454 449.436409h53.625935v229.825436h-53.625935v-229.825436z m-206.842893 91.930175h53.625935v137.895261h-53.625935v-137.895261z" fill="#FFFFFF" p-id="47310"></path><path d="M546.473815 449.436409h-204.289276v229.825436h53.625935v-178.753117h122.573566c17.875312 0 30.643392 15.321696 30.643391 30.643392v145.556109h53.625936v-178.753117c-5.107232-25.53616-28.089776-48.518703-56.179552-48.518703z" fill="#FFFFFF" p-id="47311"></path><path d="M531.15212 173.645885C413.685786 173.645885 314.094763 102.144638 273.236908 0H219.610973c43.411471 130.234414 165.985037 224.718204 311.541147 224.718204S799.281796 130.234414 842.693267 0h-53.625935c-40.857855 102.144638-140.448878 173.645885-257.915212 173.645885z" fill="#FFFFFF" p-id="47312"></path></svg>
|
After Width: | Height: | Size: 1.2 KiB |
BIN
public/template_4/images/team/team1.jpg
Normal file
After Width: | Height: | Size: 126 KiB |
BIN
public/template_4/images/team/team2.jpg
Normal file
After Width: | Height: | Size: 135 KiB |
BIN
public/template_4/images/team/team3.jpg
Normal file
After Width: | Height: | Size: 133 KiB |
BIN
public/template_4/images/testimonial/test1.jpg
Normal file
After Width: | Height: | Size: 5.3 KiB |
BIN
public/template_4/images/testimonial/test2.jpg
Normal file
After Width: | Height: | Size: 7.1 KiB |
BIN
public/template_4/images/testimonial/test3.jpg
Normal file
After Width: | Height: | Size: 5.7 KiB |
48
public/template_4/js/ajax-form.js
Normal file
@ -0,0 +1,48 @@
|
||||
$(function() {
|
||||
|
||||
// Get the form.
|
||||
var form = $('#contact-form');
|
||||
|
||||
// Get the messages div.
|
||||
var formMessages = $('.ajax-response');
|
||||
|
||||
// Set up an event listener for the contact form.
|
||||
$(form).submit(function(e) {
|
||||
// Stop the browser from submitting the form.
|
||||
e.preventDefault();
|
||||
|
||||
// Serialize the form data.
|
||||
var formData = $(form).serialize();
|
||||
|
||||
// Submit the form using AJAX.
|
||||
$.ajax({
|
||||
type: 'POST',
|
||||
url: $(form).attr('action'),
|
||||
data: formData
|
||||
})
|
||||
.done(function(response) {
|
||||
// Make sure that the formMessages div has the 'success' class.
|
||||
$(formMessages).removeClass('error');
|
||||
$(formMessages).addClass('success');
|
||||
|
||||
// Set the message text.
|
||||
$(formMessages).text(response);
|
||||
|
||||
// Clear the form.
|
||||
$('#contact-form input,#contact-form textarea').val('');
|
||||
})
|
||||
.fail(function(data) {
|
||||
// Make sure that the formMessages div has the 'error' class.
|
||||
$(formMessages).removeClass('success');
|
||||
$(formMessages).addClass('error');
|
||||
|
||||
// Set the message text.
|
||||
if (data.responseText !== '') {
|
||||
$(formMessages).text(data.responseText);
|
||||
} else {
|
||||
$(formMessages).text('Oops! An error occured and your message could not be sent.');
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
6
public/template_4/js/bootstrap.min.js
vendored
Normal file
7
public/template_4/js/imagesloaded.pkgd.min.js
vendored
Normal file
12
public/template_4/js/isotope.pkgd.min.js
vendored
Normal file
4
public/template_4/js/jquery.magnific-popup.min.js
vendored
Normal file
1
public/template_4/js/jquery.meanmenu.min.js
vendored
Normal file
@ -0,0 +1 @@
|
||||
!function($){"use strict";$.fn.meanmenu=function(e){var n={meanMenuTarget:jQuery(this),meanMenuContainer:"body",meanMenuClose:"X",meanMenuCloseSize:"18px",meanMenuOpen:"<span /><span /><span />",meanRevealPosition:"right",meanRevealPositionDistance:"0",meanRevealColour:"",meanScreenWidth:"480",meanNavPush:"",meanShowChildren:!0,meanExpandableChildren:!0,meanExpand:"+",meanContract:"-",meanRemoveAttrs:!1,onePage:!1,meanDisplay:"block",removeElements:""};e=$.extend(n,e);var a=window.innerWidth||document.documentElement.clientWidth;return this.each(function(){var n=e.meanMenuTarget,t=e.meanMenuContainer,r=e.meanMenuClose,i=e.meanMenuCloseSize,s=e.meanMenuOpen,u=e.meanRevealPosition,m=e.meanRevealPositionDistance,l=e.meanRevealColour,o=e.meanScreenWidth,c=e.meanNavPush,v=".meanmenu-reveal",h=e.meanShowChildren,d=e.meanExpandableChildren,y=e.meanExpand,j=e.meanContract,Q=e.meanRemoveAttrs,f=e.onePage,g=e.meanDisplay,p=e.removeElements,C=!1;(navigator.userAgent.match(/iPhone/i)||navigator.userAgent.match(/iPod/i)||navigator.userAgent.match(/iPad/i)||navigator.userAgent.match(/Android/i)||navigator.userAgent.match(/Blackberry/i)||navigator.userAgent.match(/Windows Phone/i))&&(C=!0),(navigator.userAgent.match(/MSIE 8/i)||navigator.userAgent.match(/MSIE 7/i))&&jQuery("html").css("overflow-y","scroll");var w="",x=function(){if("center"===u){var e=window.innerWidth||document.documentElement.clientWidth,n=e/2-22+"px";w="left:"+n+";right:auto;",C?jQuery(".meanmenu-reveal").animate({left:n}):jQuery(".meanmenu-reveal").css("left",n)}},A=!1,E=!1;"right"===u&&(w="right:"+m+";left:auto;"),"left"===u&&(w="left:"+m+";right:auto;"),x();var M="",P=function(){M.html(jQuery(M).is(".meanmenu-reveal.meanclose")?r:s)},W=function(){jQuery(".mean-bar,.mean-push").remove(),jQuery(t).removeClass("mean-container"),jQuery(n).css("display",g),A=!1,E=!1,jQuery(p).removeClass("mean-remove")},b=function(){var e="background:"+l+";color:"+l+";"+w;if(o>=a){jQuery(p).addClass("mean-remove"),E=!0,jQuery(t).addClass("mean-container"),jQuery(".mean-container").prepend('<div class="mean-bar"><a href="#nav" class="meanmenu-reveal" style="'+e+'">Show Navigation</a><nav class="mean-nav"></nav></div>');var r=jQuery(n).html();jQuery(".mean-nav").html(r),Q&&jQuery("nav.mean-nav ul, nav.mean-nav ul *").each(function(){jQuery(this).is(".mean-remove")?jQuery(this).attr("class","mean-remove"):jQuery(this).removeAttr("class"),jQuery(this).removeAttr("id")}),jQuery(n).before('<div class="mean-push" />'),jQuery(".mean-push").css("margin-top",c),jQuery(n).hide(),jQuery(".meanmenu-reveal").show(),jQuery(v).html(s),M=jQuery(v),jQuery(".mean-nav ul").hide(),h?d?(jQuery(".mean-nav ul ul").each(function(){jQuery(this).children().length&&jQuery(this,"li:first").parent().append('<a class="mean-expand" href="#" style="font-size: '+i+'">'+y+"</a>")}),jQuery(".mean-expand").on("click",function(e){e.preventDefault(),jQuery(this).hasClass("mean-clicked")?(jQuery(this).text(y),jQuery(this).prev("ul").slideUp(300,function(){})):(jQuery(this).text(j),jQuery(this).prev("ul").slideDown(300,function(){})),jQuery(this).toggleClass("mean-clicked")})):jQuery(".mean-nav ul ul").show():jQuery(".mean-nav ul ul").hide(),jQuery(".mean-nav ul li").last().addClass("mean-last"),M.removeClass("meanclose"),jQuery(M).click(function(e){e.preventDefault(),A===!1?(M.css("text-align","center"),M.css("text-indent","0"),M.css("font-size",i),jQuery(".mean-nav ul:first").slideDown(),A=!0):(jQuery(".mean-nav ul:first").slideUp(),A=!1),M.toggleClass("meanclose"),P(),jQuery(p).addClass("mean-remove")}),f&&jQuery(".mean-nav ul > li > a:first-child").on("click",function(){jQuery(".mean-nav ul:first").slideUp(),A=!1,jQuery(M).toggleClass("meanclose").html(s)})}else W()};C||jQuery(window).resize(function(){a=window.innerWidth||document.documentElement.clientWidth,a>o,W(),o>=a?(b(),x()):W()}),jQuery(window).resize(function(){a=window.innerWidth||document.documentElement.clientWidth,C?(x(),o>=a?E===!1&&b():W()):(W(),o>=a&&(b(),x()))}),b()})}}(jQuery);
|
7
public/template_4/js/jquery.scrollUp.min.js
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
/*!
|
||||
* scrollup v2.4.1
|
||||
* Url: http://markgoodyear.com/labs/scrollup/
|
||||
* Copyright (c) Mark Goodyear — @markgdyr — http://markgoodyear.com
|
||||
* License: MIT
|
||||
*/
|
||||
!function(l,o,e){"use strict";l.fn.scrollUp=function(o){l.data(e.body,"scrollUp")||(l.data(e.body,"scrollUp",!0),l.fn.scrollUp.init(o))},l.fn.scrollUp.init=function(r){var s,t,c,i,n,a,d,p=l.fn.scrollUp.settings=l.extend({},l.fn.scrollUp.defaults,r),f=!1;switch(d=p.scrollTrigger?l(p.scrollTrigger):l("<a/>",{id:p.scrollName,href:"#top"}),p.scrollTitle&&d.attr("title",p.scrollTitle),d.appendTo("body"),p.scrollImg||p.scrollTrigger||d.html(p.scrollText),d.css({display:"none",position:"fixed",zIndex:p.zIndex}),p.activeOverlay&&l("<div/>",{id:p.scrollName+"-active"}).css({position:"absolute",top:p.scrollDistance+"px",width:"100%",borderTop:"1px dotted"+p.activeOverlay,zIndex:p.zIndex}).appendTo("body"),p.animation){case"fade":s="fadeIn",t="fadeOut",c=p.animationSpeed;break;case"slide":s="slideDown",t="slideUp",c=p.animationSpeed;break;default:s="show",t="hide",c=0}i="top"===p.scrollFrom?p.scrollDistance:l(e).height()-l(o).height()-p.scrollDistance,n=l(o).scroll(function(){l(o).scrollTop()>i?f||(d[s](c),f=!0):f&&(d[t](c),f=!1)}),p.scrollTarget?"number"==typeof p.scrollTarget?a=p.scrollTarget:"string"==typeof p.scrollTarget&&(a=Math.floor(l(p.scrollTarget).offset().top)):a=0,d.click(function(o){o.preventDefault(),l("html, body").animate({scrollTop:a},p.scrollSpeed,p.easingType)})},l.fn.scrollUp.defaults={scrollName:"scrollUp",scrollDistance:300,scrollFrom:"top",scrollSpeed:300,easingType:"linear",animation:"fade",animationSpeed:200,scrollTrigger:!1,scrollTarget:!1,scrollText:"Scroll to top",scrollTitle:!1,scrollImg:!1,activeOverlay:!1,zIndex:2147483647},l.fn.scrollUp.destroy=function(r){l.removeData(e.body,"scrollUp"),l("#"+l.fn.scrollUp.settings.scrollName).remove(),l("#"+l.fn.scrollUp.settings.scrollName+"-active").remove(),l.fn.jquery.split(".")[1]>=7?l(o).off("scroll",r):l(o).unbind("scroll",r)},l.scrollUp=l.fn.scrollUp}(jQuery,window,document);
|
339
public/template_4/js/main.js
Normal file
@ -0,0 +1,339 @@
|
||||
/***************************************************
|
||||
==================== JS INDEX ======================
|
||||
****************************************************
|
||||
01. mobile menu
|
||||
02. testimonial active
|
||||
03. team active
|
||||
04. choose active
|
||||
05. Home page 3 testimonial
|
||||
06. Home page 2 testimonial
|
||||
07. data background
|
||||
08. wow active
|
||||
09. sidebar active
|
||||
|
||||
****************************************************/
|
||||
|
||||
(function ($) {
|
||||
"use strict";
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
01. mobile menu
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
$('#mobile-menu').meanmenu({
|
||||
meanMenuContainer: '.mobile-menu',
|
||||
meanScreenWidth: "992"
|
||||
});
|
||||
|
||||
$('.side-toggle').on('click', function () {
|
||||
alert('1111')
|
||||
$('.side-info').addClass('info-open');
|
||||
$('.offcanvas-overlay').addClass('overlay-open');
|
||||
})
|
||||
|
||||
$('.side-info-close,.offcanvas-overlay').on('click', function () {
|
||||
$('.side-info').removeClass('info-open');
|
||||
$('.offcanvas-overlay').removeClass('overlay-open');
|
||||
})
|
||||
|
||||
// One Page Nav
|
||||
var top_offset = $('.header-area').height() - 10;
|
||||
$('.main-menu nav ul').onePageNav({
|
||||
currentClass: 'active',
|
||||
scrollOffset: top_offset,
|
||||
});
|
||||
|
||||
|
||||
$(window).on('scroll', function () {
|
||||
var scroll = $(window).scrollTop();
|
||||
if (scroll < 245) {
|
||||
$(".header-sticky").removeClass("sticky");
|
||||
} else {
|
||||
$(".header-sticky").addClass("sticky");
|
||||
}
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
02. testimonial active
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
|
||||
$('.testimonial-active').slick({
|
||||
infinite: true,
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 2,
|
||||
arrows: false,
|
||||
dots:true,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 3,
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2,
|
||||
slidesToScroll: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 480,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 576,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 768,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
03. team active
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
$('.team-active').slick({
|
||||
infinite: true,
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 2,
|
||||
arrows: false,
|
||||
dots:true,
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 3,
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 2,
|
||||
slidesToScroll: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 768,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 576,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
04. choose active
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
$('.choose_active').slick({
|
||||
infinite: true,
|
||||
slidesToShow: 5,
|
||||
slidesToScroll: 2,
|
||||
arrows: true,
|
||||
dots:false,
|
||||
prevArrow: '<button type="button" class="slick-prev"><i class="fal fa-long-arrow-left"></i></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><i class="fal fa-long-arrow-right"></i></button>',
|
||||
responsive: [
|
||||
{
|
||||
breakpoint: 1024,
|
||||
settings: {
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 3,
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 992,
|
||||
settings: {
|
||||
slidesToShow: 3,
|
||||
slidesToScroll: 2
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 768,
|
||||
settings: {
|
||||
slidesToShow: 2,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
},
|
||||
{
|
||||
breakpoint: 576,
|
||||
settings: {
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1
|
||||
}
|
||||
}
|
||||
|
||||
]
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
05. Home page 3 testimonial
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
$('.testimonialh3_active').slick({
|
||||
infinite: true,
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1,
|
||||
arrows: true,
|
||||
dots:false,
|
||||
prevArrow: '<button type="button" class="slick-prev"><i class="fal fa-long-arrow-left"></i></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><i class="fal fa-long-arrow-right"></i></button>',
|
||||
});
|
||||
|
||||
$('.testimonial-active2').slick({
|
||||
infinite: true,
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1,
|
||||
arrows: true,
|
||||
dots:false,
|
||||
prevArrow: '<button type="button" class="slick-prev"><i class="fal fa-long-arrow-left"></i></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><i class="fal fa-long-arrow-right"></i></button>',
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
06. Home page 2 testimonial
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
$('.slider-for').slick({
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1,
|
||||
arrows: false,
|
||||
fade: false,
|
||||
infinite: true,
|
||||
asNavFor: '.slider-nav',
|
||||
});
|
||||
$('.slider-nav').slick({
|
||||
slidesToShow: 1,
|
||||
slidesToScroll: 1,
|
||||
asNavFor: '.slider-for',
|
||||
dots: false,
|
||||
centerMode: false,
|
||||
focusOnSelect: false,
|
||||
arrows:true,
|
||||
prevArrow: '<button type="button" class="slick-prev"><i class="fal fa-long-arrow-left"></i></button>',
|
||||
nextArrow: '<button type="button" class="slick-next"><i class="fal fa-long-arrow-right"></i></button>',
|
||||
|
||||
});
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
07. data background
|
||||
****************************************************
|
||||
*/
|
||||
$("[data-background").each(function () {
|
||||
$(this).css("background-image", "url( " + $(this).attr("data-background") + " )");
|
||||
});
|
||||
|
||||
|
||||
// mainSlider
|
||||
function mainSlider() {
|
||||
var BasicSlider = $('.slider-active');
|
||||
BasicSlider.on('init', function (e, slick) {
|
||||
var $firstAnimatingElements = $('.single-slider:first-child').find('[data-animation]');
|
||||
doAnimations($firstAnimatingElements);
|
||||
});
|
||||
BasicSlider.on('beforeChange', function (e, slick, currentSlide, nextSlide) {
|
||||
var $animatingElements = $('.single-slider[data-slick-index="' + nextSlide + '"]').find('[data-animation]');
|
||||
doAnimations($animatingElements);
|
||||
});
|
||||
BasicSlider.slick({
|
||||
autoplay: false,
|
||||
autoplaySpeed: 10000,
|
||||
dots: false,
|
||||
fade: true,
|
||||
arrows: false,
|
||||
responsive: [
|
||||
{ breakpoint: 767, settings: { dots: false, arrows: false } }
|
||||
]
|
||||
});
|
||||
|
||||
function doAnimations(elements) {
|
||||
var animationEndEvents = 'webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend';
|
||||
elements.each(function () {
|
||||
var $this = $(this);
|
||||
var $animationDelay = $this.data('delay');
|
||||
var $animationType = 'animated ' + $this.data('animation');
|
||||
$this.css({
|
||||
'animation-delay': $animationDelay,
|
||||
'-webkit-animation-delay': $animationDelay
|
||||
});
|
||||
$this.addClass($animationType).one(animationEndEvents, function () {
|
||||
$this.removeClass($animationType);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
mainSlider();
|
||||
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
08. wow active
|
||||
****************************************************
|
||||
*/
|
||||
|
||||
new WOW().init();
|
||||
|
||||
/*
|
||||
|
||||
****************************************************
|
||||
09. sidebar active
|
||||
****************************************************
|
||||
*/
|
||||
$('button.menu-expand').on('click',function(){
|
||||
$('.responsive-header').addClass('menu-open');
|
||||
$('.overlay').addClass('show-overlay');
|
||||
})
|
||||
$('.overlay').on('click',function(){
|
||||
$('.responsive-header').removeClass('menu-open');
|
||||
$('.overlay').removeClass('show-overlay');
|
||||
})
|
||||
|
||||
|
||||
})(jQuery);
|
19
public/template_4/js/one-page-nav-min.js
vendored
Normal file
@ -0,0 +1,19 @@
|
||||
/*
|
||||
* jQuery One Page Nav Plugin
|
||||
* http://github.com/davist11/jQuery-One-Page-Nav
|
||||
*
|
||||
* Copyright (c) 2010 Trevor Davis (http://trevordavis.net)
|
||||
* Dual licensed under the MIT and GPL licenses.
|
||||
* Uses the same license as jQuery, see:
|
||||
* http://jquery.org/license
|
||||
*
|
||||
* @version 3.0.0
|
||||
*
|
||||
* Example usage:
|
||||
* $('#nav').onePageNav({
|
||||
* currentClass: 'current',
|
||||
* changeHash: false,
|
||||
* scrollSpeed: 750
|
||||
* });
|
||||
*/
|
||||
!function (t, i, n, s) { var e = function (s, e) { this.elem = s, this.$elem = t(s), this.options = e, this.metadata = this.$elem.data("plugin-options"), this.$win = t(i), this.sections = {}, this.didScroll = !1, this.$doc = t(n), this.docHeight = this.$doc.height() }; e.prototype = { defaults: { navItems: "a", currentClass: "current", changeHash: !1, easing: "swing", filter: "", scrollSpeed: 750, scrollThreshold: .5, begin: !1, end: !1, scrollChange: !1 }, init: function () { return this.config = t.extend({}, this.defaults, this.options, this.metadata), this.$nav = this.$elem.find(this.config.navItems), "" !== this.config.filter && (this.$nav = this.$nav.filter(this.config.filter)), this.$nav.on("click.onePageNav", t.proxy(this.handleClick, this)), this.getPositions(), this.bindInterval(), this.$win.on("resize.onePageNav", t.proxy(this.getPositions, this)), this }, adjustNav: function (t, i) { t.$elem.find("." + t.config.currentClass).removeClass(t.config.currentClass), i.addClass(t.config.currentClass) }, bindInterval: function () { var t, i = this; i.$win.on("scroll.onePageNav", function () { i.didScroll = !0 }), i.t = setInterval(function () { t = i.$doc.height(), i.didScroll && (i.didScroll = !1, i.scrollChange()), t !== i.docHeight && (i.docHeight = t, i.getPositions()) }, 250) }, getHash: function (t) { return t.attr("href").split("#")[1] }, getPositions: function () { var i, n, s, e = this; e.$nav.each(function () { i = e.getHash(t(this)), s = t("#" + i), s.length && (n = s.offset().top, e.sections[i] = Math.round(n)) }) }, getSection: function (t) { var i = null, n = Math.round(this.$win.height() * this.config.scrollThreshold); for (var s in this.sections) this.sections[s] - n < t && (i = s); return i }, handleClick: function (n) { var s = this, e = t(n.currentTarget), o = e.parent(), a = "#" + s.getHash(e); o.hasClass(s.config.currentClass) || (s.config.begin && s.config.begin(), s.adjustNav(s, o), s.unbindInterval(), s.scrollTo(a, function () { s.config.changeHash && (i.location.hash = a), s.bindInterval(), s.config.end && s.config.end() })), n.preventDefault() }, scrollChange: function () { var t, i = this.$win.scrollTop(), n = this.getSection(i); null !== n && (t = this.$elem.find('a[href$="#' + n + '"]').parent(), t.hasClass(this.config.currentClass) || (this.adjustNav(this, t), this.config.scrollChange && this.config.scrollChange(t))) }, scrollTo: function (i, n) { var s = t(i).offset().top; t("html, body").animate({ scrollTop: s - this.config.scrollOffset }, this.config.scrollSpeed, this.config.easing, n) }, unbindInterval: function () { clearInterval(this.t), this.$win.unbind("scroll.onePageNav") } }, e.defaults = e.prototype.defaults, t.fn.onePageNav = function (t) { return this.each(function () { new e(this, t).init() }) } }(jQuery, window, document);
|
7
public/template_4/js/owl.carousel.min.js
vendored
Normal file
24
public/template_4/js/plugins.js
Normal file
@ -0,0 +1,24 @@
|
||||
// Avoid `console` errors in browsers that lack a console.
|
||||
(function() {
|
||||
var method;
|
||||
var noop = function () {};
|
||||
var methods = [
|
||||
'assert', 'clear', 'count', 'debug', 'dir', 'dirxml', 'error',
|
||||
'exception', 'group', 'groupCollapsed', 'groupEnd', 'info', 'log',
|
||||
'markTimeline', 'profile', 'profileEnd', 'table', 'time', 'timeEnd',
|
||||
'timeline', 'timelineEnd', 'timeStamp', 'trace', 'warn'
|
||||
];
|
||||
var length = methods.length;
|
||||
var console = (window.console = window.console || {});
|
||||
|
||||
while (length--) {
|
||||
method = methods[length];
|
||||
|
||||
// Only stub undefined methods.
|
||||
if (!console[method]) {
|
||||
console[method] = noop;
|
||||
}
|
||||
}
|
||||
}());
|
||||
|
||||
// Place any jQuery/helper plugins in here.
|