new route added

This commit is contained in:
rakesh 2022-07-13 12:42:06 +05:30
parent f08b8edf81
commit 42fa2b55dc
2 changed files with 40 additions and 0 deletions

View File

@ -300,6 +300,16 @@ export default [
}, },
} }
}, },
{
path: 'holiday-assets',
name: 'HolidayAssetsPage',
component: () => import(/* webpackChunkName: "Holiday Assets Page" */ '@/routes/retailer/holiday_assets.vue'),
meta: {
breadcrumb: {
label: 'Holiday Assets Page',
},
}
},
] ]
}, },

View File

@ -0,0 +1,30 @@
<template>
<v-container>
<div class="homepage-overflow-x-hidden white" v-if="holidayAssetsPage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="holidayAssetsPage.content"></div>
</div>
</v-container>
</template>
<script>
/* eslint-disable */
export default {
name: "ResourcesPage",
computed: {
holidayAssetsPage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "holiday-assets";
})[0];
}
return data;
},
},
};
</script>
<style src="./resources.scss" lang="scss" scoped/>