Browse Source

Images: convert to webp, cleanup

master
Kevin Mok 5 years ago
parent
commit
ef25f0fa60
Signed by: Kevin-Mok GPG Key ID: AEA75288DC135CF5
  1. 1
      .gitignore
  2. 14
      config.toml
  3. 2
      data/blog.yml
  4. 10
      data/team.yml
  5. 7
      data/testimonial.yml
  6. 1
      resources/_gen/assets/css/css/style.css_d3f53f09220d597dac26fe7840c31fc9.content
  7. 1
      resources/_gen/assets/css/css/style.css_d3f53f09220d597dac26fe7840c31fc9.json
  8. 8
      resources/_gen/assets/js/js/script.js_d3f53f09220d597dac26fe7840c31fc9.content
  9. 1
      resources/_gen/assets/js/js/script.js_d3f53f09220d597dac26fe7840c31fc9.json
  10. 118
      resources/_gen/assets/js/js/scroll-behavior-polyfill.js_d3f53f09220d597dac26fe7840c31fc9.content
  11. 1
      resources/_gen/assets/js/js/scroll-behavior-polyfill.js_d3f53f09220d597dac26fe7840c31fc9.json
  12. 7
      static/images/.gitattributes
  13. BIN
      static/images/backgrounds/bg-1.jpg
  14. BIN
      static/images/backgrounds/bg-2.jpg
  15. BIN
      static/images/backgrounds/codm-reddit-banner.png
  16. BIN
      static/images/backgrounds/codm-reddit-banner.webp
  17. BIN
      static/images/backgrounds/halloween-loading-screen.jpg
  18. BIN
      static/images/backgrounds/halloween-loading-screen.webp
  19. BIN
      static/images/br.png
  20. BIN
      static/images/clan.png
  21. BIN
      static/images/logo-default.png
  22. BIN
      static/images/logos/our-client.jpg
  23. BIN
      static/images/mp.png
  24. BIN
      static/images/portfolio/portfolio-1.jpg
  25. BIN
      static/images/portfolio/portfolio-2.jpg
  26. BIN
      static/images/portfolio/portfolio-3.jpg
  27. BIN
      static/images/portfolio/portfolio-4.jpg
  28. BIN
      static/images/portfolio/portfolio-5.jpg
  29. BIN
      static/images/portfolio/portfolio-6.jpg
  30. BIN
      static/images/portfolio/portfolio-7.jpg
  31. BIN
      static/images/portfolio/portfolio-8.jpg
  32. BIN
      static/images/slider/hero-area-default.jpg
  33. BIN
      static/images/slider/hero-area.jpg
  34. BIN
      static/images/slider/hero-area.webp
  35. 6
      static/images/team/.gitattributes
  36. BIN
      static/images/team/bakkuteh.jpg
  37. BIN
      static/images/team/bakkuteh.webp
  38. BIN
      static/images/team/duck.png
  39. BIN
      static/images/team/duck.webp
  40. BIN
      static/images/team/helen.png
  41. BIN
      static/images/team/helen.webp
  42. BIN
      static/images/team/josh.png
  43. BIN
      static/images/team/josh.webp
  44. BIN
      static/images/team/pistolfist.jpg
  45. BIN
      static/images/team/pistolfist.webp
  46. BIN
      static/images/team/slade.jpg
  47. BIN
      static/images/team/slade.webp

1
.gitignore

@ -0,0 +1 @@
public/

14
config.toml

@ -1,4 +1,5 @@
baseURL = "http://example.org/"
# BAseURL = "/home/kevin/Documents/codm-site/public/"
baseURL = "http://codm.ataraxy.tk/"
languageCode = "en-us" languageCode = "en-us"
DefaultContentLanguage = "en" DefaultContentLanguage = "en"
title = "Ataraxy" title = "Ataraxy"
@ -27,11 +28,6 @@ summaryLength = 10
URL = "members" URL = "members"
weight = 6 weight = 6
[[menu.nav]]
name = "Blog"
URL = "blog"
weight = 7
[[menu.nav]] [[menu.nav]]
name = "Contact" name = "Contact"
URL = "contact-us" URL = "contact-us"
@ -43,7 +39,7 @@ home= "Home"
logo = "images/logo.png" logo = "images/logo.png"
gmapAPI = "https://maps.googleapis.com/maps/api/js?key=AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU&libraries=places" gmapAPI = "https://maps.googleapis.com/maps/api/js?key=AIzaSyCcABaamniA6OL5YvYSpB3pFMNrXwXnLwU&libraries=places"
# Meta data # Meta data
description = "Responsive Multipurpose Parallax HTML5 Template"
description = "Call of Duty: Mobile Clan"
author = "Themefisher" author = "Themefisher"
# Google Analitycs # Google Analitycs
# googleAnalitycsID = "Your ID" # googleAnalitycsID = "Your ID"
@ -52,7 +48,7 @@ custom_css = ["css/custom.css"]
# Banner Section # Banner Section
[params.banner] [params.banner]
enable = true enable = true
bgImage = "images/slider/hero-area.jpg"
bgImage = "images/slider/hero-area.webp"
heading = "Ataraxy" heading = "Ataraxy"
content= "NA, MP-focused clan that is currently looking for friendly and active clan members to play together with." content= "NA, MP-focused clan that is currently looking for friendly and active clan members to play together with."
btn = true btn = true
@ -62,7 +58,7 @@ custom_css = ["css/custom.css"]
# counter # counter
[params.counter] [params.counter]
enable = true enable = true
bgImage = "images/backgrounds/codm-reddit-banner.png"
bgImage = "images/backgrounds/codm-reddit-banner.webp"
[[params.counter.counterItem]] [[params.counter.counterItem]]
title = "Season 1 Percentile" title = "Season 1 Percentile"
icon = "tf-ion-trophy" icon = "tf-ion-trophy"

