(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5405],{5557:function(e,t,l){(window.__NEXT_P=window.__NEXT_P||[]).push(["/",function(){return l(6078)}])},3185:function(e,t){"use strict";t.Z={src:"/_next/static/media/mainImage2.f8a1f0e5.jpg",height:4160,width:6240,blurDataURL:"data:image/jpeg;base64,/9j/2wBDAAoHBwgHBgoICAgLCgoLDhgQDg0NDh0VFhEYIx8lJCIfIiEmKzcvJik0KSEiMEExNDk7Pj4+JS5ESUM8SDc9Pjv/2wBDAQoLCw4NDhwQEBw7KCIoOzs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozv/wAARCAAFAAgDASIAAhEBAxEB/8QAFQABAQAAAAAAAAAAAAAAAAAAAAT/xAAdEAABBQADAQAAAAAAAAAAAAABAAIDBBEFEyJx/8QAFQEBAQAAAAAAAAAAAAAAAAAAAQT/xAAXEQEBAQEAAAAAAAAAAAAAAAABAAIR/9oADAMBAAIRAxEAPwC6U3OXud5vSxb5LC5zm583AiIpzTIdL//Z",blurWidth:8,blurHeight:5}},6078:function(e,t,l){"use strict";l.r(t),l.d(t,{default:function(){return q}});var n={};l.r(n),l.d(n,{get5Projects:function(){return j},getProjectBySlug:function(){return w},getProjects:function(){return y},getProjectsByList:function(){return v},getProjectsPaginated:function(){return P},getProjectsPaginatedMD:function(){return _},getProjectsSlugs:function(){return k},getProjectsTitles:function(){return E},getTags:function(){return z},getTotalProjects:function(){return N},searchProjects:function(){return I}});var a={};l.r(a),l.d(a,{getBlogPostBySlug:function(){return S},getBlogTags:function(){return Q},getBlogs:function(){return O},getBlogsPaginated:function(){return H},getBlogsPaginatedMD:function(){return C},getBlogsSlugs:function(){return D},getTotalBlogs:function(){return T},searchBlogs:function(){return L}});var i=l(5893),s=l(1157),o=l(159);let r=(()=>{if(window.document)return;let e=(0,o.e)({space:"vwnm0pz6b4l5",accessToken:"51vh320Z7nd1KrTTF-5BIOxWrfpg6iO6lxxcyMKxZO8"});return e})();var c=l(5493),d=l(2135),u=l(6437);let m=e=>{let t=c.Z.parse(e.split("T")[0],"YYYY-MM-DD");return t.toDateString()},f=e=>{if(!e)return"";let t={renderNode:{[u.BLOCKS.HEADING_1]:(e,t)=>'<h2 class="text-titles-20 lg:text-titles-30 xl:text-titles-48 font-medium">'.concat(t(e.content),"</h2>"),[u.BLOCKS.HEADING_2]:(e,t)=>'<h2 class="text-titles-20 lg:text-titles-30 xl:text-titles-48 font-medium">'.concat(t(e.content),"</h2>"),[u.INLINES.HYPERLINK]:(e,t)=>'<a target="_blank" href='.concat(e.data.uri,">\n           ").concat(t(e.content),"\n          </a>")}};return(0,d.S)(e,t)},p=e=>{let{value:t,marks:l}=e;var n="<span class='";return 0==l.length?n+="":l.map(e=>"bold"===e.type)&&(n+="font-InputMono "),0!==l.length&&l.map(e=>"italic"===e.type)?n+="italic":n+="font-Work ",(n="'>"+t)+"</span>"},g=e=>{if(!e||!e.content)return null;var t="<h2>";e.content.forEach(e=>{e.content.forEach(e=>{0===e.marks.length&&e.value.includes("\n")?t+="<br/>"+p({value:e.value,marks:e.marks}):t+=p({value:e.value,marks:e.marks})})});let l=(0,d.S)(e);return l.replace("<p>","<p className='font-bold'>"),t+"</h2>"},x=e=>e?{url:"https:".concat(e.fields.file.url),alt:e.fields.title,height:e.fields.file.details.image.height,contentType:e.fields.file.contentType}:null,h=e=>{if(!e)return null;var t=[];return e.forEach(e=>{t.push({url:"https:".concat(e.fields.file.url),alt:e.fields.title,height:e.fields.file.details.image.height,width:e.fields.file.details.image.width,contentType:e.fields.file.contentType})}),t},b=e=>{let t={...e.fields};return t.id=e.sys.id,t.locale=e.sys.locale,t.date=m(e.fields.date),t.title=e.fields.title,t.name=e.fields.name,t.model=e.fields.model,t.slug=e.fields.slug,t.mainText=f(t.mainText),t.mainImage=x(t.mainImage),t.block1image1&&t.block1image2&&(t.block1Image1=x(e.fields.block1image1),t.block1Image2=x(e.fields.block1image2)),t.block2title&&t.block2text&&t.block2image&&(t.block2Title=g(e.fields.block2title),t.block2Text=f(e.fields.block2text),t.block2Image=x(e.fields.block2image)),t.block3title&&t.block3text&&t.block3image&&(t.block3Title=g(e.fields.block3title),t.block3Text=f(e.fields.block3text),t.block3Image=x(e.fields.block3image)),t.block4images&&(t.block4Images=h(e.fields.block4images)),t.carousel&&(t.carousel=h(e.fields.carousel)),t},A=e=>{let t={...e.fields};return t.id=e.sys.id,t.locale=e.sys.locale,t.title=e.fields.title,t.text=f(e.fields.text),t.slug=e.fields.slug,t.image=x(e.fields.image),t.date=m(e.fields.date),t},w=async e=>{let{slug:t}=e,l=await r.getEntries({content_type:"project",order:"fields.title","fields.slug":t}),n=l.items,a=n.map(e=>b(e));return{project:a[0]}},j=async e=>{let{locale:t}=e,l=await r.getEntries({content_type:"project",order:"fields.date",limit:5,locale:t});var n=l.items;let a=n.map(e=>b(e));return a},y=async()=>{let e=await r.getEntries({content_type:"project",order:"fields.date",limit:250,locale:"en-US"}),t=await r.getEntries({content_type:"project",order:"fields.date",limit:250,locale:"nl"});var l=e.items;let n=l.map(e=>b(e));l=t.items;let a=l.map(e=>b(e));return{projectsEn:n,projectsNl:a}},k=async()=>{let e=await r.getEntries({content_type:"project",order:"-fields.date",limit:250,locale:"en-US",select:["fields.slug"]}),t=await r.getEntries({content_type:"project",order:"-fields.date",limit:250,locale:"nl",select:["fields.slug"]});var l=e.items;let n=l.map(e=>e.fields.slug);l=t.items;let a=l.map(e=>e.fields.slug);return{projectsEn:n,projectsNl:a}},E=async()=>{let e=await r.getEntries({content_type:"project",order:"-fields.date"}),t=e.items,l=t.map(e=>b(e));return l},v=async e=>{let{list:t}=e;t.forEach((e,l)=>{t[l]=e.charAt(0).toUpperCase()+e.slice(1)});let l=await r.getEntries({content_type:"project",order:"-fields.date","fields.title[in]":t.toString()}),n=l.items,a=n.map(e=>b(e));return a},N=async()=>{let e=await r.getEntries({content_type:"project",order:"-fields.date"});return e.total},P=async e=>{let{page:t}=e,l=1===t?0:t-1,n=await r.getEntries({content_type:"project",order:"-fields.date",limit:10,skip:l>0?10*l:0}),a=n.items,i=a.map(e=>b(e));return i},_=async e=>{let{page:t}=e,l=1===t?0:t-1,n=await r.getEntries({content_type:"project",order:"-fields.date",limit:6,skip:l>0?6*l:0}),a=n.items,i=a.map(e=>b(e));return i},z=async()=>{let e=await r.getContentType("project").then(e=>e).catch(console.error);return e.fields.filter(e=>"tags"===e.name)},B=async e=>{let t=await r.getEntries({content_type:"project","fields.tags[match]":e.filter}),l=t.items,n=l.map(e=>b(e));return n},I=async e=>{let t=await B(e);return t},T=async()=>{let e=await r.getEntries({content_type:"blogpost",order:"-fields.date"});return e.total},O=async()=>{let e=await r.getEntries({content_type:"blogpost",order:"-fields.date",limit:250,locale:"nl"});var t=e.items;let l=t.map(e=>A(e));return{blogsNl:l}},D=async()=>{let e=await r.getEntries({content_type:"blogpost",order:"-fields.date",limit:250,locale:"en-US",select:["fields.slug"]});var t=e.items;let l=t.map(e=>e.fields.slug);return{blogs:l}},S=async e=>{let{slug:t}=e,l=await r.getEntries({content_type:"blogpost",order:"-fields.date","fields.slug":t,locale:"en-US"}),n=l.items,a=n.map(e=>A(e));return{blogPost:a[0]}},H=async e=>{let{page:t}=e,l=1===t?0:t-1,n=await r.getEntries({content_type:"blogpost",order:"-fields.date",limit:9,skip:l>0?9*l:0}),a=n.items,i=a.map(e=>A(e));return i},C=async e=>{let{page:t}=e,l=1===t?0:t-1,n=await r.getEntries({content_type:"blogpost",order:"-fields.date",limit:6,skip:l>0?6*l:0}),a=n.items,i=a.map(e=>A(e));return i},Q=async()=>{let e=await r.getContentType("blogpost").then(e=>e).catch(console.error);return e.fields.filter(e=>"tags"===e.name)},M=async e=>{let t=await r.getEntries({content_type:"blogpost","fields.tags[match]":e.filter}),l=t.items,n=l.map(e=>A(e));return n},L=async e=>{let t=await M(e);return t};var G=l(5152),U=l.n(G),K=l(3185);let V=U()(()=>l.e(9008).then(l.t.bind(l,9008,23)),{loadableGenerated:{webpack:()=>[9008]}}),W=U()(()=>l.e(5675).then(l.t.bind(l,5675,23)),{loadableGenerated:{webpack:()=>[5675]}}),F=U()(()=>l.e(5239).then(l.bind(l,5239)),{loadableGenerated:{webpack:()=>[5239]}}),Y=U()(()=>l.e(7211).then(l.bind(l,7211)),{loadableGenerated:{webpack:()=>[7211]}}),Z=U()(()=>l.e(1801).then(l.bind(l,1801)),{loadableGenerated:{webpack:()=>[1801]}}),R=U()(()=>l.e(5025).then(l.bind(l,5025)),{loadableGenerated:{webpack:()=>[5025]}}),X=U()(()=>l.e(2397).then(l.bind(l,2397)),{loadableGenerated:{webpack:()=>[2397]}}),J=U()(()=>l.e(2596).then(l.bind(l,2596)),{loadableGenerated:{webpack:()=>[2596]}});function q(e){let{navRef:t,homePic1:l,inViewHomePic1:n,homePic2:a,inViewHomePic2:o,homePic3:r,inViewHomePic3:c,homePic4:d,inViewHomePic4:u,homePic5:m,inViewHomePic5:f,homePic6:p,inViewHomePic6:g,locale:x}=e;return(0,i.jsxs)(s.m.div,{className:"w-full h-full example",exit:{opacity:0,transition:{duration:.5,delay:0}},initial:{opacity:0},animate:{opacity:1,transition:{duration:.5,delay:.5}},children:[(0,i.jsxs)(V,{children:[(0,i.jsx)("meta",{httpEquiv:"X-UA-Compatible",content:"IE=Edge"}),(0,i.jsx)("meta",{charSet:"utf-8"}),(0,i.jsx)("title",{children:"Husette"}),(0,i.jsx)("meta",{httpEquiv:"Content-Type",content:"text/html",charSet:"utf-8"}),(0,i.jsx)("meta",{name:"viewport",content:"initial-scale=1.0, width=device-width"}),(0,i.jsx)("meta",{property:"og:title",content:"Husette"}),(0,i.jsx)("meta",{property:"og:type",content:"website"}),(0,i.jsx)("meta",{property:"og:url",content:"https://www.husette.com"}),(0,i.jsx)("meta",{name:"keywords",content:"duurzaam, tiny, housed, housing, guis, clt, hout, modern"}),(0,i.jsx)("meta",{property:"og:site_name",content:"Husette"}),(0,i.jsx)("meta",{name:"application-name",content:"Husette"}),(0,i.jsx)("meta",{property:"application-name",content:"Husette"}),(0,i.jsx)("meta",{name:"description",content:"Husette ontwerpt en bouwt duurzame tiny houses, klaar voor de toekomst."}),(0,i.jsx)("meta",{name:"og:description",content:"Husette ontwerpt en bouwt duurzame tiny houses, klaar voor de toekomst."})]}),(0,i.jsxs)("main",{className:"w-full h-full bg-white example cursor-default pb-0 grid grid-cols-12",children:[(0,i.jsx)("div",{className:"block xl:hidden col-span-12 h-screen-2",children:(0,i.jsx)(J,{})}),(0,i.jsx)("div",{className:"hidden xl:block col-span-12 lg:col-span-6 w-full h-full flex-row justify-end",children:(0,i.jsxs)("div",{className:"relative h-full max-w-[1000px] max-h-[1000px] w-full aspect-square",children:[(0,i.jsx)("p",{className:"absolute z-10 rotate-block-bottom text-grey text-body-16 font-InputMono w-full",children:"Project 09. Nazareth"}),(0,i.jsx)(W,{src:K.Z,fill:!0,placeholder:"blur",className:"object-cover object-left right-0"})]})}),(0,i.jsxs)("div",{className:" justify-center items-start col-span-12 lg:col-start-8 lg:col-end-11 2xl:col-end-12 3xl:col-end-10 flex-col py-0 pt-10 lg:pt-48 lg:pb-32 xl:pt-24 xl:pb-0 2xl:pb-4 82xl:pt-60 border-0 border-red-400 lg:border-green-400 xl:border-yellow-500 2xl:border-blue-400 px-4 lg:px-0 hidden xl:flex",children:[(0,i.jsxs)("div",{ref:t,className:"border-0 align-middle ",children:[(0,i.jsxs)("h1",{className:" ".concat("nl"===x?"hidden":"block"," text-titles-30 xl:text-titles-50 2xl:text-titles-60 font-light font-Work"),children:["Doordachte ",(0,i.jsx)("br",{})," woningen, ",(0,i.jsx)("br",{}),(0,i.jsxs)("span",{className:"font-normal font-InputMono",children:["duurzaam ",(0,i.jsx)("br",{})," in hout"]})]}),(0,i.jsxs)("h1",{className:" ".concat("nl"!==x?"hidden":"block"," text-titles-30 xl:text-titles-50 2xl:text-titles-60 font-light font-Work"),children:["Doordachte ",(0,i.jsx)("br",{className:"hidden md:block"})," woningen, ",(0,i.jsx)("br",{}),(0,i.jsxs)("span",{className:"font-normal italic font-InputMono",children:["duurzaam ",(0,i.jsx)("br",{className:"hidden md:block"})," in hout"]})]})]}),(0,i.jsxs)("p",{className:" mt-6 mb-7 font-Work font-light text-body-16",children:["Dankzij ons zorgeloos en effici\xebnt bouwproces, ",(0,i.jsx)("br",{})," garanderen we dat jij comfortabel kan wonen."]}),(0,i.jsx)("div",{className:"flex flex-row flex-shrink items-center col-span-6 mt-4 lg:mt-4",children:(0,i.jsx)(X,{text:"Contacteer ons",href:"/contact",colorBg:"white",colorText:"black"})})]}),(0,i.jsx)("div",{className:"col-span-12 flex flex-row justify-center",children:(0,i.jsx)("div",{className:"max-w-husette w-full",children:(0,i.jsx)(F,{homePic1:l,inViewHomePic1:n,homePic2:a,inViewHomePic2:o,locale:x})})}),(0,i.jsx)("div",{className:"col-span-12 flex flex-row justify-center bg-black overflow-hidden",children:(0,i.jsx)(Y,{locale:x})}),(0,i.jsx)("div",{className:"h-full w-full col-span-12 flex flex-row justify-center bg-black pb-16 lg:pb-[134px] px-4 lg:px-0 pt-14 lg:pt-0",children:(0,i.jsxs)("div",{className:"max-w-husette w-full h-full grid grid-cols-12",children:[(0,i.jsx)("p",{className:"text-white text-titles-20 lg:text-titles-40 font-InputMono font-medium italic col-span-12 lg:col-start-2 lg:col-end-11",children:"“In elke fase kregen we realistische 3D beelden te zien. Op die manier wisten we altijd wat we konden verwachten en kwamen we nooit voor verrassingen te staan!”"}),(0,i.jsx)("p",{className:"col-span-12 lg:col-start-2 lg:col-end-11 text-pink mt-[10px] text-body-16 lg:text-body-18 font-Work",children:"Tommy & Val\xe9rie (Project 09. Nazareth)"})]})}),(0,i.jsx)("div",{className:"col-span-12 flex flex-row justify-center",children:(0,i.jsx)("div",{className:"max-w-husette w-full",children:(0,i.jsx)(Z,{homePic3:r,inViewHomePic3:c,homePic4:d,inViewHomePic4:u,homePic5:m,inViewHomePic5:f,homePic6:p,inViewHomePic6:g,locale:x})})}),(0,i.jsx)("div",{className:"col-span-12 flex flex-row justify-center bg-lightgrey",children:(0,i.jsx)("div",{className:"max-w-husette w-full",children:(0,i.jsx)(R,{locale:x})})})]})]})}},4654:function(){}},function(e){e.O(0,[3164,9774,2888,179],function(){return e(e.s=5557)}),_N_E=e.O()}]);