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 7df7513 commit 8fed0c6
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 42 deletions.
74 changes: 34 additions & 40 deletions nuxt-frontend/components/partials/NewFooter.vue
Original file line number Diff line number Diff line change
Expand Up @@ -52,48 +52,42 @@
</div>
</template>

<script type="module">
<script setup>
import bg from "@/assets/images/footer/new-bg.svg";
import Config from "@/config.js";
export default {
data() {
return {
bg,
socialMediaIcons: [
{
url: Config.FACEBOOK_URL,
icon: "fa6-brands:facebook-f",
event: "tap_footer_facebook",
},
{
url: Config.INSTAGRAM_URL,
icon: "fa6-brands:instagram",
event: "tap_footer_instagram",
},
{
url: Config.TWITTER_URL,
icon: "fa6-brands:x-twitter",
event: "tap_footer_twitter",
},
{
url: Config.BLOG_URL,
icon: "fa6-brands:medium",
event: "tap_footer_medium",
},
{
url: Config.LINKEDIN_URL,
icon: "fa6-brands:linkedin-in",
event: "tap_footer_linkedin",
},
{
url: Config.YOUTUBE_URL,
icon: "fa6-brands:youtube",
event: "tap_footer_youtube",
},
],
};
const { $mixpanel } = useNuxtApp();
let socialMediaIcons = [
{
url: Config.FACEBOOK_URL,
icon: "fa6-brands:facebook-f",
event: "tap_footer_facebook",
},
{
url: Config.INSTAGRAM_URL,
icon: "fa6-brands:instagram",
event: "tap_footer_instagram",
},
{
url: Config.TWITTER_URL,
icon: "fa6-brands:x-twitter",
event: "tap_footer_twitter",
},
{
url: Config.BLOG_URL,
icon: "fa6-brands:medium",
event: "tap_footer_medium",
},
{
url: Config.LINKEDIN_URL,
icon: "fa6-brands:linkedin-in",
event: "tap_footer_linkedin",
},
{
url: Config.YOUTUBE_URL,
icon: "fa6-brands:youtube",
event: "tap_footer_youtube",
},
inject: ["mixpanel"],
};
];
</script>
4 changes: 2 additions & 2 deletions nuxt-frontend/pages/jobs/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
class="block md:hidden"
v-on:add-animation="handleAnimationOnScroll"
/>
<Career id="career" ref="footer"/>
<Career id="career" />
<FaqSection v-on:add-animation="handleAnimationOnScroll" />
<NewFooter />
<NewFooter ref="footer" />
</div>
</template>

Expand Down

0 comments on commit 8fed0c6

Please sign in to comment.