Skip to content

Commit

Permalink
Fix unwanted runtime errors on services and android page
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 10, 2023
1 parent 0ed1936 commit 6bc6bd4
Showing 1 changed file with 21 additions and 23 deletions.
44 changes: 21 additions & 23 deletions nuxt-frontend/pages/android-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,17 @@
<div>
<Header />
<div class="xll:bg-black-core/[90%] 3xl:bg-white">
<LandingSection :ref="landing" />
<LandingSection ref="landing" />
</div>
<DevelopmentSection :ref="development" />
<CaseStudy :ref="casestudy" />
<PinkCtaSection :ref="cta1" class="hidden lg:block" />
<SuccessStorySection :ref="successstory" />
<BlackCtaSection :ref="cta2" />
<BlogSection :ref="blogs" />
<FaqSection :ref="faq" />
<CtaSection :ref="cta3" />
<NewFooter :ref="footer" />
<DevelopmentSection ref="development" />
<CaseStudy ref="casestudy" />
<PinkCtaSection ref="cta1" class="hidden lg:block" />
<SuccessStorySection ref="successstory" />
<BlackCtaSection />
<BlogSection />
<FaqSection />
<CtaSection />
<NewFooter ref="footer" />
</div>
</template>

Expand All @@ -24,28 +24,28 @@ import { elementInViewPort } from "@/utils.js";
import LandingSection from "@/components/android-app-development/LandingSection.vue";
import DevelopmentSection from "@/components/android-app-development/DevelopmentSection.vue";
const CaseStudy = defineAsyncComponent(() =>
import("@/components/android-app-development/CaseStudySection.vue")
import("@/components/android-app-development/CaseStudySection.vue"),
);
const SuccessStorySection = defineAsyncComponent(() =>
import("@/components/android-app-development/SuccessStorySection.vue")
import("@/components/android-app-development/SuccessStorySection.vue"),
);
const FaqSection = defineAsyncComponent(() =>
import("@/components/android-app-development/FaqSection.vue")
import("@/components/android-app-development/FaqSection.vue"),
);
const PinkCtaSection = defineAsyncComponent(() =>
import("@/components/android-app-development/PinkCtaSection.vue")
import("@/components/android-app-development/PinkCtaSection.vue"),
);
const CtaSection = defineAsyncComponent(() =>
import("@/components/android-app-development/CtaSection.vue")
import("@/components/android-app-development/CtaSection.vue"),
);
const BlackCtaSection = defineAsyncComponent(() =>
import("@/components/android-app-development/BlackCtaSection.vue")
import("@/components/android-app-development/BlackCtaSection.vue"),
);
const BlogSection = defineAsyncComponent(() =>
import("@/components/android-app-development/BlogSection.vue")
import("@/components/android-app-development/BlogSection.vue"),
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
import("@/components/partials/NewFooter.vue"),
);
export default {
Expand Down Expand Up @@ -78,15 +78,14 @@ export default {
event: "",
events: {
landing: "view_android_development_landing_section",
footer: "view_android_development_footer",
development: "view_android_development_section",
casestudy: "view_android_development_casestudy_section",
cta1: "view_android_development_cta_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",
blogs: "view_android_development_blog_section",
faq: "view_android_development_faq_section",
cta3: "view_android_development_cta3_section",
footer: "view_android_development_footer",
},
};
},
Expand All @@ -103,7 +102,6 @@ export default {
const event = this.events[elementInViewPort(this.$refs)];
if (event && this.event !== event) {
this.event = event;
console.log(this.event)
this.$mixpanel.track(event);
}
},
Expand Down

0 comments on commit 6bc6bd4

Please sign in to comment.