Skip to content

Commit

Permalink
Fix runtime error
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-jagruti-a committed Nov 24, 2023
1 parent f45f280 commit e979f87
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions nuxt-frontend/pages/android-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<BlackCtaSection />
<BlogSection />
<FaqSection />
<CtaSection />
<NewFooter ref="footer" />
<CtaSection ref="cta" />
<NewFooter />
</div>
</template>

Expand Down Expand Up @@ -53,7 +53,7 @@ const NewFooter = defineAsyncComponent(
const { $mixpanel } = useNuxtApp();
const casestudy = ref(null);
const footer = ref(null);
const cta = ref(null);
const seoData = config.ANDRIOD_APP_DEVELOPMENT_SEO_META_DATA;
useSeoMeta({
Expand All @@ -68,15 +68,15 @@ useSeoMeta({
let event = "";
let events = {
casestudy: "view_android_development_casestudy_sections",
footer: "view_android_development_footer",
cta: "view_android_development_cta",
};
let elements;
onMounted(() => {
elements = ref({
casestudy: casestudy,
footer: footer,
cta: cta,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_android_development_page");
Expand Down
10 changes: 5 additions & 5 deletions nuxt-frontend/pages/mobile-app-development.vue
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
<DevelopmentProcess ref="developmentprocess" />
<div class="bg-black-core/[0.85]">
<ClientReview />
<CTASection2 />
<CTASection2 ref="cta" />
</div>
</div>
<NewFooter ref="footer" class="mt-[-15px] md:mt-auto" />
<NewFooter class="mt-[-15px] md:mt-auto" />
</div>
</template>

Expand Down Expand Up @@ -48,7 +48,7 @@ const NewFooter = defineAsyncComponent(
const { $mixpanel } = useNuxtApp();
const developmentprocess = ref(null);
const footer = ref(null);
const cta = ref(null);
const seoData = config.MOBILE_APP_DEVELOPMENT_SEO_META_DATA;
useSeoMeta({
Expand All @@ -63,15 +63,15 @@ useSeoMeta({
let event = "";
let events = {
developmentprocess: "view_mobileapp_development_developmentprocess_section",
footer: "view_mobileapp_development_footer",
cta: "view_mobileapp_development_cta",
};
let elements;
onMounted(() => {
elements = ref({
developmentprocess: developmentprocess,
footer: footer,
cta: cta,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_mobileapp_development_page");
Expand Down
2 changes: 1 addition & 1 deletion nuxt-frontend/pages/portfolio/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ let elements;
onMounted(() => {
elements = ref({
userReview: userReview,
ctasection: ctasection,
cta: cta,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_portfolio_page");
Expand Down

0 comments on commit e979f87

Please sign in to comment.