2
data/blog.yml

@ -1,4 +1,4 @@
enable : true
enable : false
sharing : true sharing : true
staticmanComments: staticmanComments:
enable: false enable: false

10
data/team.yml

@ -2,12 +2,12 @@ enable : true
heading : Our heading : Our
headingSpan : Team headingSpan : Team
teamMember : teamMember :
- image : images/team/josh.png
- image : images/team/josh.webp
name : JoshuaAustin07 name : JoshuaAustin07
designation : Clan Master/MP Leader designation : Clan Master/MP Leader
description : Oversees entire clan. Advises players on MP strategy and tricks. description : Oversees entire clan. Advises players on MP strategy and tricks.
- image : images/team/pistolfist.jpg
- image : images/team/pistolfist.webp
name : PistolFist name : PistolFist
designation : Vice Master/BR Co-Leader designation : Vice Master/BR Co-Leader
description : Founder of clan. Created this site. In charge of general clan management and recruitment. description : Founder of clan. Created this site. In charge of general clan management and recruitment.
@ -15,17 +15,17 @@ teamMember :
# - icon : tf-ion-social-facebook # - icon : tf-ion-social-facebook
# url : "#" # url : "#"
- image : images/team/slade.jpg
- image : images/team/slade.webp
name : Slade name : Slade
designation : BR Leader designation : BR Leader
description : Runs BR lobbies. Advises players on BR strategy and tricks. description : Runs BR lobbies. Advises players on BR strategy and tricks.
- image : images/team/duck.png
- image : images/team/duck.webp
name : Duckmaster name : Duckmaster
designation : MP Co-Leader designation : MP Co-Leader
description : Runs MP lobbies. Advises players on MP strategy and tricks. description : Runs MP lobbies. Advises players on MP strategy and tricks.
- image : images/team/helen.png
- image : images/team/helen.webp
name : Heleners name : Heleners
designation : Discord Administrator designation : Discord Administrator
description : Co-founder of clan. Manages Discord server. description : Co-founder of clan. Manages Discord server.

7
data/testimonial.yml

@ -1,14 +1,15 @@
heading: Our heading: Our
headingSpan: Members headingSpan: Members
bgImage : "images/backgrounds/halloween-loading-screen.jpg"
# bgImage : "images/backgrounds/halloween-loading-screen.jpg"
bgImage : "images/backgrounds/halloween-loading-screen.webp"
enable : true enable : true
testimonialItem : testimonialItem :
- name : bakkuteh - name : bakkuteh
image : images/team/bakkuteh.jpg
image : images/team/bakkuteh.webp
date : Nov 24, 2019 date : Nov 24, 2019
content : Pigs go oink. content : Pigs go oink.
- name : PistolFist - name : PistolFist
image : images/team/pistolfist.jpg
image : images/team/pistolfist.webp
date : Nov 24, 2019 date : Nov 24, 2019
content : Bang. content : Bang.

1
resources/_gen/assets/css/css/style.css_d3f53f09220d597dac26fe7840c31fc9.content
File diff suppressed because it is too large
View File

1
resources/_gen/assets/css/css/style.css_d3f53f09220d597dac26fe7840c31fc9.json

@ -0,0 +1 @@
{"Target":"css/style.min.css","MediaType":"text/css","Data":{}}

8
resources/_gen/assets/js/js/script.js_d3f53f09220d597dac26fe7840c31fc9.content

