PageSourceSearch

https://ebax.ca/_next/static/chunks/app/pages/services-batiment/page-aace74a37352c67c.js

js ebax.ca collected 2026-10-04 15:34:32 UTC 16,943 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8046],{2297:function(e,t,s){Promise.resolve().then(s.bind(s,636))},6463:function(e,t,s){"use strict";var n=s(1169);s.o(n,"usePathname")&&s.d(t,{usePathname:function(){return n.usePathname}}),s.o(n,"useSearchParams")&&s.d(t,{useSearchParams:function(){return n.useSearchParams}})},636:function(e,t,s){"use strict";s.r(t),s.d(t,{default:function(){return b}});var n=s(7437),l=s(2265),r=s(6648),i=s(4010),a=s(8949),o=s(1381),c=()=>(0,n.jsxs)("section",{className:"relative text-white h-[600px] sm:h-[700px] md:h-[800px] lg:h-[1088px] flex items-center justify-center",children:[(0,n.jsxs)("div",{className:"absolute inset-0 z-0",children:[(0,n.jsx)(r.default,{src:"/images/about-bg.png",alt:"Building background",fill:!0,className:"object-cover object-center",priority:!0}),(0,n.jsx)("div",{className:"bg-black/50 absolute inset-0 z-0"})]}),(0,n.jsx)(o.Z,{}),(0,n.jsxs)("div",{className:"relative z-10 w-full max-w-sm sm:max-w-md md:max-w-2xl lg:max-w-4xl mt-12 sm:mt-16 md:mt-20 lg:mt-20 px-4 sm:px-6 lg:px-8 py-8 sm:py-12 md:py-16 lg:py-24 flex flex-col items-center text-center",children:[(0,n.jsx)("div",{className:"flex justify-center mb-4 sm:mb-6 lg:mb-1",children:(0,n.jsx)(r.default,{src:"/images/logo/logo/logo.png",alt:"Ebax Logo",width:217.03,height:94,className:"w-[130px] h-[56px] xs:w-[150px] xs:h-[65px] sm:w-[170px] sm:h-[74px] md:w-[190px] md:h-[82px] lg:w-[217px] lg:h-[94px] object-contain"})}),(0,n.jsxs)("div",{className:"w-full max-w-[300px] sm:max-w-[400px] md:max-w-[500px] lg:w-[639px] lg:h-[238.17px]",children:[(0,n.jsxs)("h1",{className:"font-bold mb-4 sm:mb-6 lg:mb-4 text-2xl sm:text-3xl md:text-4xl lg:text-[60px] leading-tight",children:["Services en ",(0,n.jsx)("span",{className:"bg-red-600 px-1",children:"b\xe2timent"})]}),(0,n.jsx)("div",{className:"space-y-3 sm:space-y-4 mb-6 sm:mb-8 lg:mb-8 font-light",children:(0,n.jsx)("p",{className:"text-sm sm:text-base md:text-lg lg:text-[25px] leading-relaxed",style:{fontFamily:"Kumbh Sans",fontWeight:"normal"},children:"Des solutions techniques pour les entrepreneurs, architectes et professionnels du b\xe2timent. EBAX facilite la gestion et l'optimisation de vos projets avec expertise et pr\xe9cision."})})]}),(0,n.jsx)(i.Z,{variant:"primary",className:"text-sm sm:text-base lg:text-base mt-4 sm:mt-6 lg:mt-15 px-6 sm:px-8 py-2 sm:py-3",onClick:()=>{let e=document.getElementById("services-section");e&&e.scrollIntoView({behavior:"smooth"})},children:a.Z5.cta})]})]}),d=s(6947),x=s(6463),m=s(6102),h=s(8879),u=s(2767),p=()=>{let[e,t]=(0,l.useState)(0),[s,r]=(0,l.useState)(3),i=(0,l.useRef)(null);(0,l.useEffect)(()=>{let e=()=>{window.innerWidth<640?r(1):window.innerWidth<1024?r(2):window.innerWidth<1280?r(3):r(4)};return e(),window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[]);let o=Math.max(0,a.Lq.cards.length-s),c=()=>{t(e=>0===e?o:e-1)},d=()=>{t(e=>e>=o?0:e+1)};return(0,n.jsx)("section",{id:"services-cards",className:"bg-gray-50 px-4 sm:px-6 md:px-12 lg:px-10 py-8 sm:py-12 md:py-16 lg:py-20",children:(0,n.jsxs)("div",{className:"mx-auto",children:[(0,n.jsxs)("div",{className:"relative",children:[(0,n.jsxs)("div",{className:"hidden lg:block",children:[(0,n.jsx)(u.Z,{direction:"prev",onClick:c,disabled:!1}),(0,n.jsx)(u.Z,{direction:"next",onClick:d,disabled:!1})]}),(0,n.jsx)("div",{ref:i,className:"overflow-hidden",children:(0,n.jsx)("div",{className:"flex transition-transform duration-300 ease-in-out flex-nowrap",style:{transform:"translateX(-".concat(100/s*e,"%)")},children:a.Lq.cards.map(e=>(0,n.jsx)("div",{style:{flex:"0 0 ".concat(100/s,"%")},className:"min-w-0",children:(0,n.jsx)(h.Z,{title:e.title,description:e.description,image:e.image,link:e.link})},e.id))})}),(0,n.jsxs)("div",{className:"flex lg:hidden justify-between items-center absolute top-1/2 left-0 right-0 transform -translate-y-1/2 px-2 sm:px-4 pointer-events-none",children:[(0,n.jsx)("button",{onClick:c,className:"w-8 h-8 sm:w-10 sm:h-10 rounded-full bg-red-600/80 hover:bg-red-700 flex items-center justify-center text-white transition-all duration-200 shadow-lg pointer-events-auto backdrop-blur-sm","aria-label":"Carte pr\xe9c\xe9dente",children:(0,n.jsx)("svg",{className:"w-3 h-3 sm:w-4 sm:h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M15 19l-7-7 7-7"})})}),(0,n.jsx)("button",{onClick:d,className:"w-8 h-8 sm:w-10 sm:h-10 rounded-full bg-red-600/80 hover:bg-red-700 flex items-center justify-center text-white transition-all duration-200 shadow-lg pointer-events-auto backdrop-blur-sm","aria-label":"Carte suivante",children:(0,n.jsx)("svg",{className:"w-3 h-3 sm:w-4 sm:h-4",fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M9 5l7 7-7 7"})})})]})]}),(0,n.jsx)("div",{className:"flex justify-center mt-6 sm:mt-8 space-x-2",children:Array.from({length:o+1}).map((s,l)=>(0,n.jsx)("button",{onClick:()=>t(l),className:"w-2 h-2 sm:w-2.5 sm:h-2.5 rounded-full transition-colors ".concat(e===l?"bg-red-600":"bg-gray-300"),"aria-label":"Aller \xe0 la diapositive ".concat(l+1)},l))})]})})},f=s(5181),g=s(1521);function b(){return(0,n.jsx)(l.Suspense,{fallback:(0,n.jsx)("div",{children:"Loading..."}),children:(0,n.jsx)(v,{})})}function v(){let e=(0,x.useSearchParams)();return(0,l.useEffect)(()=>
1{if("team"===e.get("section")){let e=document.getElementById("team");e&&e.scrollIntoView({behavior:"smooth"})}},[e]),(0,n.jsxs)("main",{children:[(0,n.jsx)(c,{}),(0,n.jsx)(m.default,{}),(0,n.jsxs)("div",{id:"services-section",className:"bg-gray-50 pt-8",children:[(0,n.jsx)("h1",{className:"text-2xl font-semibold pl-20 text-black",children:"Nos services"}),(0,n.jsx)(p,{})]}),(0,n.jsx)(f.Z,{}),(0,n.jsx)(d.Z,{}),(0,n.jsx)("div",{className:"bg-gray-200",children:(0,n.jsx)(g.default,{})})]})}},4010:function(e,t,s){"use strict";var n=s(7437);s(2265);var l=s(1942);t.Z=e=>{let{children:t,variant:s="primary",className:r="",onClick:i,type:a="button",icon:o=!0,disabled:c=!1,loading:d=!1}=e;return(0,n.jsx)("button",{type:a,className:"".concat("\n    font-bold focus:outline-none \n    flex items-center justify-center\n    cursor-pointer\n    transition-colors duration-200 \n    disabled:opacity-50 disabled:cursor-not-allowed\n    min-w-[140px] w-auto max-w-none\n    sm:min-w-[150px]\n    md:min-w-[160px]\n    lg:min-w-[170px]\n    xl:min-w-[180px]\n    2xl:min-w-[190px]\n    h-[32px]\n    sm:h-[34px]\n    md:h-[36px]\n    lg:h-[37px]\n    xl:h-[38px]\n    2xl:h-[39px]\n    px-2 py-2\n    sm:px-5 sm:py-2\n    md:px-6 md:py-3\n    lg:px-7 lg:py-3\n    xl:px-2 xl:py-3\n    2xl:px-10 2xl:py-4\n  "," ").concat({primary:"bg-[#E50E29] text-white hover:bg-[#211F1F] disabled:hover:bg-[#E50E29]",secondary:"bg-gray-200 text-gray-800 hover:bg-gray-300 disabled:hover:bg-gray-200",info:"bg-[#211F1F] text-white hover:bg-[#E50E29] disabled:hover:bg-[#211F1F]",round:"bg-[#E50E29] rounded-full text-white hover:bg-[#211F1F] disabled:hover:bg-[#E50E29]",bgrounded:"bg-white rounded-full text-[#E50E29] hover:bg-red-50 border border-[#E50E29] disabled:hover:bg-white"}[s]," ").concat(r),onClick:i,disabled:c||d,style:{fontFamily:"Mona Sans",fontWeight:"bold"},children:(0,n.jsxs)("div",{className:"\n    flex items-center justify-center\n    w-full h-full\n    gap-2\n    sm:gap-2.5\n    md:gap-3\n    lg:gap-2\n    xl:gap-2\n    2xl:gap-3\n  ",children:[(0,n.jsx)("span",{className:"\n    flex-shrink-0\n    text-xs\n    sm:text-xs\n    md:text-sm\n    lg:text-sm\n    xl:text-md\n    2xl:text-base\n    leading-none\n    whitespace-nowrap\n  ",children:t}),o&&!d&&(0,n.jsx)(l.Dli,{className:"\n    flex-shrink-0\n    w-3 h-3\n    sm:w-3 sm:h-3\n    md:w-3.5 md:h-3.5\n    lg:w-4 lg:h-4\n    xl:w-4 xl:h-4\n    2xl:w-4 2xl:h-4\n  "}),d&&(0,n.jsx)("div",{className:"\n    flex-shrink-0\n    w-3 h-3\n    sm:w-3 sm:h-3\n    md:w-3.5 md:h-3.5\n    lg:w-4 lg:h-4\n    xl:w-4 xl:h-4\n    2xl:w-4 2xl:h-4\n    border-2 border-current border-t-transparent rounded-full animate-spin\n  "})]})})}},2902:function(e,t,s){"use strict";var n=s(7437);s(2265),t.Z=e=>{let{fr:t,en:s,className:l=""}=e;return(0,n.jsxs)("span",{className:"google-manual-translate notranslate ".concat(l),translate:"no",children:[(0,n.jsx)("span",{className:"fr-text",children:t}),(0,n.jsx)("span",{className:"en-text",children:s})]})}},8879:function(e,t,s){"use strict";var n=s(7437);s(2265);var l=s(6648),r=s(7138),i=s(4010),a=s(2902);t.Z=e=>{let{title:t,description:s,image:o,link:c}=e;return(0,n.jsx)("div",{className:"w-full p-4 sm:p-5 lg:p-6",children:(0,n.jsxs)("div",{className:"relative h-[250px] xs:h-[300px] sm:h-[350px] md:h-[400px] lg:h-[450px] xl:h-[500px] 2xl:h-[594px] rounded-sm overflow-hidden shadow-lg group",children:[(0,n.jsx)(l.default,{src:o,alt:t,layout:"fill",objectFit:"cover",className:"transition-transform duration-500 group-hover:scale-110"}),(0,n.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 via-black/50 to-transparent"}),(0,n.jsxs)("div",{className:"absolute inset-0 flex flex-col justify-center items-center p-6 text-white text-center",children:[(0,n.jsx)("h3",{className:"text-2xl font-bold mb-3",children:"Carnet d'entretien"===t?(0,n.jsx)(a.Z,{fr:"Carnet d'entretien",en:"Maintenance logbook"}):"Services conseils"===t?(0,n.jsx)(a.Z,{fr:"Services conseils",en:"Consulting services"}):t}),(0,n.jsx)("p",{className:"mb-4 text-sm opacity-90",children:s?s.length<=120?s:s.substring(0,120)+"...":""}),(0,n.jsx)(r.default,{href:c,children:(0,n.jsx)(i.Z,{variant:"primary",className:"text-sm",children:"Nos services"})})]})]})})}},2767:function(e,t,s){"use strict";var n=s(7437);s(2265);var l=s(1942);t.Z=e=>{let{direction:t,onClick:s,disabled:r,className:i=""}=e;return(0,n.jsx)("button",{onClick:s,disabled:r,className:"absolute ".concat(i||("prev"===t?"left-0":"right-0")," top-1/2 -translate-y-1/2 z-10 bg-red-600 p-3 rounded-full shadow-md hover:bg-[#4E5154] hover:text-white transition-all ").concat(r?"opacity-50 cursor-not-allowed":"opacity-100"),"aria-label":"prev"===t?"Pr\xe9c\xe9dent":"Suivant",children:"prev"===t?(0,n.jsx)(l.bUI,{className:"text-white "}):(0,n.jsx)(l.Dli,{className:"text-white "})})}},1381:function(e,t,s){"use strict";var n=s(7437);s(2265);var l=s(7138),r=s(4446),i=s(7207),a=s(4010),o=s(9857);let c={open:{opacity:1},closed:{opacity:0}
1},d={open:{x:0},closed:{x:"100%"}},x={type:"tween",duration:.3,ease:[.32,.72,0,1]};t.Z=()=>{let{isSidebarOpen:e,closeSidebar:t}=(0,o.A)();return(0,n.jsxs)(r.M,{children:[e&&(0,n.jsx)(i.E.div,{className:"fixed inset-0 bg-black/50 z-40",initial:"closed",animate:"open",exit:"closed",variants:c,transition:x,onClick:t,"aria-hidden":"true"},"sidebar-overlay"),e&&(0,n.jsx)(i.E.div,{className:"fixed right-0 top-0 h-screen bg-[#E50E29] z-50 w-[85vw] max-w-[320px] sm:w-[300px] md:w-[300px] shadow-xl",initial:"closed",animate:"open",exit:"closed",variants:d,transition:x,children:(0,n.jsxs)("div",{className:"h-full flex flex-col pt-16 sm:pt-20 md:pt-24 space-y-1 px-4 sm:px-5 md:px-8 pb-6 overflow-y-auto",children:[(0,n.jsx)("button",{onClick:t,className:"absolute top-3 right-3 sm:top-4 sm:right-4 p-1.5 rounded-full text-white hover:bg-white/20 transition-colors touch-manipulation","aria-label":"Fermer le menu",children:(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",className:"h-6 w-6 sm:h-7 sm:w-7",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:(0,n.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M6 18L18 6M6 6l12 12"})})}),(0,n.jsxs)("div",{className:"flex flex-col space-y-4 sm:space-y-5",children:[(0,n.jsx)(l.default,{href:"/pages/contact",onClick:t,className:"block",children:(0,n.jsx)(a.Z,{variant:"secondary",className:"w-full max-w-[260px] h-10 sm:h-11 md:h-[40px] text-xs sm:text-sm md:text-base font-semibold py-2.5 px-4",children:"Contactez-nous"})}),(0,n.jsxs)("nav",{className:"font-['Mona_Sans'] space-y-0.5","aria-label":"Navigation secondaire",children:[(0,n.jsx)(l.default,{href:"/pages/about",onClick:t,className:"block py-2.5 sm:py-3 rounded transition-colors duration-300 hover:bg-white/10 active:bg-white/15",children:(0,n.jsx)("span",{className:"text-sm sm:text-base md:text-lg font-medium text-white block text-left px-1",children:"Qui sommes-nous?"})}),(0,n.jsx)(l.default,{href:"/pages/expertises",onClick:t,className:"block py-2.5 sm:py-3 rounded transition-colors duration-300 hover:bg-white/10 active:bg-white/15",children:(0,n.jsx)("span",{className:"text-sm sm:text-base md:text-lg font-medium text-white block text-left px-1",children:"Expertises"})}),(0,n.jsx)(l.default,{href:"/pages/contact",onClick:t,className:"block py-2.5 sm:py-3 rounded transition-colors duration-300 hover:bg-white/10 active:bg-white/15",children:(0,n.jsx)("span",{className:"text-sm sm:text-base md:text-lg font-medium text-white block text-left px-1",children:"Nous joindre"})})]})]})]})},"sidebar-drawer")]})}},9857:function(e,t,s){"use strict";s.d(t,{A:function(){return a},SidebarProvider:function(){return i}});var n=s(7437),l=s(2265);let r=(0,l.createContext)(void 0),i=e=>{let{children:t}=e,[s,i]=(0,l.useState)(!1);return(0,n.jsx)(r.Provider,{value:{isSidebarOpen:s,toggleSidebar:()=>{i(e=>!e)},openSidebar:()=>{i(!0)},closeSidebar:()=>{i(!1)}},children:t})},a=()=>{let e=(0,l.useContext)(r);if(void 0===e)throw Error("useSidebar must be used within a SidebarProvider");return e}},4446:function(e,t,s){"use strict";s.d(t,{M:function(){return b}});var n=s(7437),l=s(2265),r=s(5050),i=s(458),a=s(9033),o=s(7797),c=s(9306),d=s(9791);class x extends l.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=t.offsetParent,s=(0,c.R)(e)&&e.offsetWidth||0,n=this.props.sizeRef.current;n.height=t.offsetHeight||0,n.width=t.offsetWidth||0,n.top=t.offsetTop,n.left=t.offsetLeft,n.right=s-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function m(e){let{children:t,isPresent:s,anchorX:r}=e,i=(0,l.useId)(),a=(0,l.useRef)(null),o=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:c}=(0,l.useContext)(d._);return(0,l.useInsertionEffect)(()=>{let{width:e,height:t,top:n,left:l,right:d}=o.current;if(s||!a.current||!e||!t)return;a.current.dataset.motionPopId=i;let x=document.createElement("style");return c&&(x.nonce=c),document.head.appendChild(x),x.sheet&&x.sheet.insertRule('\n          [data-motion-pop-id="'.concat(i,'"] {\n            position: absolute !important;\n            width: ').concat(e,"px !important;\n            height: ").concat(t,"px !important;\n            ").concat("left"===r?"left: ".concat(l):"right: ".concat(d),"px !important;\n            top: ").concat(n,"px !important;\n          }\n        ")),()=>{document.head.contains(x)&&document.head.removeChild(x)}},[s]),(0,n.jsx)(x,{isPresent:s,childRef:a,sizeRef:o,children:l.cloneElement(t,{ref:a})})}let h=e=>{let{children:t,initial:s,isPresent:r,onExitComplete:a,custom:c,presenceAffectsLayout:d,mode:x,anchorX:h}=e,p=(0,i.h)(u),f=(0,l.useId)(),g=!0,b=(0,l.useMemo)(()=>(g=!1,{id:f,initial:s,isPresent:r,custom:c,onExitComplete:e=>
1{for(let t of(p.set(e,!0),p.values()))if(!t)return;a&&a()},register:e=>(p.set(e,!1),()=>p.delete(e))}),[r,p,a]);return d&&g&&(b={...b}),(0,l.useMemo)(()=>{p.forEach((e,t)=>p.set(t,!1))},[r]),l.useEffect(()=>{r||p.size||!a||a()},[r]),"popLayout"===x&&(t=(0,n.jsx)(m,{isPresent:r,anchorX:h,children:t})),(0,n.jsx)(o.O.Provider,{value:b,children:t})};function u(){return new Map}var p=s(3241);let f=e=>e.key||"";function g(e){let t=[];return l.Children.forEach(e,e=>{(0,l.isValidElement)(e)&&t.push(e)}),t}let b=e=>{let{children:t,custom:s,initial:o=!0,onExitComplete:c,presenceAffectsLayout:d=!0,mode:x="sync",propagate:m=!1,anchorX:u="left"}=e,[b,v]=(0,p.oO)(m),w=(0,l.useMemo)(()=>g(t),[t]),j=m&&!b?[]:w.map(f),y=(0,l.useRef)(!0),N=(0,l.useRef)(w),k=(0,i.h)(()=>new Map),[E,C]=(0,l.useState)(w),[S,P]=(0,l.useState)(w);(0,a.L)(()=>{y.current=!1,N.current=w;for(let e=0;e<S.length;e++){let t=f(S[e]);j.includes(t)?k.delete(t):!0!==k.get(t)&&k.set(t,!1)}},[S,j.length,j.join("-")]);let L=[];if(w!==E){let e=[...w];for(let t=0;t<S.length;t++){let s=S[t],n=f(s);j.includes(n)||(e.splice(t,0,s),L.push(s))}return"wait"===x&&L.length&&(e=L),P(g(e)),C(w),null}let{forceRender:Z}=(0,l.useContext)(r.p);return(0,n.jsx)(n.Fragment,{children:S.map(e=>{let t=f(e),l=(!m||!!b)&&(w===S||j.includes(t));return(0,n.jsx)(h,{isPresent:l,initial:(!y.current||!!o)&&void 0,custom:s,presenceAffectsLayout:d,mode:x,onExitComplete:l?void 0:()=>{if(!k.has(t))return;k.set(t,!0);let e=!0;k.forEach(t=>{t||(e=!1)}),e&&(null==Z||Z(),P(N.current),m&&(null==v||v()),c&&c())},anchorX:u,children:e},t)})})}}},function(e){e.O(0,[7699,7240,9212,1994,9461,5280,7138,4049,7207,8949,8899,2971,7023,1744],function(){return e(e.s=2297)}),_N_E=e.O()}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.