Merge branch 'develop' into feature/digital/SSR-179
This commit is contained in:
commit
bbffb5f18d
1 changed files with 7 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
|||
<script>
|
||||
import textLink from "@/ux-components/text-link/text-link";
|
||||
import buttonMain from "@/ux-components/button-main/button-main";
|
||||
import { issPageValues } from "@/router/router-constants/issPage-values"
|
||||
|
||||
export default {
|
||||
name: "siteFooter",
|
||||
|
|
@ -57,7 +58,7 @@ export default {
|
|||
};
|
||||
},
|
||||
mounted() {
|
||||
this.paddingHeight = this.getFooterInfoBoxHeight() + 24;
|
||||
this.paddingHeight = this.includeFooterImage ? this.getFooterInfoBoxHeight() + 16 : this.getFooterInfoBoxHeight() + 24;
|
||||
this.$nextTick(() => {
|
||||
window.addEventListener("resize", this.onResize);
|
||||
});
|
||||
|
|
@ -81,6 +82,11 @@ export default {
|
|||
{
|
||||
return this.getCmsContent(this.cmsWidgetName, "FooterImageURL");
|
||||
},
|
||||
includeFooterImage()
|
||||
{
|
||||
const currentPageName = this.getPageNameByQueryString();
|
||||
return (currentPageName.toLowerCase() == issPageValues.WELCOME_PAGE);
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
onResize() {
|
||||
|
|
|
|||
Loading…
Reference in a new issue