@ -0,0 +1,8 @@
jQuery(function($){"use strict";$(window).on('load',function(){$('#preloader').fadeOut(700);});$("#post-thumb, #gallery-post").slick({infinite:true,arrows:false,autoplay:true,autoplaySpeed:4000});$("#features").slick({infinite:true,arrows:false,autoplay:true,autoplaySpeed:4000});$('.image-popup').magnificPopup({type:'image',removalDelay:160,callbacks:{beforeOpen:function(){this.st.image.markup=this.st.image.markup.replace('mfp-figure','mfp-figure mfp-with-anim');this.st.mainClass=this.st.el.attr('data-effect');}},closeOnContentClick:true,midClick:true,fixedContentPos:false,fixedBgPos:true});var containerEl=document.querySelector('.filtr-container');if(containerEl){var filterizd=$('.filtr-container').filterizr({});}
$("#testimonials").slick({infinite:true,arrows:false,autoplay:true,autoplaySpeed:4000});$('#contact-submit').click(function(e){e.preventDefault();var error=false;var name=$('#name').val();var email=$('#email').val();var subject=$('#subject').val();var message=$('#message').val();if(name.length==0){var error=true;$('#name').css("border-color","#D8000C");}else{$('#name').css("border-color","#666");}
if(email.length==0||email.indexOf('@')=='-1'){var error=true;$('#email').css("border-color","#D8000C");}else{$('#email').css("border-color","#666");}
if(subject.length==0){var error=true;$('#subject').css("border-color","#D8000C");}else{$('#subject').css("border-color","#666");}
if(message.length==0){var error=true;$('#message').css("border-color","#D8000C");}else{$('#message').css("border-color","#666");}
if(error==false){$('#contact-submit').attr({'disabled':'false','value':'Sending...'});$.post("sendmail.php",$("#contact-form").serialize(),function(result){if(result=='sent'){$('#cf-submit').remove();$('#mail-success').fadeIn(500);}else{$('#mail-fail').fadeIn(500);$('#contact-submit').removeAttr('disabled').attr('value','Send The Message');}});}});});var wow=new WOW({offset:100,mobile:false});var scrolled=false;$(window).on('scroll',function(){if(!scrolled){scrolled=true;wow.init();}})
function initialize(){var latitude=$('#map-canvas').attr('data-latitude');var longitude=$('#map-canvas').attr('data-longitude');var myLatLng=new google.maps.LatLng(latitude,longitude);var roadAtlasStyles=[{"featureType":"landscape","elementType":"geometry.fill","stylers":[{"color":"#2F3238"}]},{"elementType":"labels.text.fill","stylers":[{"color":"#FFFFFF"}]},{"elementType":"labels.text.stroke","stylers":[{"visibility":"off"}]},{"featureType":"road","elementType":"geometry.fill","stylers":[{"color":"#50525f"}]},{"featureType":"road","elementType":"geometry.stroke","stylers":[{"visibility":"on"},{"color":"#808080"}]},{"featureType":"poi","elementType":"labels","stylers":[{"visibility":"off"}]},{"featureType":"transit","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"poi","elementType":"geometry","stylers":[{"color":"#808080"}]},{"featureType":"water","elementType":"geometry.fill","stylers":[{"color":"#3071a7"},{"saturation":-65}]},{"featureType":"road","elementType":"labels.icon","stylers":[{"visibility":"off"}]},{"featureType":"landscape","elementType":"geometry.stroke","stylers":[{"color":"#bbbbbb"}]}];var mapOptions={zoom:14,center:myLatLng,disableDefaultUI:true,scrollwheel:false,navigationControl:false,mapTypeControl:false,scaleControl:false,draggable:false,mapTypeControlOptions:{mapTypeIds:[google.maps.MapTypeId.ROADMAP,'roadatlas']}};var map=new google.maps.Map(document.getElementById('map-canvas'),mapOptions);var marker=new google.maps.Marker({position:myLatLng,map:map,title:'',});google.maps.event.addListener(marker,'click',function(){infowindow.open(map,marker);});var styledMapOptions={name:'US Road Atlas'};var usRoadMapType=new google.maps.StyledMapType(roadAtlasStyles,styledMapOptions);map.mapTypes.set('roadatlas',usRoadMapType);map.setMapTypeId('roadatlas');}
google.maps.event.addDomListener(window,"load",initialize);function changeValue(elementName,newValue){document.getElementsByName(elementName)[0].value=newValue;};$(document).ready(function(){$('form').submit(function(){if($('input[type="text"]#e-mail').val().length>0){$('form').attr('action','/');return false;}});});

1
resources/_gen/assets/js/js/script.js_d3f53f09220d597dac26fe7840c31fc9.json

@ -0,0 +1 @@
{"Target":"js/script.min.js","MediaType":"application/javascript","Data":{}}

118
resources/_gen/assets/js/js/scroll-behavior-polyfill.js_d3f53f09220d597dac26fe7840c31fc9.content

@ -0,0 +1,118 @@
/*!
scroll-behavior-polyfill 2.0.6
license: MIT (https://github.com/wessberg/scroll-behavior-polyfill/blob/master/LICENSE.md)
Copyright © 2019 Frederik Wessberg <frederikwessberg@hotmail.com>
*/(function(){'use strict';var SUPPORTS_SCROLL_BEHAVIOR="scrollBehavior"in document.documentElement.style;/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */var __assign=function(){__assign=Object.assign||function __assign(t){for(var s,i=1,n=arguments.length;i<n;i++){s=arguments[i];for(var p in s)if(Object.prototype.hasOwnProperty.call(s,p))t[p]=s[p];}
return t;};return __assign.apply(this,arguments);};function __read(o,n){var m=typeof Symbol==="function"&&o[Symbol.iterator];if(!m)return o;var i=m.call(o),r,ar=[],e;try{while((n===void 0||n-->0)&&!(r=i.next()).done)ar.push(r.value);}
catch(error){e={error:error};}
finally{try{if(r&&!r.done&&(m=i["return"]))m.call(i);}
finally{if(e)throw e.error;}}
return ar;}
var styleDeclarationPropertyName="scrollBehavior";var styleAttributePropertyName="scroll-behavior";var styleAttributePropertyNameRegex=new RegExp(styleAttributePropertyName+":\\s*([^;]*)");function getScrollBehavior(inputTarget,options){if(options!=null&&options.behavior==="smooth")
return "smooth";var target="style"in inputTarget?inputTarget:document.scrollingElement!=null?document.scrollingElement:document.documentElement;var value;if("style"in target){var scrollBehaviorPropertyValue=target.style[styleDeclarationPropertyName];if(scrollBehaviorPropertyValue!=null&&scrollBehaviorPropertyValue!==""){value=scrollBehaviorPropertyValue;}}
if(value==null){var attributeValue=target.getAttribute("scroll-behavior");if(attributeValue!=null&&attributeValue!==""){value=attributeValue;}}
if(value==null){var styleAttributeValue=target.getAttribute("style");if(styleAttributeValue!=null&&styleAttributeValue.includes(styleAttributePropertyName)){var match=styleAttributeValue.match(styleAttributePropertyNameRegex);if(match!=null){var _a=__read(match,2),behavior=_a[1];if(behavior!=null&&behavior!==""){value=behavior;}}}}
if(value==null){var computedStyle=getComputedStyle(target);var computedStyleValue=computedStyle.getPropertyValue("scrollBehavior");if(computedStyleValue!=null&&computedStyleValue!==""){value=computedStyleValue;}}
return value;}
var HALF=0.5;function ease(k){return HALF*(1-Math.cos(Math.PI*k));}
var SCROLL_TIME=15000;function smoothScroll(options){var startTime=options.startTime,startX=options.startX,startY=options.startY,endX=options.endX,endY=options.endY,method=options.method;var timeLapsed=0;var distanceX=endX-startX;var distanceY=endY-startY;var speed=Math.max(Math.abs((distanceX/1000)*SCROLL_TIME),Math.abs((distanceY/1000)*SCROLL_TIME));requestAnimationFrame(function animate(timestamp){timeLapsed+=timestamp-startTime;var percentage=Math.max(0,Math.min(1,speed===0?0:timeLapsed/speed));var positionX=Math.floor(startX+distanceX*ease(percentage));var positionY=Math.floor(startY+distanceY*ease(percentage));method(positionX,positionY);if(positionX!==endX||positionY!==endY){requestAnimationFrame(animate);}});}
function now(){if("performance"in window)
return performance.now();return Date.now();}
var ELEMENT_ORIGINAL_SCROLL=Element.prototype.scroll;var WINDOW_ORIGINAL_SCROLL=window.scroll;var ELEMENT_ORIGINAL_SCROLL_BY=Element.prototype.scrollBy;var WINDOW_ORIGINAL_SCROLL_BY=window.scrollBy;var ELEMENT_ORIGINAL_SCROLL_TO=Element.prototype.scrollTo;var WINDOW_ORIGINAL_SCROLL_TO=window.scrollTo;function elementPrototypeScrollFallback(x,y){this.__adjustingScrollPosition=true;this.scrollLeft=x;this.scrollTop=y;delete this.__adjustingScrollPosition;}
function elementPrototypeScrollToFallback(x,y){return elementPrototypeScrollFallback.call(this,x,y);}
function elementPrototypeScrollByFallback(x,y){this.__adjustingScrollPosition=true;this.scrollLeft+=x;this.scrollTop+=y;delete this.__adjustingScrollPosition;}
function getOriginalScrollMethodForKind(kind,element){switch(kind){case "scroll":if(element instanceof Element){if(ELEMENT_ORIGINAL_SCROLL!=null){return ELEMENT_ORIGINAL_SCROLL;}
else{return elementPrototypeScrollFallback;}}
else{return WINDOW_ORIGINAL_SCROLL;}
case "scrollBy":if(element instanceof Element){if(ELEMENT_ORIGINAL_SCROLL_BY!=null){return ELEMENT_ORIGINAL_SCROLL_BY;}
else{return elementPrototypeScrollByFallback;}}
else{return WINDOW_ORIGINAL_SCROLL_BY;}
case "scrollTo":if(element instanceof Element){if(ELEMENT_ORIGINAL_SCROLL_TO!=null){return ELEMENT_ORIGINAL_SCROLL_TO;}
else{return elementPrototypeScrollToFallback;}}
else{return WINDOW_ORIGINAL_SCROLL_TO;}}}
function getSmoothScrollOptions(element,x,y,kind){var startTime=now();if(!(element instanceof Element)){var scrollX_1=window.scrollX,pageXOffset_1=window.pageXOffset,scrollY_1=window.scrollY,pageYOffset_1=window.pageYOffset;var startX=scrollX_1==null||scrollX_1===0?pageXOffset_1:scrollX_1;var startY=scrollY_1==null||scrollY_1===0?pageYOffset_1:scrollY_1;return{startTime:startTime,startX:startX,startY:startY,endX:Math.floor(kind==="scrollBy"?startX+x:x),endY:Math.floor(kind==="scrollBy"?startY+y:y),method:getOriginalScrollMethodForKind("scrollTo",window).bind(window)};}
else{var scrollLeft=element.scrollLeft,scrollTop=element.scrollTop;var startX=scrollLeft;var startY=scrollTop;return{startTime:startTime,startX:startX,startY:startY,endX:Math.floor(kind==="scrollBy"?startX+x:x),endY:Math.floor(kind==="scrollBy"?startY+y:y),method:getOriginalScrollMethodForKind("scrollTo",element).bind(element)};}}
function ensureNumeric(value){if(value==null)
return 0;else if(typeof value==="number"){return value;}
else if(typeof value==="string"){return parseFloat(value);}
else{return 0;}}
function isScrollToOptions(value){return value!=null&&typeof value==="object";}
function handleScrollMethod(element,kind,optionsOrX,y){onScrollWithOptions(getScrollToOptionsWithValidation(optionsOrX,y),element,kind);}
function onScrollWithOptions(options,element,kind){var behavior=getScrollBehavior(element,options);if(behavior==null||behavior==="auto"){getOriginalScrollMethodForKind(kind,element).call(element,options.left,options.top);}
else{smoothScroll(getSmoothScrollOptions(element,options.left,options.top,kind));}}
function normalizeScrollCoordinates(x,y){return{left:ensureNumeric(x),top:ensureNumeric(y)};}
function getScrollToOptionsWithValidation(optionsOrX,y){if(y===undefined&&!isScrollToOptions(optionsOrX)){throw new TypeError("Failed to execute 'scroll' on 'Element': parameter 1 ('options') is not an object.");}
if(!isScrollToOptions(optionsOrX)){return __assign({},normalizeScrollCoordinates(optionsOrX,y),{behavior:"auto"});}
else{return __assign({},normalizeScrollCoordinates(optionsOrX.left,optionsOrX.top),{behavior:optionsOrX.behavior==null?"auto":optionsOrX.behavior});}}
function patchElementScroll(){Element.prototype.scroll=function(optionsOrX,y){handleScrollMethod(this,"scroll",optionsOrX,y);};}
function patchElementScrollBy(){Element.prototype.scrollBy=function(optionsOrX,y){handleScrollMethod(this,"scrollBy",optionsOrX,y);};}
function patchElementScrollTo(){Element.prototype.scrollTo=function(optionsOrX,y){handleScrollMethod(this,"scrollTo",optionsOrX,y);};}
function patchWindowScroll(){window.scroll=function(optionsOrX,y){handleScrollMethod(this,"scroll",optionsOrX,y);};}
function patchWindowScrollBy(){window.scrollBy=function(optionsOrX,y){handleScrollMethod(this,"scrollBy",optionsOrX,y);};}
function patchWindowScrollTo(){window.scrollTo=function(optionsOrX,y){handleScrollMethod(this,"scrollTo",optionsOrX,y);};}
function getParent(currentElement){if("nodeType"in currentElement&&currentElement.nodeType===1){return currentElement.parentNode;}
if("ShadowRoot"in window&&currentElement instanceof window.ShadowRoot){return currentElement.host;}
else if(currentElement===document){return window;}
else if(currentElement instanceof Node)
return currentElement.parentNode;return null;}
var scrollingElement=document.scrollingElement!=null?document.scrollingElement:document.documentElement;function canOverflow(overflow){return overflow!=="visible"&&overflow!=="clip";}
function isScrollable(element){if(element.clientHeight<element.scrollHeight||element.clientWidth<element.scrollWidth){var style=getComputedStyle(element,null);return canOverflow(style.overflowY)||canOverflow(style.overflowX);}
return false;}
function findNearestAncestorsWithScrollBehavior(target){var currentElement=target;while(currentElement!=null){var behavior=getScrollBehavior(currentElement);if(behavior!=null&&(currentElement===scrollingElement||isScrollable(currentElement))){return[currentElement,behavior];}
var parent_1=getParent(currentElement);currentElement=parent_1;}
currentElement=target;while(currentElement!=null){if(currentElement===scrollingElement||isScrollable(currentElement)){return[currentElement,"auto"];}
var parent_2=getParent(currentElement);currentElement=parent_2;}
return[scrollingElement,"auto"];}
function findNearestRoot(target){var currentElement=target;while(currentElement!=null){if("ShadowRoot"in window&&currentElement instanceof window.ShadowRoot){return currentElement;}
var parent_1=getParent(currentElement);if(parent_1===currentElement){return document;}
currentElement=parent_1;}
return document;}
var ID_WITH_LEADING_DIGIT_REGEXP=/^#\d/;function catchNavigation(){window.addEventListener("click",function(e){if(!e.isTrusted||!(e.target instanceof HTMLAnchorElement))
return;var hrefAttributeValue=e.target.getAttribute("href");if(hrefAttributeValue==null||!hrefAttributeValue.startsWith("#")){return;}
var root=findNearestRoot(e.target);var elementMatch=hrefAttributeValue.match(ID_WITH_LEADING_DIGIT_REGEXP)!=null?root.getElementById(hrefAttributeValue.slice(1)):root.querySelector(hrefAttributeValue);if(elementMatch==null)
return;var _a=__read(findNearestAncestorsWithScrollBehavior(elementMatch),2),ancestorWithScrollBehavior=_a[0],behavior=_a[1];if(behavior!=="smooth")
return;e.preventDefault();ancestorWithScrollBehavior.scrollTo({behavior:behavior,top:elementMatch.offsetTop,left:elementMatch.offsetLeft});});}
var ELEMENT_ORIGINAL_SCROLL_INTO_VIEW=Element.prototype.scrollIntoView;function alignNearest(scrollingEdgeStart,scrollingEdgeEnd,scrollingSize,scrollingBorderStart,scrollingBorderEnd,elementEdgeStart,elementEdgeEnd,elementSize){if((elementEdgeStart<scrollingEdgeStart&&elementEdgeEnd>scrollingEdgeEnd)||(elementEdgeStart>scrollingEdgeStart&&elementEdgeEnd<scrollingEdgeEnd)){return 0;}
if((elementEdgeStart<=scrollingEdgeStart&&elementSize<=scrollingSize)||(elementEdgeEnd>=scrollingEdgeEnd&&elementSize>=scrollingSize)){return elementEdgeStart-scrollingEdgeStart-scrollingBorderStart;}
if((elementEdgeEnd>scrollingEdgeEnd&&elementSize<scrollingSize)||(elementEdgeStart<scrollingEdgeStart&&elementSize>scrollingSize)){return elementEdgeEnd-scrollingEdgeEnd+scrollingBorderEnd;}
return 0;}
function computeScrollIntoView(target,scroller,options){var block=options.block,inline=options.inline;var scrollingElement=document.scrollingElement||document.documentElement;var viewportWidth=window.visualViewport!=null?visualViewport.width:innerWidth;var viewportHeight=window.visualViewport!=null?visualViewport.height:innerHeight;var viewportX=window.scrollX!=null?window.scrollX:window.pageXOffset;var viewportY=window.scrollY!=null?window.scrollY:window.pageYOffset;var _a=target.getBoundingClientRect(),targetHeight=_a.height,targetWidth=_a.width,targetTop=_a.top,targetRight=_a.right,targetBottom=_a.bottom,targetLeft=_a.left;var targetBlock=block==="start"||block==="nearest"?targetTop:block==="end"?targetBottom:targetTop+targetHeight/2;var targetInline=inline==="center"?targetLeft+targetWidth/2:inline==="end"?targetRight:targetLeft;var _b=scroller.getBoundingClientRect(),height=_b.height,width=_b.width,top=_b.top,right=_b.right,bottom=_b.bottom,left=_b.left;var frameStyle=getComputedStyle(scroller);var borderLeft=parseInt(frameStyle.borderLeftWidth,10);var borderTop=parseInt(frameStyle.borderTopWidth,10);var borderRight=parseInt(frameStyle.borderRightWidth,10);var borderBottom=parseInt(frameStyle.borderBottomWidth,10);var blockScroll=0;var inlineScroll=0;var scrollbarWidth="offsetWidth"in scroller?scroller.offsetWidth-scroller.clientWidth-borderLeft-borderRight:0;var scrollbarHeight="offsetHeight"in scroller?scroller.offsetHeight-scroller.clientHeight-borderTop-borderBottom:0;if(scrollingElement===scroller){if(block==="start"){blockScroll=targetBlock;}
else if(block==="end"){blockScroll=targetBlock-viewportHeight;}
else if(block==="nearest"){blockScroll=alignNearest(viewportY,viewportY+viewportHeight,viewportHeight,borderTop,borderBottom,viewportY+targetBlock,viewportY+targetBlock+targetHeight,targetHeight);}
else{blockScroll=targetBlock-viewportHeight/2;}
if(inline==="start"){inlineScroll=targetInline;}
else if(inline==="center"){inlineScroll=targetInline-viewportWidth/2;}
else if(inline==="end"){inlineScroll=targetInline-viewportWidth;}
else{inlineScroll=alignNearest(viewportX,viewportX+viewportWidth,viewportWidth,borderLeft,borderRight,viewportX+targetInline,viewportX+targetInline+targetWidth,targetWidth);}
blockScroll=Math.max(0,blockScroll+viewportY);inlineScroll=Math.max(0,inlineScroll+viewportX);}
else{if(block==="start"){blockScroll=targetBlock-top-borderTop;}
else if(block==="end"){blockScroll=targetBlock-bottom+borderBottom+scrollbarHeight;}
else if(block==="nearest"){blockScroll=alignNearest(top,bottom,height,borderTop,borderBottom+scrollbarHeight,targetBlock,targetBlock+targetHeight,targetHeight);}
else{blockScroll=targetBlock-(top+height/2)+scrollbarHeight/2;}
if(inline==="start"){inlineScroll=targetInline-left-borderLeft;}
else if(inline==="center"){inlineScroll=targetInline-(left+width/2)+scrollbarWidth/2;}
else if(inline==="end"){inlineScroll=targetInline-right+borderRight+scrollbarWidth;}
else{inlineScroll=alignNearest(left,right,width,borderLeft,borderRight+scrollbarWidth,targetInline,targetInline+targetWidth,targetWidth);}
var scrollLeft=scroller.scrollLeft,scrollTop=scroller.scrollTop;blockScroll=Math.max(0,Math.min(scrollTop+blockScroll,scroller.scrollHeight-height+scrollbarHeight));inlineScroll=Math.max(0,Math.min(scrollLeft+inlineScroll,scroller.scrollWidth-width+scrollbarWidth));}
return{top:blockScroll,left:inlineScroll};}
function patchElementScrollIntoView(){Element.prototype.scrollIntoView=function(arg){var normalizedOptions=arg==null||arg===true?{block:"start",inline:"nearest"}:arg===false?{block:"end",inline:"nearest"}:arg;var _a=__read(findNearestAncestorsWithScrollBehavior(this),2),ancestorWithScroll=_a[0],ancestorWithScrollBehavior=_a[1];var behavior=normalizedOptions.behavior!=null?normalizedOptions.behavior:ancestorWithScrollBehavior;if(behavior!=="smooth"){if(ELEMENT_ORIGINAL_SCROLL_INTO_VIEW!=null){ELEMENT_ORIGINAL_SCROLL_INTO_VIEW.call(this,normalizedOptions);}
else{var _b=computeScrollIntoView(this,ancestorWithScroll,normalizedOptions),top_1=_b.top,left=_b.left;getOriginalScrollMethodForKind("scrollTo",this).call(this,left,top_1);}
return;}
ancestorWithScroll.scrollTo(__assign({behavior:behavior},computeScrollIntoView(this,ancestorWithScroll,normalizedOptions)));};}
var ELEMENT_ORIGINAL_SCROLL_TOP_SET_DESCRIPTOR=Object.getOwnPropertyDescriptor(Element.prototype,"scrollTop").set;function patchElementScrollTop(){Object.defineProperty(Element.prototype,"scrollTop",{set:function(scrollTop){if(this.__adjustingScrollPosition){return ELEMENT_ORIGINAL_SCROLL_TOP_SET_DESCRIPTOR.call(this,scrollTop);}
handleScrollMethod(this,"scrollTo",this.scrollLeft,scrollTop);return scrollTop;}});}
var ELEMENT_ORIGINAL_SCROLL_LEFT_SET_DESCRIPTOR=Object.getOwnPropertyDescriptor(Element.prototype,"scrollLeft").set;function patchElementScrollLeft(){Object.defineProperty(Element.prototype,"scrollLeft",{set:function(scrollLeft){if(this.__adjustingScrollPosition){return ELEMENT_ORIGINAL_SCROLL_LEFT_SET_DESCRIPTOR.call(this,scrollLeft);}
handleScrollMethod(this,"scrollTo",scrollLeft,this.scrollTop);return scrollLeft;}});}
function patch(){patchElementScroll();patchElementScrollBy();patchElementScrollTo();patchElementScrollIntoView();patchElementScrollLeft();patchElementScrollTop();patchWindowScroll();patchWindowScrollBy();patchWindowScrollTo();catchNavigation();}
var SUPPORTS_ELEMENT_PROTOTYPE_SCROLL_METHODS="scroll"in Element.prototype&&"scrollTo"in Element.prototype&&"scrollBy"in Element.prototype&&"scrollIntoView"in Element.prototype;if(!SUPPORTS_SCROLL_BEHAVIOR||!SUPPORTS_ELEMENT_PROTOTYPE_SCROLL_METHODS){patch();}}());

