new route added
This commit is contained in:
parent
f08b8edf81
commit
42fa2b55dc
|
@ -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',
|
||||
},
|
||||
}
|
||||
},
|
||||
|
||||
]
|
||||
},
|
||||
|
|
|
@ -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/>
|
Loading…
Reference in New Issue