-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcomponent---src-pages-templates-index-tsx-c79944ee44040195a3eb.js
2 lines (2 loc) · 13.3 KB
/
component---src-pages-templates-index-tsx-c79944ee44040195a3eb.js
1
2
(self.webpackChunkcode_cave=self.webpackChunkcode_cave||[]).push([[832],{6488:function(e,t,l){var n=l(9720).w_;e.exports.p=function(e){return n({tag:"svg",attr:{viewBox:"0 0 16 16",fill:"currentColor"},child:[{tag:"path",attr:{fillRule:"evenodd",d:"M6.5 4a.5.5 0 01.5-.5h5a.5.5 0 01.5.5v5a.5.5 0 01-1 0V4.5H7a.5.5 0 01-.5-.5z",clipRule:"evenodd"}},{tag:"path",attr:{fillRule:"evenodd",d:"M12.354 3.646a.5.5 0 010 .708l-9 9a.5.5 0 01-.708-.708l9-9a.5.5 0 01.708 0z",clipRule:"evenodd"}}]})(e)}},4032:function(e,t,l){var n=l(9720).w_;e.exports.t=function(e){return n({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M464 32H336c-26.5 0-48 21.5-48 48v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48zm-288 0H48C21.5 32 0 53.5 0 80v128c0 26.5 21.5 48 48 48h80v64c0 35.3-28.7 64-64 64h-8c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24h8c88.4 0 160-71.6 160-160V80c0-26.5-21.5-48-48-48z"}}]})(e)}},216:function(e,t,l){"use strict";var n=l(7462),a=l(7294),o=l(4160),r=l(8322),i=l(4471),s=l.n(i),c=l(1164),d=l(917);t.Z=e=>{let{section:t,theme:l,title:i,linkTitle:u,subTitle:m,className:p,children:f,borderT:v,borderB:x,isArrowLink:g=!0,...h}=e;const Z=l===r.Q.dark?"text-secondary-100":"text-main-100",w=l===r.Q.dark?"text-secondary-100 hover:text-secondary-70":"text-main-100 hover:text-main-10",N=l===r.Q.dark?"bg-main-100":"bg-secondary-100";return(0,d.tZ)(a.Fragment,null,v?(0,d.tZ)(s(),{className:"w-full"}):null,(0,d.tZ)("section",(0,n.Z)({className:`w-full py-16 ${N} ${p}`},h),(0,d.tZ)(c.Z,{maxWidthClass:"max-w-[1280px]",className:`flex-col items-center ${Z}`},(0,d.tZ)("div",{className:"flex justify-between w-full sm:items-center pb-8 sm:pb-14 flex-col sm:flex-row gap-5"},(0,d.tZ)("h2",{className:`text-4xl font-bold flex-1 ${Z}`},i.toUpperCase()),t?(0,d.tZ)(o.rU,{to:`/${t}`,className:`w-full sm:w-auto text-start sm:text-end text-xl font-normal cursor-pointer whitespace-nowrap ${w}`},u?u.toUpperCase():"DISCOVER MORE"," ",g?(0,d.tZ)(a.Fragment,null,"→"):null):null,m?(0,d.tZ)("p",{className:`w-full sm:w-auto flex-1 text-start sm:text-end text-xl font-normal ${Z}`},m.toUpperCase()):null),f)),x?(0,d.tZ)(s(),{className:"w-full"}):null)}},3793:function(e,t,l){"use strict";var n=l(4160),a=l(6488),o=l(9165),r=l(8322),i=l(8032),s=l(917);t.Z=e=>{let{post:t,theme:l,className:c,markupData:d,lang:u}=e;const{date:m,title:p,text:f}=t.frontmatter,v=Math.floor(t.wordCount.words/200),x=v||1,g=l===r.Q.light?"text-main-100":"text-secondary-100",h=l===r.Q.light?"text-main-70":"text-secondary-70",Z=l===r.Q.light?"hover:text-main-10":"hover:text-secondary-10",w=(0,i.c)(t.frontmatter.cover);return(0,s.tZ)(n.rU,{to:`/blog/${t.id}`,className:`flex flex-col sm:flex-row w-full justify-center gap-5 md:gap-14 ${g} ${Z} ${c}`,itemScope:!0,itemType:"https://schema.org/Article"},w&&(0,s.tZ)("div",{className:"mr-3.5"},(0,s.tZ)(i.G,{image:w,alt:"",className:"object-cover rounded-full w-full aspect-square"})),(0,s.tZ)("div",{className:"flex flex-col w-full max-w-[400px] gap-2.5"},(0,s.tZ)("p",{itemProp:"dateCreated",className:`text-lg ${h}`},m),(0,s.tZ)("h2",{itemProp:"headline",className:`text-3xl font-semibold ${g}`},p)),(0,s.tZ)("div",{className:"flex flex-col w-full max-w-[500px] gap-5"},(0,s.tZ)("p",{className:`font-normal text-base ${g}`,itemProp:"abstract"},f.split(" ").slice(0,70).join(" "),"..."),(0,s.tZ)("div",{className:"flex w-full items-center justify-between"},(0,s.tZ)("div",{className:"flex items-center gap-3 text-sm font-bold"},(0,s.tZ)("span",null,null==d?void 0:d.readPostLink),(0,s.tZ)(a.p,{size:14})),(0,s.tZ)("p",{className:`text-sm ${h}`},`${x} ${null==d?void 0:d.readingTimeUnits} ${null==d?void 0:d.readingTimeTitle}`))),(0,s.tZ)(o.Lx,{itemProp:"copyrightHolder",lang:u}))}},6745:function(e,t,l){"use strict";var n=l(4160),a=l(8032),o=l(8322),r=l(6488),i=l(9165),s=l(917);t.Z=e=>{let{project:t,className:l,theme:c,lang:d}=e;const u=(0,a.c)(t.frontmatter.cover),{title:m,teamSize:p,duration:f}=t.frontmatter,v=c===o.Q.light?"text-main-100":"text-secondary-100",x=c===o.Q.light?"bg-secondary-100 hover:bg-secondary-100":"bg-main-100 hover:bg-main-100";return(0,s.tZ)(n.rU,{to:`/projects/${t.id}`,className:`${x} ${v} flex flex-col justify-between rounded-2xl p-2.5 gap-2.5 ${l}`,itemScope:!0,itemType:"https://schema.org/CreativeWork"},(0,s.tZ)("div",{className:"group flex-1 relative"},u?(0,s.tZ)("div",{className:"w-full rounded-[10px] overflow-hidden"},(0,s.tZ)(a.G,{image:u,alt:"cover",itemProp:"image",className:"object-contain w-full rounded-[10px] grayscale transition-all group-hover:scale-[1.05]"})):null,(0,s.tZ)("div",{className:"absolute left-2 bottom-2 flex items-center gap-2.5 z-10"},(0,s.tZ)("p",{className:"backdrop-blur-sm backdrop-brightness-75 text-secondary-100 px-5 h-10 flex items-center rounded-lg"},f),(0,s.tZ)("p",{className:"backdrop-blur-sm backdrop-brightness-75 text-secondary-100 px-5 h-10 flex items-center rounded-lg"},p))),(0,s.tZ)("div",{className:"flex px-2.5 py-1 items-center grow"},(0,s.tZ)("h2",{className:"text-base grow font-medium h-full",itemProp:"description"},m),(0,s.tZ)(r.p,{size:20})),(0,s.tZ)(i.Lx,{itemProp:"author",lang:d}))}},171:function(e,t,l){"use strict";l.r(t),l.d(t,{Head:function(){return L},default:function(){return I}});var n=l(9720),a=l(6946),o=l.n(a),r=l(1929),i=l(7294),s=l(4160),c=l(1312),d=l(7451),u=l(917);var m=(0,i.forwardRef)(((e,t)=>{let{className:l,children:n}=e;const[a,o]=(0,c.Z)({loop:!0,dragFree:!0,duration:4e4,align:"start"},[(0,d.Z)({delay:0,stopOnInteraction:!1,stopOnMouseEnter:!0})]);return(0,u.tZ)("div",{className:`overflow-hidden ${l}`,ref:a},(0,u.tZ)("div",{ref:t,className:"h-full flex items-center",onMouseEnter:()=>{null==o||o.internalEngine().animation.stop()},onMouseLeave:()=>{null==o||o.internalEngine().animation.start()}},n))})),p=l(4471),f=l.n(p);var v=e=>{let{children:t}=e;return(0,u.tZ)("div",{className:"h-full shrink-0 min-w-0 cursor-pointer flex flex-col justify-between items-center content-center w-[192px] md:w-[256px] xl:w-[256px] 3xl:w-[400px]"},(0,u.tZ)(f(),{className:"min-w-0 shrink-0 w-full"}),(0,u.tZ)("p",{className:"text-lg font-semibold whitespace-nowrap"},t),(0,u.tZ)(f(),{className:"min-w-0 shrink-0 w-full"}))};var x=()=>{var e,t;const l=(0,s.K2)(g),n=null==l||null===(e=l.markdownRemark)||void 0===e||null===(t=e.frontmatter)||void 0===t?void 0:t.stack;return(0,u.tZ)(i.Fragment,null,n?(0,u.tZ)("section",{className:"h-16 flex flex-col relative"},(0,u.tZ)(m,{className:"grow"},n.map((e=>(0,u.tZ)(v,{key:e},e))))):null)};const g="3518807326";var h=l(3793),Z=l(216),w=l(8322);var N=e=>{var t,l,n,a,o,r,c,d;let{lang:m}=e;const p=(0,s.K2)(b),f=null==p||null===(t=p.markupData)||void 0===t||null===(l=t.nodes)||void 0===l||null===(n=l.find((e=>e.fields.language===m)))||void 0===n||null===(a=n.frontmatter)||void 0===a?void 0:a.blog;let v;return v=m in p?null==p||null===(o=p[m])||void 0===o?void 0:o.nodes:null==p||null===(r=p.en)||void 0===r?void 0:r.nodes,(0,u.tZ)(i.Fragment,null,v?(0,u.tZ)(Z.Z,{theme:w.Q.dark,title:null!==(c=null==f?void 0:f.blogSectionTitle)&&void 0!==c?c:"new in our blog",linkTitle:null!==(d=null==f?void 0:f.blogSectionLinkTitle)&&void 0!==d?d:"all posts",section:"blog",borderB:!0,className:"min-h-[400px]"},v.map((e=>(0,u.tZ)(h.Z,{lang:m,post:e,theme:w.Q.dark,className:"py-5",markupData:f})))):null)};const b="1618735687";var y=l(6745);var k=e=>{var t,l,n,a,o,r,c,d;let{excludeId:m,lang:p}=e;const f=(0,s.K2)(E),v=null==f||null===(t=f.markupData)||void 0===t||null===(l=t.nodes)||void 0===l||null===(n=l.find((e=>e.fields.language===p)))||void 0===n||null===(a=n.frontmatter)||void 0===a?void 0:a.projects;let x;return x=p in f?null==f||null===(o=f[p])||void 0===o?void 0:o.nodes:null===(r=f.en)||void 0===r?void 0:r.nodes,x?(m&&(x=x.filter((e=>e.id!==m))),(0,u.tZ)(Z.Z,{theme:w.Q.dark,section:"projects",title:null!==(c=null==v?void 0:v.moreProjectsSectionTitle)&&void 0!==c?c:"OUR PROJECTS",linkTitle:null!==(d=null==v?void 0:v.moreProjectsSectionLinkTitle)&&void 0!==d?d:"Discover MORE",borderB:!0},(0,u.tZ)("div",{className:"flex justify-between items-center gap-5 lg:gap-10 flex-col sm:flex-row items-stretch"},x.map(((e,t)=>{if(3!==t)return(0,u.tZ)(y.Z,{key:e.id,project:e,lang:p,theme:w.Q.light,className:"flex-1 sm:last:hidden lg:last:flex"})}))))):(0,u.tZ)(i.Fragment,null)};const E="2469162486";var O=l(9165),$=l(8032),j=l(4032);var T=e=>{let{review:{frontmatter:{company:t,person:l,position:n,location:a,image:o,link:r},html:i},className:s}=e;const c=(0,$.c)(o);return(0,u.tZ)("div",{className:`flex flex-col p-6 gap-3.5 bg-secondary-100 hover:shadow-[0px_2px_14px_rgba(68,68,68,0.25)] shadow-[0px_2px_8px_rgba(68,68,68,0.1)] rounded-2.5xl text-main-100 ${s}`},(0,u.tZ)("div",{className:"flex w-full items-start"},c?(0,u.tZ)($.G,{image:c,alt:t,className:"h-[72px] w-[72px] object-cover rounded-full mr-3.5 grayscale"}):null,(0,u.tZ)("div",{className:"flex-1 font-normal text-base text-main-70 leading-5"},(0,u.tZ)("a",{href:r},(0,u.tZ)("h3",{className:"font-bold text-xl text-main-100"},l)),(0,u.tZ)("h4",null,(0,u.tZ)("span",null,n),", ",(0,u.tZ)("span",null,t)),(0,u.tZ)("h4",null,a)),(0,u.tZ)(j.t,{size:25,color:"#E4E4E4"})),(0,u.tZ)("div",{className:"review-body text-sm",dangerouslySetInnerHTML:{__html:i}}))};var C=e=>{var t,l,n,a,o,r,c,d,m;let{lang:p}=e;const f=(0,s.K2)(S),v=null==f||null===(t=f.markupData)||void 0===t||null===(l=t.nodes)||void 0===l||null===(n=l.find((e=>e.fields.language===p)))||void 0===n||null===(a=n.frontmatter)||void 0===a?void 0:a.reviews;let x;return x=p in f?null==f||null===(o=f[p])||void 0===o||null===(r=o.nodes)||void 0===r?void 0:r.sort(((e,t)=>e.frontmatter.person>t.frontmatter.person?1:-1)):null==f||null===(c=f.en)||void 0===c||null===(d=c.nodes)||void 0===d?void 0:d.sort(((e,t)=>e.frontmatter.person>t.frontmatter.person?1:-1)),(0,u.tZ)(i.Fragment,null,x?(0,u.tZ)(Z.Z,{id:"reviews",theme:w.Q.light,title:null!==(m=null==v?void 0:v.title)&&void 0!==m?m:"our clients' testimonials",subTitle:null==v?void 0:v.linkTitle,borderB:!0},(0,u.tZ)("div",{className:"flex justify-between items-start gap-5 lg:gap-10 flex-col md:flex-row"},x.map((e=>(0,u.tZ)(T,{review:e,key:e.id,className:"flex-1"}))))):null)};const S="842877206";var _=l(5081);var I=e=>{let{pageContext:{markupData:t,lang:l}}=e;return(0,u.tZ)(n.Pd.Provider,{value:{style:{verticalAlign:"middle"}}},(0,u.tZ)(r.Z,{title:t.bannerTitle,titleBlockClassName:"w-full",childrenBlockClassName:"lg:justify-end -order-1 lg:order-none"},(0,u.tZ)(o(),{className:"aspect-square w-[118px] lg:w-full lg:max-w-[222px] h-max"})),(0,u.tZ)(x,null),(0,u.tZ)(k,{lang:l}),(0,u.tZ)(C,{lang:l}),(0,u.tZ)(N,{lang:l}),(0,u.tZ)(_.Z,{lang:l}))};const L=e=>{let{pageContext:{markupData:t,site:l,lang:n},location:a}=e;return(0,u.tZ)(O.Ag,{title:t.head,description:t.metaDescription,siteUrl:l.siteUrl,path:a.pathname,lang:n})}},8322:function(e,t,l){"use strict";l.d(t,{Q:function(){return n}});let n=function(e){return e.dark="dark",e.light="light",e}({})},6946:function(e,t,l){var n=l(7294);function a(e){return n.createElement("svg",e,[n.createElement("rect",{width:"222",height:"222",fill:"white",fillOpacity:"0.01",style:{mixBlendMode:"multiply"},key:0}),n.createElement("path",{d:"M69.375 41.625V55.5H156.718L41.625 170.593L51.4069 180.375L166.5 65.2819V152.625H180.375V41.625H69.375Z",fill:"url(#paint0_linear_1725_3502)",key:1}),n.createElement("defs",{key:2},n.createElement("linearGradient",{id:"paint0_linear_1725_3502",x1:"111",y1:"41.625",x2:"111",y2:"180.375",gradientUnits:"userSpaceOnUse"},[n.createElement("stop",{stopColor:"#E4E4E4",key:0}),n.createElement("stop",{offset:"1",stopColor:"#111111",key:1})]))])}a.defaultProps={width:"222",height:"222",viewBox:"0 0 222 222",fill:"none"},e.exports=a,a.default=a},7451:function(e,t,l){"use strict";l.d(t,{Z:function(){return a}});const n={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function a(e={}){let t,l,o,r=!1,i=!0,s=!1,c=0;function d(){if(o)return;if(!i)return;r||l.emit("autoplay:play");const{ownerWindow:e}=l.internalEngine();e.clearInterval(c),c=e.setInterval(v,t.delay),r=!0}function u(){if(o)return;r&&l.emit("autoplay:stop");const{ownerWindow:e}=l.internalEngine();e.clearInterval(c),c=0,r=!1}function m(){if(p())return i=r,u();i&&d()}function p(){const{ownerDocument:e}=l.internalEngine();return"hidden"===e.visibilityState}function f(e){void 0!==e&&(s=e),i=!0,d()}function v(){const{index:e}=l.internalEngine(),n=e.clone().add(1).get(),a=l.scrollSnapList().length-1;t.stopOnLastSnap&&n===a&&u(),l.canScrollNext()?l.scrollNext(s):l.scrollTo(0,s)}return{name:"autoplay",options:e,init:function(r,c){l=r;const{mergeOptions:f,optionsAtMedia:v}=c,x=f(n,a.globalOptions),g=f(x,e);if(t=v(g),l.scrollSnapList().length<=1)return;s=t.jump,o=!1;const{eventStore:h,ownerDocument:Z}=l.internalEngine(),w=l.rootNode(),N=t.rootNode&&t.rootNode(w)||w,b=l.containerNode();l.on("pointerDown",u),t.stopOnInteraction||l.on("pointerUp",d),t.stopOnMouseEnter&&(h.add(N,"mouseenter",(()=>{i=!1,u()})),t.stopOnInteraction||h.add(N,"mouseleave",(()=>{i=!0,d()}))),t.stopOnFocusIn&&(h.add(b,"focusin",u),t.stopOnInteraction||h.add(b,"focusout",d)),h.add(Z,"visibilitychange",m),t.playOnInit&&!p()&&d()},destroy:function(){l.off("pointerDown",u).off("pointerUp",d),u(),o=!0,r=!1},play:f,stop:function(){r&&u()},reset:function(){r&&f()},isPlaying:function(){return r}}}a.globalOptions=void 0}}]);
//# sourceMappingURL=component---src-pages-templates-index-tsx-c79944ee44040195a3eb.js.map