1
resources/_gen/assets/js/js/scroll-behavior-polyfill.js_d3f53f09220d597dac26fe7840c31fc9.json

@ -0,0 +1 @@
{"Target":"js/scroll-behavior-polyfill.min.js","MediaType":"application/javascript","Data":{}}

7
static/images/.gitattributes

@ -26,3 +26,10 @@ about/company-growth.png filter=lfs diff=lfs merge=lfs -text
blog/avatar.png filter=lfs diff=lfs merge=lfs -text blog/avatar.png filter=lfs diff=lfs merge=lfs -text
blog/meghna.png filter=lfs diff=lfs merge=lfs -text blog/meghna.png filter=lfs diff=lfs merge=lfs -text
logo.png filter=lfs diff=lfs merge=lfs -text logo.png filter=lfs diff=lfs merge=lfs -text
backgrounds/codm-reddit-banner.webp filter=lfs diff=lfs merge=lfs -text
backgrounds/halloween-loading-screen.webp filter=lfs diff=lfs merge=lfs -text
slider/hero-area.webp filter=lfs diff=lfs merge=lfs -text
br.png filter=lfs diff=lfs merge=lfs -text
clan.png filter=lfs diff=lfs merge=lfs -text
logo-default.png filter=lfs diff=lfs merge=lfs -text
mp.png filter=lfs diff=lfs merge=lfs -text

