%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/client/2f5f33f.js |
(window.webpackJsonp=window.webpackJsonp||[]).push([[59,26],{389:function(t,e,o){var content=o(399);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(34).default)("b6e7d51c",content,!0,{sourceMap:!1})},395:function(t,e,o){t.exports=o.p+"img/blog-waves.66a9397.svg"},398:function(t,e,o){"use strict";o(389)},399:function(t,e,o){var r=o(33),l=o(102),n=o(395),c=r((function(i){return i[1]})),d=l(n);c.push([t.i,".waves[data-v-010fa22a]{background-image:url("+d+");background-size:100% auto}",""]),t.exports=c},402:function(t,e,o){"use strict";o.r(e);var r=o(0),l=(o(3),{props:{post:{type:Object,required:!0}},computed:{isLoggedIn:function(){return this.$auth.loggedIn}},methods:{likePost:function(){var t=this;return Object(r.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(0!=t.isLoggedIn){e.next=3;break}return t.$toast.error("You must be logged in to like this post").goAway(1e3),e.abrupt("return",!1);case 3:return e.next=5,t.$axios.post("/posts/like/"+t.post.id).then((function(t){console.log(t)})).catch((function(e){t.$toast.error(e).goAway(1e3)}));case 5:case"end":return e.stop()}}),e)})))()}}}),n=(o(398),o(10)),component=Object(n.a)(l,(function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"bg-gray"},[o("div",{staticClass:"relative h-48 bg-cover bg-center bg-no-repeat",style:"background-image: url("+t.post.thumbnail_url+")"},[o("div",{staticClass:"waves absolute z-10 top-0 left-0 w-full h-full bg-bottom bg-no-repeat"}),t._v(" "),o("NuxtLink",{staticClass:"block z-20 absolute top-0 left-0 w-full h-full",attrs:{to:"/blog/"+t.post.slug}})],1),t._v(" "),o("div",{staticClass:"p-6 flex flex-col justify-between"},[o("div",{staticClass:"h-40 overflow-hidden mb-3"},[o("div",{staticClass:"grid grid-cols-4 mb-3"},[o("div",{staticClass:"col-span-3"},[o("span",{staticClass:"text-black text-opacity-75 text-sm"},[t._v(t._s(t.post.created_at))])]),t._v(" "),o("div",{staticClass:"col-span-1 flex items-center justify-end"},[o("button",{staticClass:"flex items-center justify-center focus:outline-none hover:outline-none",attrs:{type:"button"},on:{click:t.likePost}},[t.post.likes?o("svg",{staticClass:"w-5 h-5 text-pink",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[o("path",{attrs:{"fill-rule":"evenodd",d:"M3.172 5.172a4 4 0 015.656 0L10 6.343l1.172-1.171a4 4 0 115.656 5.656L10 17.657l-6.828-6.829a4 4 0 010-5.656z","clip-rule":"evenodd"}})]):o("svg",{staticClass:"w-5 h-5 text-pink",attrs:{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",stroke:"currentColor"}},[o("path",{attrs:{"stroke-linecap":"round","stroke-linejoin":"round","stroke-width":"2",d:"M4.318 6.318a4.5 4.5 0 000 6.364L12 20.364l7.682-7.682a4.5 4.5 0 00-6.364-6.364L12 7.636l-1.318-1.318a4.5 4.5 0 00-6.364 0z"}})]),t._v(" "),t.post.likes?o("span",{staticClass:"ml-1 text-xs text-black text-opacity-50"},[t._v(t._s(t.post.likes))]):t._e()])])]),t._v(" "),o("h2",{staticClass:"text-2xl font-bold"},[o("NuxtLink",{attrs:{to:"/blog/"+t.post.slug}},[t._v(t._s(t.post.title))])],1)]),t._v(" "),t.post.author?o("div",{staticClass:"relative flex items-center"},[o("div",{staticClass:"relative mr-3"},[t.post.therapist?o("NuxtLink",{staticClass:"absolute z-20 top-0 left-0 w-full h-full block",attrs:{to:"/therapists/"+t.post.therapist.slug}}):t._e(),t._v(" "),o("div",{staticClass:"absolute top-0 left-0 w-full h-full border-4 border-opacity-75",class:t.post.therapist?"border-"+t.post.therapist.colour:"border-gray"}),t._v(" "),o("img",{staticClass:"w-16 h-16",attrs:{src:t.post.author.photo_url}})],1),t._v(" "),o("div",{staticClass:"flex flex-col justify-center"},[o("span",{staticClass:"uppercase text-sm"},[t._v("By "+t._s(t.post.author.full_name))]),t._v(" "),t.post.therapist?o("NuxtLink",{staticClass:"flex items-center uppercase text-sm transition",class:"hover:text-"+t.post.therapist.colour,attrs:{to:"/therapists/"+t.post.therapist.slug}},[o("span",[t._v("View Profile")]),t._v(" "),o("svg",{staticClass:"w-4 h-4",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[o("path",{attrs:{"fill-rule":"evenodd",d:"M7.293 14.707a1 1 0 010-1.414L10.586 10 7.293 6.707a1 1 0 011.414-1.414l4 4a1 1 0 010 1.414l-4 4a1 1 0 01-1.414 0z","clip-rule":"evenodd"}})])]):t._e()],1)]):t._e()])])}),[],!1,null,"010fa22a",null);e.default=component.exports},411:function(t,e,o){t.exports=o.p+"img/icon-check.4ddd317.svg"},412:function(t,e,o){t.exports=o.p+"img/icon-chat.941f684.svg"},413:function(t,e,o){t.exports=o.p+"img/icon-handshake.fd5790d.svg"},422:function(t,e,o){var content=o(466);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,o(34).default)("ba9d1dea",content,!0,{sourceMap:!1})},462:function(t,e,o){t.exports=o.p+"img/icon-mobile.b16ca9d.svg"},463:function(t,e,o){t.exports=o.p+"img/icon-calendar.88aa2a3.svg"},464:function(t,e,o){t.exports=o.p+"img/icon-sofa.a487166.svg"},465:function(t,e,o){"use strict";o(422)},466:function(t,e,o){var r=o(33),l=o(102),n=o(216),c=r((function(i){return i[1]})),d=l(n);c.push([t.i,".box-one[data-v-44baf71c],.box-three[data-v-44baf71c],.box-two[data-v-44baf71c]{background-image:url("+d+");background-size:auto 40%}.box-one[data-v-44baf71c]{background-position:0 100%}.box-two[data-v-44baf71c]{background-position:bottom}.box-three[data-v-44baf71c]{background-position:100% 100%}",""]),t.exports=c},505:function(t,e,o){"use strict";o.r(e);var r=[function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("div",{staticClass:"max-w-xl mx-auto w-full"},[o("header",{staticClass:"text-center mb-20"},[o("h1",{staticClass:"text-5xl font-bold mb-8"},[t._v("Follow these 3 steps to start your journey")]),t._v(" "),o("p",[t._v("We know the start of the journey is sometimes the hardest so we have made it as simple as possible…")])])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"grid grid-cols-1 md:grid-cols-3 gap-x-16 gap-y-10 mb-20"},[r("div",{staticClass:"text-sm leading-6"},[r("div",{staticClass:"flex items-end mb-6"},[r("img",{staticClass:"h-10 mr-3",attrs:{src:o(462),alt:"Browse"}}),t._v(" "),r("h2",{staticClass:"text-3xl font-medium"},[t._v("Browse")])]),t._v(" "),r("p",[t._v("Just tell us what’s worrying you, give us a few pieces of key information, such as location and budget, and we will match you with the perfect therapists.")])]),t._v(" "),r("div",{staticClass:"text-sm leading-6"},[r("div",{staticClass:"flex items-end mb-6"},[r("img",{staticClass:"h-10 mr-3",attrs:{src:o(463),alt:"Book"}}),t._v(" "),r("h2",{staticClass:"text-3xl font-medium"},[t._v("Book")])]),t._v(" "),r("p",[t._v("Once you find a therapist you like. Pick a date and time they have available, book, and pay it's that simple.")])]),t._v(" "),r("div",{staticClass:"text-sm leading-6"},[r("div",{staticClass:"flex items-end mb-6"},[r("img",{staticClass:"h-9 mr-3",attrs:{src:o(464),alt:"Take a Seat"}}),t._v(" "),r("h2",{staticClass:"text-3xl font-medium"},[t._v("Take a Seat")])]),t._v(" "),r("p",[t._v("Take a seat with your therapist face to face, via video, or telephone, and start the journey to a new you.")])])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6"},[r("h2",{staticClass:"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left"},[t._v("You’re in Safe Hands")]),t._v(" "),r("div",{staticClass:"order-1 sm:order-2 flex items-center justify-end"},[r("img",{attrs:{src:o(411),alt:"You’re in Safe Hands"}})])]),t._v(" "),r("p",{staticClass:"text-sm leading-6 mb-6"},[t._v("All of our therapists have been take a seat verified, to ensure they have the right qualifications, are fully insured and members of an accredited body. They undertake regular supervision, continued professional development and adhere to the highest ethical standards.")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6"},[r("h2",{staticClass:"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left"},[t._v("Are you a therapist?")]),t._v(" "),r("div",{staticClass:"order-1 sm:order-2 flex items-center justify-end"},[r("img",{attrs:{src:o(412),alt:"Are you a therapist?"}})])]),t._v(" "),r("p",{staticClass:"text-sm leading-6 mb-6"},[t._v("Are you an Integrative therapist/counsellor and want to be part of a community where you can grow your business, your network and you! click the register button to find out how take a seat can help you.")])])},function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",[r("div",{staticClass:"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6"},[r("h2",{staticClass:"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left"},[t._v("Business Partnerships")]),t._v(" "),r("div",{staticClass:"order-1 sm:order-2 flex items-center justify-end"},[r("img",{attrs:{src:o(413),alt:"Business Partnerships"}})])]),t._v(" "),r("p",{staticClass:"text-sm leading-6 mb-6"},[t._v("Do you want a mental health strategy that drives engagement, culture, productivity and growth. Find out how working with us can help. Register interest below to find out more. ")])])}],l=o(0),n=(o(60),o(3),{head:function(){return{titleTemplate:"Home | %s"}},data:function(){return{isSearchOpen:!1,isSearchActive:!1,form:{specialisms:[],postcode:null,distance:30}}},computed:{posts:function(){return this.$store.state.blog.list},filters:function(){return this.$store.state.therapists.filters}},asyncData:function(t){return Object(l.a)(regeneratorRuntime.mark((function e(){var o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return o=t.store,e.next=3,o.dispatch("therapists/filters");case 3:return e.next=5,o.dispatch("blog/get",{total:4});case 5:case"end":return e.stop()}}),e)})))()},methods:{search:function(){this.$router.push({path:"/therapists",query:{specialisms:this.form.specialisms,postcode:this.form.postcode,distance:this.form.distance}})},openSearch:function(){var t=this;this.isSearchActive=!0,setTimeout((function(){t.isSearchOpen=!0}),150)},closeSearch:function(){var t=this;this.isSearchOpen=!1,setTimeout((function(){t.isSearchActive=!1}),150)}}}),c=(o(465),o(10)),component=Object(c.a)(n,(function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"page-wrapper"},[r("PageHeader",{attrs:{classObject:"home bg-blue-light"}},[r("div",{staticClass:"w-full flex flex-col items-center justify-center flex-wrap relative z-20"},[r("img",{staticClass:"mb-8",attrs:{src:o(135),alt:"Takeaseat"}}),t._v(" "),r("h1",{staticClass:"text-4xl md:text-5xl lg:text-7xl"},[r("span",{staticClass:"block mb-3 font-bold"},[t._v("Therapy for a better you")]),t._v(" "),r("span",{staticClass:"block text-white text-xl md:text-2xl lg:text-5xl font-bold"},[t._v("Book now with a take a seat verified therapist")])])]),t._v(" "),r("div",{staticClass:"max-w-md w-full mx-auto mt-6 md:mt-16 relative z-20",on:{mouseleave:t.closeSearch}},[r("div",{staticClass:"grid grid-cols-1 sm:grid-cols-2 gap-2 sm:gap-x-4"},[r("NuxtLink",{staticClass:"btn btn-primary",attrs:{to:"/therapists?session_types=3"}},[t._v("In Person")]),t._v(" "),r("NuxtLink",{staticClass:"btn btn-primary",attrs:{to:"/therapists?session_types=1&session_types=2"}},[t._v("Online/Phone")])],1),t._v(" "),r("span",{staticClass:"mb-2 block text-sm"},[t._v("Or")]),t._v(" "),r("div",{staticClass:"relative"},[r("button",{staticClass:"flex items-center justify-between bg-white py-4 px-6 text-left leading-4 rounded-full w-full mb-3 focus:outline-none",class:t.isSearchOpen?"shadow-md":"",attrs:{type:"button"},on:{click:t.openSearch}},[r("span",{staticClass:"font-medium"},[t._v("Tell us what's worrying you...")]),t._v(" "),r("svg",{staticClass:"transform duration-100 w-6 h-6",class:t.isSearchOpen?"rotate-180":"",attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"currentColor"}},[r("path",{attrs:{"fill-rule":"evenodd",d:"M5.293 7.293a1 1 0 011.414 0L10 10.586l3.293-3.293a1 1 0 111.414 1.414l-4 4a1 1 0 01-1.414 0l-4-4a1 1 0 010-1.414z","clip-rule":"evenodd"}})])]),t._v(" "),t.isSearchActive?r("div",{staticClass:"absolute top-full left-0 w-full bg-white p-6 rounded-xl shadow-lg transition transform origin-top text-left",class:t.isSearchOpen?"scale-100 opacity-100":"scale-90 opacity-0"},[r("div",{staticClass:"overflow-y-auto",staticStyle:{"max-height":"250px"}},[r("t-checkbox-group",{attrs:{name:"specialisms",classes:{groupWrapper:"grid grid-cols-1 sm:grid-cols-2 gap-x-4",label:"block pl-2.5 text-sm",input:"rounded-md w-5 h-5 text-black transition duration-100 ease-in-out border-gray-300 shadow-sm focus:border-black focus:ring-2 focus:ring-black focus:outline-none focus:ring-opacity-50 focus:ring-offset-0 disabled:opacity-50 disabled:cursor-not-allowed",inputWrapper:"inline-flex",wrapper:"flex items-center my-1"},options:t.filters.specialisms,"value-attribute":"id","text-attribute":"name"},model:{value:t.form.specialisms,callback:function(e){t.$set(t.form,"specialisms",e)},expression:"form.specialisms"}})],1),t._v(" "),r("div",{staticClass:"pt-4 grid grid-cols-1 sm:grid-cols-6 gap-x-4"},[r("div",{staticClass:"sm:col-span-4"},[r("ValidationProvider",{attrs:{name:"postcode",rules:{regex:/^(([gG][iI][rR] {0,}0[aA]{2})|((([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y]?[0-9][0-9]?)|(([a-pr-uwyzA-PR-UWYZ][0-9][a-hjkstuwA-HJKSTUW])|([a-pr-uwyzA-PR-UWYZ][a-hk-yA-HK-Y][0-9][abehmnprv-yABEHMNPRV-Y]))) {0,}[0-9][abd-hjlnp-uw-zABD-HJLNP-UW-Z]{2}))$/}},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.errors;return[r("t-input-group",{attrs:{label:"Postcode (Optional)"}},[r("t-input",{attrs:{placeholder:"Enter your postcode"},model:{value:t.form.postcode,callback:function(e){t.$set(t.form,"postcode",e)},expression:"form.postcode"}}),t._v(" "),o[0]?r("span",{staticClass:"field-invalid"},[t._v(t._s(o[0]))]):t._e()],1)]}}],null,!1,2852206285)})],1),t._v(" "),r("div",{staticClass:"sm:col-span-2"},[r("ValidationProvider",{attrs:{name:"postcode",rules:"required"},scopedSlots:t._u([{key:"default",fn:function(e){var o=e.errors;return[r("t-input-group",{attrs:{label:"Distance"}},[r("t-select",{attrs:{options:[{id:5,text:"5 miles"},{id:10,text:"10 miles"},{id:20,text:"20 miles"},{id:30,text:"30 miles"},{id:40,text:"40 miles"},{id:50,text:"50 miles"}],placeholder:"Choose a distance"},model:{value:t.form.distance,callback:function(e){t.$set(t.form,"distance",e)},expression:"form.distance"}}),t._v(" "),o[0]?r("span",{staticClass:"field-invalid"},[t._v(t._s(o[0]))]):t._e()],1)]}}],null,!1,2438900453)})],1)]),t._v(" "),r("div",{staticClass:"border-t border-black border-opacity-10 pt-4 -mt-2"},[r("button",{staticClass:"w-full btn btn-primary btn-small rounded-lg",attrs:{type:"button"},on:{click:t.search}},[t._v("\n Search\n ")])])]):t._e()])])]),t._v(" "),r("section",{staticClass:"bg-gray py-20 px-8 mb-8"},[t._m(0),t._v(" "),r("div",{staticClass:"max-w-5xl mx-auto w-full"},[t._m(1),t._v(" "),r("div",{staticClass:"flex flex-col items-center justify-center"},[r("NuxtLink",{staticClass:"btn btn-primary rounded-full shadow",attrs:{to:"/therapists"}},[t._v("Start here")]),t._v(" "),r("NuxtLink",{staticClass:"mt-8 transition hover:text-blue-light",attrs:{to:"/therapists"}},[t._v("Or Browse Our Therapists")])],1)])]),t._v(" "),r("div",{staticClass:"grid grid-cols-1 lg:grid-cols-3 gap-10 px-6 lg:px-0"},[r("div",{staticClass:"box-one flex flex-col justify-between b bg-yellow bg-no-repeat bg-bottom p-8 py-10"},[t._m(2),t._v(" "),r("div",{staticClass:"flex items-center"},[r("NuxtLink",{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{to:"/"}},[t._v("About our Therapists")])],1)]),t._v(" "),r("div",{staticClass:"box-two flex flex-col justify-between bg-blue-light bg-no-repeat bg-bottom p-8 py-10"},[t._m(3),t._v(" "),r("div",{staticClass:"flex items-center"},[r("NuxtLink",{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{to:"/community"}},[t._v("Join our Community")])],1)]),t._v(" "),r("div",{staticClass:"box-three flex flex-col justify-between b bg-green bg-no-repeat bg-bottom p-8 py-10"},[t._m(4),t._v(" "),r("div",{staticClass:"flex items-center"},[r("NuxtLink",{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{to:"/partnerships"}},[t._v("We can support your workforce")])],1)])]),t._v(" "),t.posts.length?r("section",{staticClass:"pt-16 px-6 lg:px-0"},[r("header",{staticClass:"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6"},[r("h2",{staticClass:"text-3xl font-bold text-center md:text-left"},[t._v("Most recent posts")]),t._v(" "),r("div",{staticClass:"flex items-center justify-center md:justify-end"},[r("NuxtLink",{staticClass:"text-md font-bold text-blue-light",attrs:{to:"/blog"}},[t._v("View all posts")])],1)]),t._v(" "),r("div",{staticClass:"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-6"},t._l(t.posts,(function(t,e){return r("Post",{key:e,attrs:{post:t}})})),1)]):t._e()],1)}),r,!1,null,"44baf71c",null);e.default=component.exports;installComponents(component,{PageHeader:o(212).default,Header:o(101).default,Post:o(402).default})}}]);