diff --git a/.github/workflows/deploy-backend-dev.yml b/.github/workflows/deploy-backend-dev.yml index 99a0df505..d3bca5e66 100644 --- a/.github/workflows/deploy-backend-dev.yml +++ b/.github/workflows/deploy-backend-dev.yml @@ -4,6 +4,7 @@ on: push: branches: - "master" + jobs: deploy-backend-dev: runs-on: ubuntu-latest diff --git a/.github/workflows/deploy-frontend-dev.yml b/.github/workflows/deploy-frontend-dev.yml index 3ee06bc37..5f079dcfe 100644 --- a/.github/workflows/deploy-frontend-dev.yml +++ b/.github/workflows/deploy-frontend-dev.yml @@ -4,6 +4,7 @@ on: push: branches: - "master" + jobs: deploy-frontend-dev: runs-on: ubuntu-latest diff --git a/nuxt-frontend/pages/jobs/index.vue b/nuxt-frontend/pages/jobs/index.vue index cf7ed5739..21559ad08 100644 --- a/nuxt-frontend/pages/jobs/index.vue +++ b/nuxt-frontend/pages/jobs/index.vue @@ -35,8 +35,8 @@ const LifeAtCanopas = defineAsyncComponent( const Career = defineAsyncComponent( () => import("@/components/jobs/CareerView.vue"), ); -const PerksAndBenefits = defineAsyncComponent(() => - import("@/components/jobs/PerksAndBenefits.vue"), +const PerksAndBenefits = defineAsyncComponent( + () => import("@/components/jobs/PerksAndBenefits.vue"), ); const WhyCanopas = defineAsyncComponent( () => import("@/components/jobs/WhyCanopas.vue"), diff --git a/nuxt-frontend/pages/thank-you.vue b/nuxt-frontend/pages/thank-you.vue index 6ff015c50..491f20175 100644 --- a/nuxt-frontend/pages/thank-you.vue +++ b/nuxt-frontend/pages/thank-you.vue @@ -4,7 +4,8 @@
@@ -20,6 +21,7 @@ import Header from "@/components/partials/NewHeader.vue"; import LandingSection from "@/components/contact/thank-you/LandingSection.vue"; import BenefitSection from "@/components/contact/thank-you/BenefitSection.vue"; import { elementInViewPort } from "@/utils.js"; + const HappyClientSection = defineAsyncComponent( () => import("@/components/contact/thank-you/HappyClient.vue"), ); @@ -29,6 +31,7 @@ const ScheduleMeeting = defineAsyncComponent( const NewFooter = defineAsyncComponent( () => import("@/components/partials/NewFooter.vue"), ); + const { $mixpanel } = useNuxtApp(); const benefits = ref(null); @@ -50,6 +53,7 @@ let events = { benefits: "view_thankyou_benefits_section", meeting: "view_thankyou_schedule_meeting_section", }; + let elements; onMounted(() => { @@ -60,9 +64,11 @@ onMounted(() => { window.addEventListener("scroll", sendEvent); $mixpanel.track("view_thankyou_page"); }); + onUnmounted(() => { window.removeEventListener("scroll", sendEvent); }); + onBeforeMount(() => { let cName = localStorage.getItem("client-name"); if (cName) {