BIN
static/images/backgrounds/bg-1.jpg (Stored with Git LFS)

size 282670

BIN
static/images/backgrounds/bg-2.jpg (Stored with Git LFS)

size 112865

BIN
static/images/backgrounds/codm-reddit-banner.png

Before

Width: 842  |  Height: 382  |  Size: 554 KiB

BIN
static/images/backgrounds/codm-reddit-banner.webp (Stored with Git LFS)

size 68324

BIN
static/images/backgrounds/halloween-loading-screen.jpg

Before

Width: 2160  |  Height: 1080  |  Size: 245 KiB

BIN
static/images/backgrounds/halloween-loading-screen.webp (Stored with Git LFS)

size 167104

BIN
static/images/br.png (Stored with Git LFS)

size 5050

BIN
static/images/clan.png (Stored with Git LFS)

size 1439829

BIN
static/images/logo-default.png

BIN
static/images/logos/our-client.jpg (Stored with Git LFS)

size 2269

BIN
static/images/mp.png (Stored with Git LFS)

size 6225

BIN
static/images/portfolio/portfolio-1.jpg (Stored with Git LFS)

size 149434

BIN
static/images/portfolio/portfolio-2.jpg (Stored with Git LFS)

size 57286

BIN
static/images/portfolio/portfolio-3.jpg (Stored with Git LFS)

