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 40787a6 commit 8a1fed1
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 33 deletions.
36 changes: 18 additions & 18 deletions nuxt-frontend/components/home-new/HomeIndex.vue
Original file line number Diff line number Diff line change
Expand Up @@ -35,32 +35,32 @@ import LandingSection from "@/components/home-new/LandingSection.vue";
import { elementInViewPort } from "@/utils.js";
import { defineAsyncComponent } from "vue";
const CaseStudy = defineAsyncComponent(() =>
import("@/components/home-new/CaseStudy.vue")
const CaseStudy = defineAsyncComponent(
() => import("@/components/home-new/CaseStudy.vue")
);
const ServiceSection = defineAsyncComponent(() =>
import("@/components/home-new/ServiceSection.vue")
const ServiceSection = defineAsyncComponent(
() => import("@/components/home-new/ServiceSection.vue")
);
const ServiceSectionMobile = defineAsyncComponent(() =>
import("@/components/home-new/ServiceSectionMobile.vue")
const ServiceSectionMobile = defineAsyncComponent(
() => import("@/components/home-new/ServiceSectionMobile.vue")
);
const ContributionSection = defineAsyncComponent(() =>
import("@/components/home-new/ContributionSection.vue")
const ContributionSection = defineAsyncComponent(
() => import("@/components/home-new/ContributionSection.vue")
);
const ContributionSectionMobile = defineAsyncComponent(() =>
import("@/components/home-new/ContributionSectionMobile.vue")
const ContributionSectionMobile = defineAsyncComponent(
() => import("@/components/home-new/ContributionSectionMobile.vue")
);
const ClientReview = defineAsyncComponent(() =>
import("@/components/home-new/ClientReviewSection.vue")
const ClientReview = defineAsyncComponent(
() => import("@/components/home-new/ClientReviewSection.vue")
);
const CTASection = defineAsyncComponent(() =>
import("@/components/mobile-app-development/CTASection2.vue")
const CTASection = defineAsyncComponent(
() => import("@/components/mobile-app-development/CTASection2.vue")
);
const BlogSection = defineAsyncComponent(() =>
import("@/components/home-new/BlogSection.vue")
const BlogSection = defineAsyncComponent(
() => import("@/components/home-new/BlogSection.vue")
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue")
);
export default {
Expand Down
30 changes: 15 additions & 15 deletions nuxt-frontend/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,29 +26,29 @@ import { defineAsyncComponent } from "vue";
import config from "@/config.js";
import { elementInViewPort, handleAnimationOnScroll } from "@/utils.js";
const VirtuesView = defineAsyncComponent(() =>
import("@/components/jobs/VirtuesView.vue")
const VirtuesView = defineAsyncComponent(
() => import("@/components/jobs/VirtuesView.vue")
);
const LifeAtCanopas = defineAsyncComponent(() =>
import("@/components/jobs/LifeAtCanopas.vue")
const LifeAtCanopas = defineAsyncComponent(
() => import("@/components/jobs/LifeAtCanopas.vue")
);
const Career = defineAsyncComponent(() =>
import("@/components/jobs/CareerView.vue")
const Career = defineAsyncComponent(
() => import("@/components/jobs/CareerView.vue")
);
const PerksAndBenefits = defineAsyncComponent(() =>
import("@/components/jobs/PerksAndBenefits.vue")
);
const WhyCanopas = defineAsyncComponent(() =>
import("@/components/jobs/WhyCanopas.vue")
const WhyCanopas = defineAsyncComponent(
() => import("@/components/jobs/WhyCanopas.vue")
);
const WhyCanopasMobile = defineAsyncComponent(() =>
import("@/components/jobs/WhyCanopasMobile.vue")
const WhyCanopasMobile = defineAsyncComponent(
() => import("@/components/jobs/WhyCanopasMobile.vue")
);
const FaqSection = defineAsyncComponent(() =>
import("@/components/jobs/FaqSection.vue")
const FaqSection = defineAsyncComponent(
() => import("@/components/jobs/FaqSection.vue")
);
const NewFooter = defineAsyncComponent(() =>
import("@/components/partials/NewFooter.vue")
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue")
);
const { $mixpanel } = useNuxtApp();
Expand Down Expand Up @@ -77,7 +77,7 @@ let elements;
onMounted(() => {
elements = ref({
perks: perks,
footer: footer,
faq: faq,
});
window.addEventListener("scroll", sendEvent);
$mixpanel.track("view_jobs_page");
Expand Down

0 comments on commit 8a1fed1

Please sign in to comment.