%PDF- %PDF-
Direktori : /home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/server/pages/ |
Current File : //home/forge/takeaseat.eco-n-tech.co.uk/.nuxt/dist/server/pages/index.js |
exports.ids = [58,25]; exports.modules = { /***/ 143: /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(156); if(content.__esModule) content = content.default; if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add CSS to SSR context var add = __webpack_require__(6).default module.exports.__inject__ = function (context) { add("b6e7d51c", content, true, context) }; /***/ }), /***/ 149: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/blog-waves.66a9397.svg"; /***/ }), /***/ 155: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_4_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_4_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_4_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Post_vue_vue_type_style_index_0_id_010fa22a_lang_postcss_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(143); /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_4_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_4_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_4_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Post_vue_vue_type_style_index_0_id_010fa22a_lang_postcss_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_4_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_4_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_4_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Post_vue_vue_type_style_index_0_id_010fa22a_lang_postcss_scoped_true___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_4_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_4_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_4_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Post_vue_vue_type_style_index_0_id_010fa22a_lang_postcss_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_4_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_4_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_4_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_Post_vue_vue_type_style_index_0_id_010fa22a_lang_postcss_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /***/ }), /***/ 156: /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(5); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(13); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(149); var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module ___CSS_LOADER_EXPORT___.push([module.i, ".waves[data-v-010fa22a]{background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");background-size:100% auto}", ""]); // Exports module.exports = ___CSS_LOADER_EXPORT___; /***/ }), /***/ 161: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/partials/Post.vue?vue&type=template&id=010fa22a&scoped=true& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"bg-gray"},[_vm._ssrNode("<div class=\"relative h-48 bg-cover bg-center bg-no-repeat\""+(_vm._ssrStyle(null,'background-image: url('+_vm.post.thumbnail_url+')', null))+" data-v-010fa22a>","</div>",[_vm._ssrNode("<div class=\"waves absolute z-10 top-0 left-0 w-full h-full bg-bottom bg-no-repeat\" data-v-010fa22a></div> "),_c('NuxtLink',{staticClass:"block z-20 absolute top-0 left-0 w-full h-full",attrs:{"to":'/blog/'+_vm.post.slug}})],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"p-6 flex flex-col justify-between\" data-v-010fa22a>","</div>",[_vm._ssrNode("<div class=\"h-40 overflow-hidden mb-3\" data-v-010fa22a>","</div>",[_vm._ssrNode("<div class=\"grid grid-cols-4 mb-3\" data-v-010fa22a><div class=\"col-span-3\" data-v-010fa22a><span class=\"text-black text-opacity-75 text-sm\" data-v-010fa22a>"+_vm._ssrEscape(_vm._s(_vm.post.created_at))+"</span></div> <div class=\"col-span-1 flex items-center justify-end\" data-v-010fa22a><button type=\"button\" class=\"flex items-center justify-center focus:outline-none hover:outline-none\" data-v-010fa22a>"+((_vm.post.likes)?("<svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 20 20\" fill=\"currentColor\" class=\"w-5 h-5 text-pink\" data-v-010fa22a><path 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\" data-v-010fa22a></path></svg>"):("<svg xmlns=\"http://www.w3.org/2000/svg\" fill=\"none\" viewBox=\"0 0 24 24\" stroke=\"currentColor\" class=\"w-5 h-5 text-pink\" data-v-010fa22a><path 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\" data-v-010fa22a></path></svg>"))+" "+((_vm.post.likes)?("<span class=\"ml-1 text-xs text-black text-opacity-50\" data-v-010fa22a>"+_vm._ssrEscape(_vm._s(_vm.post.likes))+"</span>"):"<!---->")+"</button></div></div> "),_vm._ssrNode("<h2 class=\"text-2xl font-bold\" data-v-010fa22a>","</h2>",[_c('NuxtLink',{attrs:{"to":'/blog/'+_vm.post.slug}},[_vm._v(_vm._s(_vm.post.title))])],1)],2),_vm._ssrNode(" "),(_vm.post.author)?_vm._ssrNode("<div class=\"relative flex items-center\" data-v-010fa22a>","</div>",[_vm._ssrNode("<div class=\"relative mr-3\" data-v-010fa22a>","</div>",[(_vm.post.therapist)?_c('NuxtLink',{staticClass:"absolute z-20 top-0 left-0 w-full h-full block",attrs:{"to":'/therapists/'+_vm.post.therapist.slug}}):_vm._e(),_vm._ssrNode(" <div"+(_vm._ssrClass("absolute top-0 left-0 w-full h-full border-4 border-opacity-75",_vm.post.therapist ? 'border-'+_vm.post.therapist.colour : 'border-gray'))+" data-v-010fa22a></div> <img"+(_vm._ssrAttr("src",_vm.post.author.photo_url))+" class=\"w-16 h-16\" data-v-010fa22a>")],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"flex flex-col justify-center\" data-v-010fa22a>","</div>",[_vm._ssrNode("<span class=\"uppercase text-sm\" data-v-010fa22a>"+_vm._ssrEscape("By "+_vm._s(_vm.post.author.full_name))+"</span> "),(_vm.post.therapist)?_c('NuxtLink',{staticClass:"flex items-center uppercase text-sm transition",class:'hover:text-'+_vm.post.therapist.colour,attrs:{"to":'/therapists/'+_vm.post.therapist.slug}},[_c('span',[_vm._v("View Profile")]),_vm._v(" "),_c('svg',{staticClass:"w-4 h-4",attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor"}},[_c('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"}})])]):_vm._e()],2)],2):_vm._e()],2)],2)} var staticRenderFns = [] // CONCATENATED MODULE: ./components/partials/Post.vue?vue&type=template&id=010fa22a&scoped=true& // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./components/partials/Post.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var Postvue_type_script_lang_js_ = ({ props: { post: { type: Object, required: true } }, computed: { isLoggedIn() { return this.$auth.loggedIn; } }, methods: { async likePost() { if (this.isLoggedIn == false) { this.$toast.error('You must be logged in to like this post').goAway(1000); return false; } await this.$axios.post('/posts/like/' + this.post.id).then(response => { console.log(response); }).catch(error => { this.$toast.error(error).goAway(1000); }); } } }); // CONCATENATED MODULE: ./components/partials/Post.vue?vue&type=script&lang=js& /* harmony default export */ var partials_Postvue_type_script_lang_js_ = (Postvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(1); // CONCATENATED MODULE: ./components/partials/Post.vue function injectStyles (context) { var style0 = __webpack_require__(155) if (style0.__inject__) style0.__inject__(context) } /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( partials_Postvue_type_script_lang_js_, render, staticRenderFns, false, injectStyles, "010fa22a", "7f55d085" ) /* harmony default export */ var Post = __webpack_exports__["default"] = (component.exports); /***/ }), /***/ 172: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-check.4ddd317.svg"; /***/ }), /***/ 173: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-chat.941f684.svg"; /***/ }), /***/ 174: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-handshake.fd5790d.svg"; /***/ }), /***/ 182: /***/ (function(module, exports, __webpack_require__) { // style-loader: Adds some css to the DOM by adding a <style> tag // load the styles var content = __webpack_require__(225); if(content.__esModule) content = content.default; if(typeof content === 'string') content = [[module.i, content, '']]; if(content.locals) module.exports = content.locals; // add CSS to SSR context var add = __webpack_require__(6).default module.exports.__inject__ = function (context) { add("ba9d1dea", content, true, context) }; /***/ }), /***/ 221: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-mobile.b16ca9d.svg"; /***/ }), /***/ 222: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-calendar.88aa2a3.svg"; /***/ }), /***/ 223: /***/ (function(module, exports, __webpack_require__) { module.exports = __webpack_require__.p + "img/icon-sofa.a487166.svg"; /***/ }), /***/ 224: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; __webpack_require__.r(__webpack_exports__); /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_3_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_44baf71c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(182); /* harmony import */ var _node_modules_vue_style_loader_index_js_ref_3_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_44baf71c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_node_modules_vue_style_loader_index_js_ref_3_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_44baf71c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__); /* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _node_modules_vue_style_loader_index_js_ref_3_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_44baf71c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _node_modules_vue_style_loader_index_js_ref_3_oneOf_1_0_node_modules_nuxt_postcss8_node_modules_css_loader_dist_cjs_js_ref_3_oneOf_1_1_node_modules_vue_loader_lib_loaders_stylePostLoader_js_node_modules_nuxt_postcss8_node_modules_postcss_loader_dist_cjs_js_ref_3_oneOf_1_2_node_modules_nuxt_components_dist_loader_js_ref_0_0_node_modules_vue_loader_lib_index_js_vue_loader_options_index_vue_vue_type_style_index_0_id_44baf71c_scoped_true_lang_css___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__)); /***/ }), /***/ 225: /***/ (function(module, exports, __webpack_require__) { // Imports var ___CSS_LOADER_API_IMPORT___ = __webpack_require__(5); var ___CSS_LOADER_GET_URL_IMPORT___ = __webpack_require__(13); var ___CSS_LOADER_URL_IMPORT_0___ = __webpack_require__(37); var ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(function(i){return i[1]}); var ___CSS_LOADER_URL_REPLACEMENT_0___ = ___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___); // Module ___CSS_LOADER_EXPORT___.push([module.i, ".box-one[data-v-44baf71c],.box-three[data-v-44baf71c],.box-two[data-v-44baf71c]{background-image:url(" + ___CSS_LOADER_URL_REPLACEMENT_0___ + ");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%}", ""]); // Exports module.exports = ___CSS_LOADER_EXPORT___; /***/ }), /***/ 263: /***/ (function(module, __webpack_exports__, __webpack_require__) { "use strict"; // ESM COMPAT FLAG __webpack_require__.r(__webpack_exports__); // CONCATENATED MODULE: ./node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=template&id=44baf71c&scoped=true& var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"page-wrapper"},[_c('PageHeader',{attrs:{"classObject":"home bg-blue-light"}},[_c('div',{staticClass:"w-full flex flex-col items-center justify-center flex-wrap relative z-20"},[_c('img',{staticClass:"mb-8",attrs:{"src":__webpack_require__(20),"alt":"Takeaseat"}}),_vm._v(" "),_c('h1',{staticClass:"text-4xl md:text-5xl lg:text-7xl"},[_c('span',{staticClass:"block mb-3 font-bold"},[_vm._v("Therapy for a better you")]),_vm._v(" "),_c('span',{staticClass:"block text-white text-xl md:text-2xl lg:text-5xl font-bold"},[_vm._v("Book now with a take a seat verified therapist")])])]),_vm._v(" "),_c('div',{staticClass:"max-w-md w-full mx-auto mt-6 md:mt-16 relative z-20",on:{"mouseleave":_vm.closeSearch}},[_c('div',{staticClass:"grid grid-cols-1 sm:grid-cols-2 gap-2 sm:gap-x-4"},[_c('NuxtLink',{staticClass:"btn btn-primary",attrs:{"to":"/therapists?session_types=3"}},[_vm._v("In Person")]),_vm._v(" "),_c('NuxtLink',{staticClass:"btn btn-primary",attrs:{"to":"/therapists?session_types=1&session_types=2"}},[_vm._v("Online/Phone")])],1),_vm._v(" "),_c('span',{staticClass:"mb-2 block text-sm"},[_vm._v("Or")]),_vm._v(" "),_c('div',{staticClass:"relative"},[_c('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:_vm.isSearchOpen ? 'shadow-md' : '',attrs:{"type":"button"},on:{"click":_vm.openSearch}},[_c('span',{staticClass:"font-medium"},[_vm._v("Tell us what's worrying you...")]),_vm._v(" "),_c('svg',{staticClass:"transform duration-100 w-6 h-6",class:_vm.isSearchOpen ? 'rotate-180' : '',attrs:{"xmlns":"http://www.w3.org/2000/svg","viewBox":"0 0 20 20","fill":"currentColor"}},[_c('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"}})])]),_vm._v(" "),(_vm.isSearchActive)?_c('div',{staticClass:"absolute top-full left-0 w-full bg-white p-6 rounded-xl shadow-lg transition transform origin-top text-left",class:_vm.isSearchOpen ? 'scale-100 opacity-100' : 'scale-90 opacity-0'},[_c('div',{staticClass:"overflow-y-auto",staticStyle:{"max-height":"250px"}},[_c('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":_vm.filters.specialisms,"value-attribute":"id","text-attribute":"name"},model:{value:(_vm.form.specialisms),callback:function ($$v) {_vm.$set(_vm.form, "specialisms", $$v)},expression:"form.specialisms"}})],1),_vm._v(" "),_c('div',{staticClass:"pt-4 grid grid-cols-1 sm:grid-cols-6 gap-x-4"},[_c('div',{staticClass:"sm:col-span-4"},[_c('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:_vm._u([{key:"default",fn:function(ref){ var errors = ref.errors; return [_c('t-input-group',{attrs:{"label":"Postcode (Optional)"}},[_c('t-input',{attrs:{"placeholder":"Enter your postcode"},model:{value:(_vm.form.postcode),callback:function ($$v) {_vm.$set(_vm.form, "postcode", $$v)},expression:"form.postcode"}}),_vm._v(" "),(errors[0])?_c('span',{staticClass:"field-invalid"},[_vm._v(_vm._s(errors[0]))]):_vm._e()],1)]}}],null,false,2852206285)})],1),_vm._v(" "),_c('div',{staticClass:"sm:col-span-2"},[_c('ValidationProvider',{attrs:{"name":"postcode","rules":"required"},scopedSlots:_vm._u([{key:"default",fn:function(ref){ var errors = ref.errors; return [_c('t-input-group',{attrs:{"label":"Distance"}},[_c('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:(_vm.form.distance),callback:function ($$v) {_vm.$set(_vm.form, "distance", $$v)},expression:"form.distance"}}),_vm._v(" "),(errors[0])?_c('span',{staticClass:"field-invalid"},[_vm._v(_vm._s(errors[0]))]):_vm._e()],1)]}}],null,false,2438900453)})],1)]),_vm._v(" "),_c('div',{staticClass:"border-t border-black border-opacity-10 pt-4 -mt-2"},[_c('button',{staticClass:"w-full btn btn-primary btn-small rounded-lg",attrs:{"type":"button"},on:{"click":_vm.search}},[_vm._v("\n Search\n ")])])]):_vm._e()])])]),_vm._ssrNode(" "),_vm._ssrNode("<section class=\"bg-gray py-20 px-8 mb-8\" data-v-44baf71c>","</section>",[_vm._ssrNode("<div class=\"max-w-xl mx-auto w-full\" data-v-44baf71c><header class=\"text-center mb-20\" data-v-44baf71c><h1 class=\"text-5xl font-bold mb-8\" data-v-44baf71c>Follow these 3 steps to start your journey</h1> <p data-v-44baf71c>We know the start of the journey is sometimes the hardest so we have made it as simple as possible…</p></header></div> "),_vm._ssrNode("<div class=\"max-w-5xl mx-auto w-full\" data-v-44baf71c>","</div>",[_vm._ssrNode("<div class=\"grid grid-cols-1 md:grid-cols-3 gap-x-16 gap-y-10 mb-20\" data-v-44baf71c><div class=\"text-sm leading-6\" data-v-44baf71c><div class=\"flex items-end mb-6\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(221)))+" alt=\"Browse\" class=\"h-10 mr-3\" data-v-44baf71c> <h2 class=\"text-3xl font-medium\" data-v-44baf71c>Browse</h2></div> <p data-v-44baf71c>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.</p></div> <div class=\"text-sm leading-6\" data-v-44baf71c><div class=\"flex items-end mb-6\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(222)))+" alt=\"Book\" class=\"h-10 mr-3\" data-v-44baf71c> <h2 class=\"text-3xl font-medium\" data-v-44baf71c>Book</h2></div> <p data-v-44baf71c>Once you find a therapist you like. Pick a date and time they have available, book, and pay it's that simple.</p></div> <div class=\"text-sm leading-6\" data-v-44baf71c><div class=\"flex items-end mb-6\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(223)))+" alt=\"Take a Seat\" class=\"h-9 mr-3\" data-v-44baf71c> <h2 class=\"text-3xl font-medium\" data-v-44baf71c>Take a Seat</h2></div> <p data-v-44baf71c>Take a seat with your therapist face to face, via video, or telephone, and start the journey to a new you.</p></div></div> "),_vm._ssrNode("<div class=\"flex flex-col items-center justify-center\" data-v-44baf71c>","</div>",[_c('NuxtLink',{staticClass:"btn btn-primary rounded-full shadow",attrs:{"to":"/therapists"}},[_vm._v("Start here")]),_vm._ssrNode(" "),_c('NuxtLink',{staticClass:"mt-8 transition hover:text-blue-light",attrs:{"to":"/therapists"}},[_vm._v("Or Browse Our Therapists")])],2)],2)],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"grid grid-cols-1 lg:grid-cols-3 gap-10 px-6 lg:px-0\" data-v-44baf71c>","</div>",[_vm._ssrNode("<div class=\"box-one flex flex-col justify-between b bg-yellow bg-no-repeat bg-bottom p-8 py-10\" data-v-44baf71c>","</div>",[_vm._ssrNode("<div data-v-44baf71c><div class=\"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6\" data-v-44baf71c><h2 class=\"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left\" data-v-44baf71c>You’re in Safe Hands</h2> <div class=\"order-1 sm:order-2 flex items-center justify-end\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(172)))+" alt=\"You’re in Safe Hands\" data-v-44baf71c></div></div> <p class=\"text-sm leading-6 mb-6\" data-v-44baf71c>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.</p></div> "),_vm._ssrNode("<div class=\"flex items-center\" data-v-44baf71c>","</div>",[_c('NuxtLink',{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{"to":"/"}},[_vm._v("About our Therapists")])],1)],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"box-two flex flex-col justify-between bg-blue-light bg-no-repeat bg-bottom p-8 py-10\" data-v-44baf71c>","</div>",[_vm._ssrNode("<div data-v-44baf71c><div class=\"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6\" data-v-44baf71c><h2 class=\"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left\" data-v-44baf71c>Are you a therapist?</h2> <div class=\"order-1 sm:order-2 flex items-center justify-end\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(173)))+" alt=\"Are you a therapist?\" data-v-44baf71c></div></div> <p class=\"text-sm leading-6 mb-6\" data-v-44baf71c>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.</p></div> "),_vm._ssrNode("<div class=\"flex items-center\" data-v-44baf71c>","</div>",[_c('NuxtLink',{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{"to":"/community"}},[_vm._v("Join our Community")])],1)],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"box-three flex flex-col justify-between b bg-green bg-no-repeat bg-bottom p-8 py-10\" data-v-44baf71c>","</div>",[_vm._ssrNode("<div data-v-44baf71c><div class=\"flex flex-col justify-center items-center sm:grid sm:grid-cols-2 mb-6\" data-v-44baf71c><h2 class=\"order-2 sm:order-1 mt-3 sm:mt-0 text-3xl font-bold text-center sm:text-left\" data-v-44baf71c>Business Partnerships</h2> <div class=\"order-1 sm:order-2 flex items-center justify-end\" data-v-44baf71c><img"+(_vm._ssrAttr("src",__webpack_require__(174)))+" alt=\"Business Partnerships\" data-v-44baf71c></div></div> <p class=\"text-sm leading-6 mb-6\" data-v-44baf71c>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. </p></div> "),_vm._ssrNode("<div class=\"flex items-center\" data-v-44baf71c>","</div>",[_c('NuxtLink',{staticClass:"w-full sm:w-auto btn btn-small btn-primary rounded-full",attrs:{"to":"/partnerships"}},[_vm._v("We can support your workforce")])],1)],2)],2),_vm._ssrNode(" "),(_vm.posts.length)?_vm._ssrNode("<section class=\"pt-16 px-6 lg:px-0\" data-v-44baf71c>","</section>",[_vm._ssrNode("<header class=\"grid grid-cols-1 md:grid-cols-2 gap-6 mb-6\" data-v-44baf71c>","</header>",[_vm._ssrNode("<h2 class=\"text-3xl font-bold text-center md:text-left\" data-v-44baf71c>Most recent posts</h2> "),_vm._ssrNode("<div class=\"flex items-center justify-center md:justify-end\" data-v-44baf71c>","</div>",[_c('NuxtLink',{staticClass:"text-md font-bold text-blue-light",attrs:{"to":"/blog"}},[_vm._v("View all posts")])],1)],2),_vm._ssrNode(" "),_vm._ssrNode("<div class=\"grid grid-cols-1 md:grid-cols-3 xl:grid-cols-4 gap-6\" data-v-44baf71c>","</div>",_vm._l((_vm.posts),function(post,key){return _c('Post',{key:key,attrs:{"post":post}})}),1)],2):_vm._e()],2)} var staticRenderFns = [] // CONCATENATED MODULE: ./pages/index.vue?vue&type=template&id=44baf71c&scoped=true& // CONCATENATED MODULE: ./node_modules/babel-loader/lib??ref--2-0!./node_modules/@nuxt/components/dist/loader.js??ref--0-0!./node_modules/vue-loader/lib??vue-loader-options!./pages/index.vue?vue&type=script&lang=js& // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // /* harmony default export */ var lib_vue_loader_options_pagesvue_type_script_lang_js_ = ({ head() { return { titleTemplate: 'Home | %s' }; }, data() { return { isSearchOpen: false, isSearchActive: false, form: { specialisms: [], postcode: null, distance: 30 } }; }, computed: { posts() { return this.$store.state.blog.list; }, filters() { return this.$store.state.therapists.filters; } }, async asyncData({ store }) { await store.dispatch('therapists/filters'); await store.dispatch('blog/get', { total: 4 }); }, methods: { search() { this.$router.push({ path: '/therapists', query: { specialisms: this.form.specialisms, postcode: this.form.postcode, distance: this.form.distance } }); }, openSearch() { this.isSearchActive = true; setTimeout(() => { this.isSearchOpen = true; }, 150); }, closeSearch() { this.isSearchOpen = false; setTimeout(() => { this.isSearchActive = false; }, 150); } } }); // CONCATENATED MODULE: ./pages/index.vue?vue&type=script&lang=js& /* harmony default export */ var pagesvue_type_script_lang_js_ = (lib_vue_loader_options_pagesvue_type_script_lang_js_); // EXTERNAL MODULE: ./node_modules/vue-loader/lib/runtime/componentNormalizer.js var componentNormalizer = __webpack_require__(1); // CONCATENATED MODULE: ./pages/index.vue function injectStyles (context) { var style0 = __webpack_require__(224) if (style0.__inject__) style0.__inject__(context) } /* normalize component */ var component = Object(componentNormalizer["a" /* default */])( pagesvue_type_script_lang_js_, render, staticRenderFns, false, injectStyles, "44baf71c", "4e2e9c94" ) /* harmony default export */ var pages = __webpack_exports__["default"] = (component.exports); /* nuxt-component-imports */ installComponents(component, {PageHeader: __webpack_require__(36).default,Header: __webpack_require__(12).default,Post: __webpack_require__(161).default}) /***/ }) };; //# sourceMappingURL=index.js.map