size 73350

BIN
static/images/portfolio/portfolio-4.jpg (Stored with Git LFS)

size 45263

BIN
static/images/portfolio/portfolio-5.jpg (Stored with Git LFS)

size 52213

BIN
static/images/portfolio/portfolio-6.jpg (Stored with Git LFS)

size 50249

BIN
static/images/portfolio/portfolio-7.jpg (Stored with Git LFS)

size 100889

BIN
static/images/portfolio/portfolio-8.jpg (Stored with Git LFS)

size 166683

BIN
static/images/slider/hero-area-default.jpg

Before

Width: 1900  |  Height: 1000  |  Size: 214 KiB

BIN
static/images/slider/hero-area.jpg

Before

Width: 1920  |  Height: 932  |  Size: 1.8 MiB

BIN
static/images/slider/hero-area.webp (Stored with Git LFS)

size 157022

6
static/images/team/.gitattributes

@ -0,0 +1,6 @@
josh.webp filter=lfs diff=lfs merge=lfs -text
pistolfist.webp filter=lfs diff=lfs merge=lfs -text
slade.webp filter=lfs diff=lfs merge=lfs -text
bakkuteh.webp filter=lfs diff=lfs merge=lfs -text
duck.webp filter=lfs diff=lfs merge=lfs -text
helen.webp filter=lfs diff=lfs merge=lfs -text

BIN
static/images/team/bakkuteh.jpg

Before

Width: 600  |  Height: 600  |  Size: 144 KiB

BIN
static/images/team/bakkuteh.webp (Stored with Git LFS)

size 11676

BIN
static/images/team/duck.png

Before

Width: 256  |  Height: 256  |  Size: 22 KiB

BIN
static/images/team/duck.webp (Stored with Git LFS)

size 6166

BIN
static/images/team/helen.png

Before

Width: 256  |  Height: 256  |  Size: 131 KiB

BIN
static/images/team/helen.webp (Stored with Git LFS)

size 3648

BIN
static/images/team/josh.png

Before

Width: 256  |  Height: 256  |  Size: 185 KiB

BIN
static/images/team/josh.webp (Stored with Git LFS)

size 9870

BIN
static/images/team/pistolfist.jpg

Before

Width: 620  |  Height: 620  |  Size: 84 KiB

BIN
static/images/team/pistolfist.webp (Stored with Git LFS)

size 22532

BIN
static/images/team/slade.jpg

Before

Width: 589  |  Height: 589  |  Size: 134 KiB

BIN
static/images/team/slade.webp (Stored with Git LFS)

size 21924
Loading…
Cancel
Save