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 3980cfa commit 352056e
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
1 change: 1 addition & 0 deletions .github/workflows/deploy-backend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "master"

jobs:
deploy-backend-dev:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/deploy-frontend-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- "master"

jobs:
deploy-frontend-dev:
runs-on: ubuntu-latest
Expand Down
4 changes: 2 additions & 2 deletions nuxt-frontend/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down
8 changes: 7 additions & 1 deletion nuxt-frontend/pages/thank-you.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@
<div>
<LandingSection :name="clientName" />
<BenefitSection
class="overflow-y-hidden 2xl:overflow-y-visible 3xl:overflow-y-hidden" ref="benefits"
class="overflow-y-hidden 2xl:overflow-y-visible 3xl:overflow-y-hidden"
ref="benefits"
/>
<HappyClientSection />
<ScheduleMeeting ref="meeting" />
Expand All @@ -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"),
);
Expand All @@ -29,6 +31,7 @@ const ScheduleMeeting = defineAsyncComponent(
const NewFooter = defineAsyncComponent(
() => import("@/components/partials/NewFooter.vue"),
);
const { $mixpanel } = useNuxtApp();
const benefits = ref(null);
Expand All @@ -50,6 +53,7 @@ let events = {
benefits: "view_thankyou_benefits_section",
meeting: "view_thankyou_schedule_meeting_section",
};
let elements;
onMounted(() => {
Expand All @@ -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) {
Expand Down

0 comments on commit 352056e

Please sign in to comment.