Merge branch 'dev' of git.treelet.net:crane/retailer-vue into beta

This commit is contained in:
sidharth 2022-02-12 16:24:19 +05:30
commit c9f3457b33
6 changed files with 121 additions and 21 deletions

View File

@ -1,6 +1,10 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Boxed Products & Ordering</div> <div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Boxed Products & Ordering</div>
<div class="padding-space"> <div class="padding-space">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
@ -47,8 +51,8 @@
<div> <div>
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
<router-link class="text-decoration-none whyteTmin10-font" to=""> <router-link class="text-decoration-none whyteTmin10-font" to="">
<!-- to to
@click.native="gotoLink('http://emarketing.crane.com/retailer-portal/Crane-Stationery-2021-Boxed-Holiday-Price-List.xlsx')" --> @click.native="gotoLink('http://emarketing.crane.com/retailer-portal/Crane-Stationery-2021-Boxed-Holiday-Price-List.xlsx')"
<div <div
:class="hover ? 'primary--text' : 'black--text'" :class="hover ? 'primary--text' : 'black--text'"
class="subheading" class="subheading"
@ -116,7 +120,7 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
@ -130,6 +134,19 @@ export default {
//} //}
}, },
}, },
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "boxed-products-ordering";
})[0];
}
return data;
},
},
}; };
</script> </script>

View File

@ -1,6 +1,11 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Retailer Communications</div>
<div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Retailer Communications</div>
<div class="padding-space"> <div class="padding-space">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
@ -246,12 +251,25 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
export default { export default {
name: "ContactUs", name: "ContactUs",
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "contact-us";
})[0];
}
return data;
},
},
}; };
</script> </script>

View File

@ -1,8 +1,11 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Marketing Tools & Promotions</div>
<div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Marketing Tools & Promotions</div>
<div class="padding-space"> <div class="padding-space">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
@ -69,12 +72,25 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
export default { export default {
name: "MarketingToolsPromotions", name: "MarketingToolsPromotions",
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "marketing-tools-promotions";
})[0];
}
return data;
},
},
}; };
</script> </script>

View File

@ -1,7 +1,11 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Personalized Products & Ordering</div> <div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Personalized Products & Ordering</div>
<div class="padding-space"> <div class="padding-space">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
@ -95,7 +99,7 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
@ -106,6 +110,19 @@ export default {
window.open(pageLink, "_blank"); window.open(pageLink, "_blank");
}, },
}, },
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "personalized-products-ordering";
})[0];
}
return data;
},
},
}; };
</script> </script>

View File

@ -2,7 +2,11 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Retailer Communications</div> <div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Retailer Communications</div>
<div class="padding-space"> <div class="padding-space">
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
@ -36,12 +40,25 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
export default { export default {
name: "RetailerCommunications", name: "RetailerCommunications",
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "retailer-communications";
})[0];
}
return data;
},
},
}; };
</script> </script>

View File

@ -1,9 +1,11 @@
<template> <template>
<v-container> <v-container>
<div class="h3 my-5 py-5 body-font1">Training</div> <div class="homepage-overflow-x-hidden white" v-if="resourcePage">
<div class="h3 my-5 py-5 body-font1">{{ resourcePage.contentHeading }}</div>
<div v-html="resourcePage.content"></div>
</div>
<!-- <div class="h3 my-5 py-5 body-font1">Training</div>
<div><b>PDS Training Materials</b></div> <div><b>PDS Training Materials</b></div>
<div class="padding-space">PDS Documentation</div> <div class="padding-space">PDS Documentation</div>
<div> <div>
@ -165,8 +167,8 @@
<div> <div>
<v-hover v-slot:default="{ hover }"> <v-hover v-slot:default="{ hover }">
<router-link class="text-decoration-none whyteTmin10-font" to=""> <router-link class="text-decoration-none whyteTmin10-font" to="">
<!-- to --> to
<!-- @click.native="gotoLink('https://www.dropbox.com/s/md6dxx0hahlkd4l/2021%20PDS%20Refresh.mp4?dl=0')" --> @click.native="gotoLink('https://www.dropbox.com/s/md6dxx0hahlkd4l/2021%20PDS%20Refresh.mp4?dl=0')"
<div <div
:class="hover ? 'primary--text' : 'black--text'" :class="hover ? 'primary--text' : 'black--text'"
class="subheading" class="subheading"
@ -316,7 +318,7 @@
</div> </div>
</router-link> </router-link>
</v-hover> </v-hover>
</div> </div> -->
</v-container> </v-container>
</template> </template>
<script> <script>
@ -327,6 +329,19 @@ export default {
window.open(pageLink, "_blank"); window.open(pageLink, "_blank");
}, },
}, },
computed: {
resourcePage: function () {
let data = null;
let pageContent = this.$store.state.layout.pageContent;
if (pageContent.length) {
data = pageContent.filter((element) => {
return element.identifier === "training";
})[0];
}
return data;
},
},
}; };
</script> </script>