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 23, 2023
1 parent 3f1fd27 commit 81420f9
Showing 1 changed file with 34 additions and 40 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 @@ -47,48 +47,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,
hover: false,
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",
},
],
};
let bg;
let hover = false;
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",
},
];
</script>

0 comments on commit 81420f9

Please sign in to comment.