"use strict";(self.webpackChunkhomeworks_new_nl=self.webpackChunkhomeworks_new_nl||[]).push([[590],{9547:function(e,a,t){t.d(a,{A:function(){return p}});var n,l,r=t(6540),c=t(1635),m=t(8798),i=t(4184);function s(){var e=r.useContext(m.ob);return(0,i.HM)(e),e}!function(e){e.formatDate="FormattedDate",e.formatTime="FormattedTime",e.formatNumber="FormattedNumber",e.formatList="FormattedList",e.formatDisplayName="FormattedDisplayName"}(n||(n={})),function(e){e.formatDate="FormattedDateParts",e.formatTime="FormattedTimeParts",e.formatNumber="FormattedNumberParts",e.formatList="FormattedListParts"}(l||(l={}));var o=function(e){var a=s(),t=e.value,n=e.children,l=(0,c.Tt)(e,["value","children"]);return n(a.formatNumberToParts(t,l))};o.displayName="FormattedNumberParts";function d(e){var a=function(a){var t=s(),n=a.value,l=a.children,r=(0,c.Tt)(a,["value","children"]),m="string"==typeof n?new Date(n||0):n;return l("formatDate"===e?t.formatDateToParts(m,r):t.formatTimeToParts(m,r))};return a.displayName=l[e],a}function u(e){var a=function(a){var t=s(),n=a.value,l=a.children,m=(0,c.Tt)(a,["value","children"]),i=t[e](n,m);if("function"==typeof l)return l(i);var o=t.textComponent||r.Fragment;return r.createElement(o,null,i)};return a.displayName=n[e],a}o.displayName="FormattedNumberParts";var _=u("formatDate");u("formatTime"),u("formatNumber"),u("formatList"),u("formatDisplayName"),d("formatDate"),d("formatTime");var p=e=>{let{dateString:a}=e;const{0:t,1:n}=(0,r.useState)(null);return(0,r.useEffect)((()=>{n(new Date(a))}),[a]),r.createElement(_,{value:t,year:"numeric",month:"long",day:"2-digit",timeZone:"CET"})}},5115:function(e,a,t){var n=t(6540),l=t(4794),r=t(8027);a.A=()=>n.createElement(l.StaticQuery,{query:"1881744280",render:e=>n.createElement("aside",{className:"c-call-to-action"},n.createElement("div",{className:"c-call-to-action__inner l-container"},n.createElement("div",{className:"c-call-to-action__content"},n.createElement("div",{className:"c-advantages"},e.cta.yaml.advantages.map(((e,a)=>n.createElement("div",{className:"c-advantage",key:a},n.createElement(r.CMH,{className:"c-advantage__icon"}),n.createElement("div",{className:"c-advantage__text"},e))))),n.createElement("div",{className:"c-call-to-action__buttons"},n.createElement("a",{href:"https://mijn.homeworks.nl/intake/client/step1?locale=nl_NL",rel:"noopener noreferrer nofollow",className:"c-call-to-action__btn c-btn"},e.cta.yaml.button.client),n.createElement("a",{href:"https://mijn.homeworks.nl/intake/worker/step1?locale=nl_NL",rel:"noopener noreferrer nofollow",className:"c-call-to-action__btn c-btn"},e.cta.yaml.button.worker)))))})},8569:function(e,a,t){var n=t(6540),l=t(4794);a.A=()=>{const e=(0,l.useStaticQuery)("152489599");return n.createElement("section",{className:"c-page l-container"},n.createElement("div",{className:"c-page__main"},n.createElement("div",{className:"c-page__content c-quick-nav--content"},n.createElement("h3",{className:"l-headline--tertiary "},"Populaire huishoudelijke hulp steden"),n.createElement("div",{className:"c-quick-nav"},e.allMarkdownRemark.edges.map(((e,a)=>{var t;return n.createElement("div",{className:"c-quick-nav__item",key:a},n.createElement(l.Link,{to:e.node.frontmatter.path,className:"c-vertical-nav__item c-quick-nav__link"},e.node.frontmatter.city_name||(null===(t=e.node.frontmatter.path)||void 0===t?void 0:t.split("/")[2])))}))))))}},5126:function(e,a,t){t.d(a,{A:function(){return s}});var n=t(7387),l=t(6540),r=t(8027),c=t(6942),m=t.n(c),i=t(2962);let s=function(e){function a(){for(var a,t=arguments.length,n=new Array(t),l=0;l<t;l++)n[l]=arguments[l];return(a=e.call.apply(e,[this].concat(n))||this).state={isExpanded:!1},a}(0,n.A)(a,e);var t=a.prototype;return t.render=function(){return l.createElement("div",{className:m()("c-question",{"c-question--expanded":this.state.isExpanded}),itemScope:!0,itemType:"http://schema.org/Question"},l.createElement("button",{type:"button",className:"c-question__header",onClick:()=>this.toggle()},l.createElement("div",{className:"c-question__text",itemProp:"text"},this.props.question),l.createElement("div",{className:"c-question__toggle"},l.createElement(r.OiG,{className:"c-question__expand"}),l.createElement(r.iu5,{className:"c-question__collapse"}))),l.createElement("div",{className:"c-question__content",itemProp:"acceptedAnswer",itemScope:!0,itemType:"http://schema.org/Answer"},l.createElement("span",{itemProp:"text",dangerouslySetInnerHTML:{__html:(0,i.A)(this.props.answer)}})))},t.toggle=function(){this.setState({isExpanded:!this.state.isExpanded})},a}(l.Component)},2845:function(e,a,t){var n=t(6540),l=t(4794),r=t(2532),c=t(9547);a.A=()=>{const e=(0,l.useStaticQuery)("4292969561");return n.createElement("section",{className:"c-recent-posts l-container"},n.createElement("div",{className:"c-recent-posts__header"},n.createElement("div",{className:"c-recent-posts__headline l-headline--secondary"},"Actueel"),n.createElement(l.Link,{to:"/blog/",className:"c-btn-text"},"Blog")),n.createElement("div",{className:"c-articles"},e.allMarkdownRemark.edges.map(((e,a)=>{var t,m,i,s,o;return n.createElement(l.Link,{to:e.node.frontmatter.path,className:"c-article",key:a},null!==(t=e.node.frontmatter.thumbnail)&&void 0!==t&&null!==(m=t.childImageSharp)&&void 0!==m&&m.gatsbyImageData?n.createElement(r.G,{image:null===(i=e.node.frontmatter)||void 0===i||null===(s=i.thumbnail)||void 0===s||null===(o=s.childImageSharp)||void 0===o?void 0:o.gatsbyImageData,alt:e.node.frontmatter.title,className:"c-article__img"}):n.createElement("div",{className:"c-article__img"}),n.createElement("div",{className:"c-article__content"},n.createElement("div",{className:"c-article__title"},e.node.frontmatter.title),n.createElement("div",{className:"c-article__date"},n.createElement(c.A,{dateString:parseInt(e.node.frontmatter.date,10)}))))}))))}},6216:function(e,a,t){t.r(a),t.d(a,{default:function(){return w}});var n=t(6540),l=t(4794),r=t(2532),c=t(6942),m=t.n(c),i=t(6462),s=t(8154),o=t(302),d=t(4496),u=t(4314),_=t(7387),p=t(8027);function h(e){return Math.floor(e/1)}function v(e){return e%1>=.5?1:0}function E(e){return Math.floor(5-h(e)-v(e))}let y=function(e){function a(){for(var a,t=arguments.length,n=new Array(t),l=0;l<t;l++)n[l]=arguments[l];return(a=e.call.apply(e,[this].concat(n))||this).state={fullStarts:0,halfStars:0,emptyStars:0},a}return(0,_.A)(a,e),a.getDerivedStateFromProps=function(e,a){const t=Math.round(e.score);return{fullStarts:h(t/2),halfStars:v(t/2),emptyStars:E(t/2)}},a.prototype.render=function(){return n.createElement("div",{className:"c-stars"},Array(this.state.fullStarts).fill().map(((e,a)=>n.createElement(p.gt3,{className:"c-star",key:a}))),Array(this.state.halfStars).fill().map(((e,a)=>n.createElement(p.gVl,{className:"c-star",key:a}))),Array(this.state.emptyStars).fill().map(((e,a)=>n.createElement(p.wei,{className:"c-star",key:a}))))},a}(n.Component);var f=t(2845),N=t(5115),g=t(5126),b=t(8569),k=t(2962),x=()=>{const e=(0,l.useStaticQuery)("3761821460");return n.createElement("section",{className:"c-page l-container"},n.createElement("div",{className:"c-page__main"},n.createElement("div",{className:"c-page__content c-quick-nav--content"},n.createElement("h3",{className:"l-headline--tertiary"},"Populaire huishoudelijke hulp steden"),n.createElement("div",{className:"c-quick-nav"},e.allMarkdownRemark.edges.map(((e,a)=>{var t;return n.createElement("div",{className:"c-quick-nav__item",key:a},n.createElement(l.Link,{to:e.node.frontmatter.path,className:"c-vertical-nav__item c-quick-nav__link"},e.node.frontmatter.city_name||(null===(t=e.node.frontmatter.path)||void 0===t?void 0:t.split("/")[2])))}))))))};var w=e=>{var a,t,c,_,p,h,v,E,w,S,q,A,P,T,I,L,D,F;let{data:M,location:R}=e;const{0:C,1:j}=(0,n.useState)(!1),H=(0,i.useLocation)();(0,n.useEffect)((()=>{const e=H.pathname.split("/")[1];j("schoonmaakwerk"===e)}),[H]);const G=R.pathname.indexOf("schoonmaakwerk")>=0,Q=M.index.yaml.lead.picture.childImageSharp.gatsbyImageData.images.sources,$=M.index.yaml.lead.picture.childImageSharp.gatsbyImageData.images.fallback.srcSet,U=Q&&Q[0]&&Q[0].srcSet?Q[0].srcSet:$;return n.createElement(n.Fragment,null,n.createElement(s.m,null,n.createElement("link",{rel:"preload",as:"image",href:M.index.yaml.lead.picture.childImageSharp.gatsbyImageData.images.fallback.src,imagesrcset:U,fetchPriority:"high"})),n.createElement(o.A,null,n.createElement(d.A,{title:M.index.yaml.seo.title,description:M.index.yaml.seo.description,keywords:M.index.yaml.seo.keywords,lang:M.index.yaml.seo.lang,canonical:R.pathname}),n.createElement("section",{className:m()("c-lead","l-container")},n.createElement("div",{className:"c-lead__headline"},n.createElement("h1",{className:"l-headline--primary"},M.index.yaml.lead.headline)),n.createElement("div",{className:"c-lead__wrapper"},n.createElement("div",{className:"c-lead__actions"},n.createElement("a",{href:"https://mijn.homeworks.nl/intake/client/step1?locale=nl_NL",rel:"noopener noreferrer nofollow",target:"_blank",className:`c-btn c-lead__btn ${G&&"c-lead__btn--primary"}`},M.index.yaml.lead.lookingForWorker),n.createElement("a",{href:"https://mijn.homeworks.nl/intake/worker/step1?locale=nl_NL",rel:"noopener noreferrer nofollow",target:"_blank",className:`c-btn c-lead__btn ${!G&&"c-lead__btn--primary"}`},M.index.yaml.lead.lookingForClient)),n.createElement("div",{className:"c-lead__background"},n.createElement("div",{className:"c-lead__gradient-overlay"}),M.index.yaml.lead.picture&&n.createElement(r.G,{image:null===(a=M.index)||void 0===a||null===(t=a.yaml)||void 0===t||null===(c=t.lead)||void 0===c||null===(_=c.picture)||void 0===_||null===(p=_.childImageSharp)||void 0===p?void 0:p.gatsbyImageData,alt:M.index.yaml.lead.alt,objectFit:"contain",className:"c-lead__img",loading:"eager"})))),n.createElement("aside",{className:"c-history l-container"},n.createElement("div",{className:"c-history__text",dangerouslySetInnerHTML:{__html:(0,k.A)(M.index.yaml.history.content)}}),n.createElement("div",{className:"c-history__btn"},n.createElement(l.Link,{to:M.index.yaml.history.url,className:"c-btn-text"},M.index.yaml.history.button))),n.createElement("section",{className:"c-feedback",itemType:"http://schema.org/Product"},n.createElement("div",{className:"c-feedback__inner l-container"},n.createElement("h2",{className:"c-feedback__headline l-headline--secondary",itemProp:"name"},M.index.yaml.feedback.headline),n.createElement("div",{className:"c-feedback__summary c-feedback-company"},n.createElement("img",{src:u.A.feedback_company,width:"144",height:"40",alt:M.index.yaml.feedback.alt,className:"c-feedback-company__logo"}),n.createElement(y,{className:"c-feedback-company__stars",score:M.index.yaml.feedback.score}),n.createElement("div",{className:"c-feedback-company__score",itemProp:"aggregateRating",itemType:"https://schema.org/AggregateRating"},n.createElement("meta",{itemProp:"worstRating",content:"1"}),n.createElement("meta",{itemProp:"reviewCount",content:"325"}),n.createElement("span",{itemProp:"ratingValue"},M.index.yaml.feedback.score),"/",n.createElement("span",{itemProp:"bestRating"},"10"))),n.createElement("div",{className:"c-feedback__reviews c-reviews"},M.index.yaml.feedback.reviews.map(((e,a)=>n.createElement("div",{className:"c-review",key:a,itemProp:"review",itemType:"https://schema.org/Review"},n.createElement("div",{className:"c-review__person",itemProp:"author"},e.author),n.createElement("div",{className:"c-review__rate c-rate"},n.createElement(y,{className:"c-rate__stars",score:e.score}),n.createElement("div",{className:"c-rate__score",itemProp:"reviewRating",itemType:"https://schema.org/Rating"},n.createElement("meta",{itemProp:"worstRating",content:"1"}),n.createElement("span",{itemProp:"ratingValue"},e.score),"/",n.createElement("span",{itemProp:"bestRating"},"10"))),n.createElement("div",{className:"c-review__content",itemProp:"reviewBody"},e.content))))),n.createElement("div",{className:"c-feedback__read-more"},M.index.yaml.feedback.footnote," ",n.createElement("a",{href:M.index.yaml.feedback.feedbackCompanyUrl,rel:"noopener noreferrer nofollow",target:"_blank",className:"c-feedback__link"},M.index.yaml.feedback.readMore)))),n.createElement("section",{className:"c-usp l-container"},n.createElement("div",{className:"c-usp__headline"},n.createElement("h2",{className:"l-headline--secondary"},M.index.yaml.usp.headline)),n.createElement("div",{className:"c-usp__list"},n.createElement("div",{className:"c-features c-features--inlined"},M.index.yaml.usp.propositions.map(((e,a)=>n.createElement("div",{className:"c-feature",key:a},n.createElement("div",{className:"c-feature__icon"},e.icon&&e.icon.publicURL?n.createElement("img",{src:e.icon.publicURL,alt:e.alt?e.alt:e.name}):null),n.createElement("div",{className:"c-feature__content"},n.createElement("h3",{className:"c-feature__title l-headline--tertiary"},e.name),n.createElement("div",{className:"c-feature__description"},e.description)))))))),n.createElement("aside",{className:"c-banner l-container"},n.createElement("div",{className:"c-banner__background"},n.createElement(r.G,{image:null===(h=M.index)||void 0===h||null===(v=h.yaml)||void 0===v||null===(E=v.banner)||void 0===E||null===(w=E.picture)||void 0===w||null===(S=w.childImageSharp)||void 0===S?void 0:S.gatsbyImageData,alt:M.index.yaml.banner.alt,className:"c-banner__img"})),n.createElement("div",{className:"c-banner__highlight c-banner__highlight--left"},n.createElement("div",{className:"c-banner__content"},n.createElement("h2",{className:"c-banner__title l-headline--secondary"},M.index.yaml.banner.headline),n.createElement("div",{className:"c-banner__text",dangerouslySetInnerHTML:{__html:(0,k.A)(M.index.yaml.banner.description)}}),"/"===M.index.yaml.banner.url.charAt(0)?n.createElement(l.Link,{to:M.index.yaml.banner.url,className:"c-banner__btn c-btn-secondary"},M.index.yaml.banner.button):n.createElement("a",{href:M.index.yaml.banner.url,className:"c-banner__btn c-btn-secondary"},null===(q=M.index)||void 0===q||null===(A=q.yaml)||void 0===A||null===(P=A.banner)||void 0===P?void 0:P.button)))),n.createElement("section",{className:"c-intro l-container"},n.createElement("div",{className:"c-intro__img"},n.createElement(r.G,{image:null===(T=M.index)||void 0===T||null===(I=T.yaml)||void 0===I||null===(L=I.introduction)||void 0===L||null===(D=L.picture)||void 0===D||null===(F=D.childImageSharp)||void 0===F?void 0:F.gatsbyImageData,alt:M.index.yaml.introduction.alt})),n.createElement("div",{className:"c-intro__right"},n.createElement("h2",{className:"c-intro__headline l-headline--secondary"},M.index.yaml.introduction.headline),n.createElement("div",{className:"c-intro__content",dangerouslySetInnerHTML:{__html:(0,k.A)(M.index.yaml.introduction.description)}}),n.createElement("div",{className:"c-intro__btn"},n.createElement(l.Link,{to:"/over-ons/",className:"c-btn-text"},M.index.yaml.introduction.button)))),n.createElement("section",{className:"c-team c-team--homepage"},n.createElement("div",{className:"c-team__inner l-container"},n.createElement("h2",{className:"c-team__headline l-headline--secondary"},M.index.yaml.ourTeam.headline),n.createElement("div",{className:"c-members c-members--homepage"},M.index.yaml.ourTeam.members.map(((e,a)=>n.createElement("div",{className:"c-member",key:a},e.picture&&e.picture.childImageSharp?n.createElement(r.G,{image:e.picture.childImageSharp.gatsbyImageData,alt:e.alt,className:"c-member__img"}):null,n.createElement("div",{className:"c-member__content"},n.createElement("h3",{className:"c-member__name l-headline--tertiary"},e.name),n.createElement("div",{className:"c-member__role"},e.role),n.createElement("div",{className:"c-member__description"},e.description)))))))),n.createElement("div",{className:"c-textblock l-container"},n.createElement("div",{className:"c-textblock__title"},n.createElement("h2",{className:"l-headline--secondary"},M.index.yaml.textblock.headline)),n.createElement("div",{className:"c-textblock__content",dangerouslySetInnerHTML:{__html:(0,k.A)(M.index.yaml.textblock.content)}})),n.createElement("section",{className:"c-faq"},n.createElement("div",{className:"c-faq__inner l-container"},n.createElement("h2",{className:"c-faq__headline l-headline--secondary"},M.index.yaml.faq.headline),n.createElement("div",{className:"c-questions"},M.index.yaml.faq.questions?M.index.yaml.faq.questions.map(((e,a)=>n.createElement(g.A,{question:e.question,answer:e.answer,key:a}))):""),n.createElement("div",{className:"c-faq__btn"},n.createElement(l.Link,{to:M.index.yaml.faq.url,className:"c-btn-secondary"},M.index.yaml.faq.button)))),n.createElement(N.A,null),C?n.createElement(x,null):n.createElement(b.A,null),n.createElement(f.A,null)))}},2962:function(e,a,t){function n(e){return e.replace(/\[(.+?)\]\((.+?)\)/g,((e,a,t)=>`<a href="${t}">${a}</a>`))}t.d(a,{A:function(){return n}})}}]); //# sourceMappingURL=component---src-templates-homepage-jsx-a61faf0a6dc889fbf126.js.map