From b511177f26a8f29fa4285ce804743c4bb0aa7243 Mon Sep 17 00:00:00 2001 From: jagruti Date: Fri, 27 Oct 2023 11:51:45 +0530 Subject: [PATCH 1/3] Deploy android app development page --- .../services/WhatWeOfferDesktop.vue | 14 +++- .../components/services/WhatWeOfferMobile.vue | 15 ++++- vue-frontend/src/config.js | 1 - vue-frontend/src/config.prod.js | 1 - .../src/pages/android-app-development.vue | 65 +++++++------------ 5 files changed, 49 insertions(+), 47 deletions(-) diff --git a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue index 243114527..83d06e71c 100644 --- a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue +++ b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue @@ -18,8 +18,16 @@
); export default { - data() { - return { - event: "", - events: { - landing: "view_android_development_landing_section", - footer: "view_android_development_footer", - development: "view_android_development_section", - casestudy: "view_android_development_casestudy_section", - faq: "view_android_development_faq_section", - successstory: "view_android_development_success_story_section", - cta1: "view_android_development_cta_section", - cta2: "view_android_development_cta2_section", - cta3: "view_android_development_cta3_section", - }, - }; - }, setup() { var seoData = config.ANDRIOD_APP_DEVELOPMENT_SEO_META_DATA; useMeta({ - meta: [ - { - name: "robots", - content: "noindex, nofollow", - vmid: "robots", - }, - ], title: seoData.title, description: seoData.description, og: { @@ -105,24 +82,21 @@ export default { CtaSection, NewFooter, }, - methods: { - sendEvent() { - const event = this.events[elementInViewPort(this.$refs)]; - if (event && this.event !== event) { - this.event = event; - this.mixpanel.track(event); - } - }, - }, - beforeRouteEnter(to, from, next) { - if (!config.SHOW_ANDROID_APP_DEVELOPMENT_PAGE) { - next({ - name: "Error404Page", - params: { pathMatch: "/android-app-development" }, - }); - } else { - next(); - } + data() { + return { + event: "", + events: { + landing: "view_android_development_landing_section", + footer: "view_android_development_footer", + development: "view_android_development_section", + casestudy: "view_android_development_casestudy_section", + faq: "view_android_development_faq_section", + successstory: "view_android_development_success_story_section", + cta1: "view_android_development_cta_section", + cta2: "view_android_development_cta2_section", + cta3: "view_android_development_cta3_section", + }, + }; }, inject: ["mixpanel"], mounted() { @@ -132,5 +106,14 @@ export default { unmounted() { window.removeEventListener("scroll", this.sendEvent); }, + methods: { + sendEvent() { + const event = this.events[elementInViewPort(this.$refs)]; + if (event && this.event !== event) { + this.event = event; + this.mixpanel.track(event); + } + }, + }, }; From 9e5252928e5730a084b43cea0b237e1cd3ae1bec Mon Sep 17 00:00:00 2001 From: jagruti Date: Fri, 27 Oct 2023 12:28:41 +0530 Subject: [PATCH 2/3] Revert deployment changes --- .../services/WhatWeOfferDesktop.vue | 14 +--- .../components/services/WhatWeOfferMobile.vue | 14 +--- vue-frontend/src/config.js | 1 + vue-frontend/src/config.prod.js | 1 + .../src/pages/android-app-development.vue | 65 ++++++++++++------- 5 files changed, 47 insertions(+), 48 deletions(-) diff --git a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue index 83d06e71c..243114527 100644 --- a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue +++ b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue @@ -18,16 +18,8 @@
); export default { + data() { + return { + event: "", + events: { + landing: "view_android_development_landing_section", + footer: "view_android_development_footer", + development: "view_android_development_section", + casestudy: "view_android_development_casestudy_section", + faq: "view_android_development_faq_section", + successstory: "view_android_development_success_story_section", + cta1: "view_android_development_cta_section", + cta2: "view_android_development_cta2_section", + cta3: "view_android_development_cta3_section", + }, + }; + }, setup() { var seoData = config.ANDRIOD_APP_DEVELOPMENT_SEO_META_DATA; useMeta({ + meta: [ + { + name: "robots", + content: "noindex, nofollow", + vmid: "robots", + }, + ], title: seoData.title, description: seoData.description, og: { @@ -82,30 +105,6 @@ export default { CtaSection, NewFooter, }, - data() { - return { - event: "", - events: { - landing: "view_android_development_landing_section", - footer: "view_android_development_footer", - development: "view_android_development_section", - casestudy: "view_android_development_casestudy_section", - faq: "view_android_development_faq_section", - successstory: "view_android_development_success_story_section", - cta1: "view_android_development_cta_section", - cta2: "view_android_development_cta2_section", - cta3: "view_android_development_cta3_section", - }, - }; - }, - inject: ["mixpanel"], - mounted() { - window.addEventListener("scroll", this.sendEvent); - this.mixpanel.track("view_android_development_page"); - }, - unmounted() { - window.removeEventListener("scroll", this.sendEvent); - }, methods: { sendEvent() { const event = this.events[elementInViewPort(this.$refs)]; @@ -115,5 +114,23 @@ export default { } }, }, + beforeRouteEnter(to, from, next) { + if (!config.SHOW_ANDROID_APP_DEVELOPMENT_PAGE) { + next({ + name: "Error404Page", + params: { pathMatch: "/android-app-development" }, + }); + } else { + next(); + } + }, + inject: ["mixpanel"], + mounted() { + window.addEventListener("scroll", this.sendEvent); + this.mixpanel.track("view_android_development_page"); + }, + unmounted() { + window.removeEventListener("scroll", this.sendEvent); + }, }; From 9ef37b798d1259a801a868b806eff760e9ed1135 Mon Sep 17 00:00:00 2001 From: jagruti Date: Fri, 27 Oct 2023 13:04:05 +0530 Subject: [PATCH 3/3] Deploy android app development page --- .../services/WhatWeOfferDesktop.vue | 8 ++- .../components/services/WhatWeOfferMobile.vue | 9 +-- vue-frontend/src/config.prod.js | 2 +- .../src/pages/android-app-development.vue | 65 +++++++------------ 4 files changed, 35 insertions(+), 49 deletions(-) diff --git a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue index 243114527..6dbdccd2b 100644 --- a/vue-frontend/src/components/services/WhatWeOfferDesktop.vue +++ b/vue-frontend/src/components/services/WhatWeOfferDesktop.vue @@ -18,8 +18,8 @@
); export default { - data() { - return { - event: "", - events: { - landing: "view_android_development_landing_section", - footer: "view_android_development_footer", - development: "view_android_development_section", - casestudy: "view_android_development_casestudy_section", - faq: "view_android_development_faq_section", - successstory: "view_android_development_success_story_section", - cta1: "view_android_development_cta_section", - cta2: "view_android_development_cta2_section", - cta3: "view_android_development_cta3_section", - }, - }; - }, setup() { var seoData = config.ANDRIOD_APP_DEVELOPMENT_SEO_META_DATA; useMeta({ - meta: [ - { - name: "robots", - content: "noindex, nofollow", - vmid: "robots", - }, - ], title: seoData.title, description: seoData.description, og: { @@ -105,24 +82,21 @@ export default { CtaSection, NewFooter, }, - methods: { - sendEvent() { - const event = this.events[elementInViewPort(this.$refs)]; - if (event && this.event !== event) { - this.event = event; - this.mixpanel.track(event); - } - }, - }, - beforeRouteEnter(to, from, next) { - if (!config.SHOW_ANDROID_APP_DEVELOPMENT_PAGE) { - next({ - name: "Error404Page", - params: { pathMatch: "/android-app-development" }, - }); - } else { - next(); - } + data() { + return { + event: "", + events: { + landing: "view_android_development_landing_section", + footer: "view_android_development_footer", + development: "view_android_development_section", + casestudy: "view_android_development_casestudy_section", + faq: "view_android_development_faq_section", + successstory: "view_android_development_success_story_section", + cta1: "view_android_development_cta_section", + cta2: "view_android_development_cta2_section", + cta3: "view_android_development_cta3_section", + }, + }; }, inject: ["mixpanel"], mounted() { @@ -132,5 +106,14 @@ export default { unmounted() { window.removeEventListener("scroll", this.sendEvent); }, + methods: { + sendEvent() { + const event = this.events[elementInViewPort(this.$refs)]; + if (event && this.event !== event) { + this.event = event; + this.mixpanel.track(event); + } + }, + }, };