commit
This commit is contained in:
parent
4e2de806f5
commit
19cdc0ed86
1 changed files with 8 additions and 1 deletions
|
|
@ -37,6 +37,7 @@
|
||||||
<script>
|
<script>
|
||||||
import textLink from "@/ux-components/text-link/text-link";
|
import textLink from "@/ux-components/text-link/text-link";
|
||||||
import buttonMain from "@/ux-components/button-main/button-main";
|
import buttonMain from "@/ux-components/button-main/button-main";
|
||||||
|
import { issPageValues } from "@/router/router-constants/issPage-values"
|
||||||
|
|
||||||
export default {
|
export default {
|
||||||
name: "siteFooter",
|
name: "siteFooter",
|
||||||
|
|
@ -57,7 +58,7 @@ export default {
|
||||||
};
|
};
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
this.paddingHeight = this.getFooterInfoBoxHeight() + 24;
|
this.paddingHeight = this.includeFooterImage ? this.getFooterInfoBoxHeight() + 89 : this.getFooterInfoBoxHeight() + 24;
|
||||||
this.$nextTick(() => {
|
this.$nextTick(() => {
|
||||||
window.addEventListener("resize", this.onResize);
|
window.addEventListener("resize", this.onResize);
|
||||||
});
|
});
|
||||||
|
|
@ -80,6 +81,11 @@ export default {
|
||||||
footerImageURL()
|
footerImageURL()
|
||||||
{
|
{
|
||||||
return this.getCmsContent(this.cmsWidgetName, "FooterImageURL");
|
return this.getCmsContent(this.cmsWidgetName, "FooterImageURL");
|
||||||
|
},
|
||||||
|
includeFooterImage()
|
||||||
|
{
|
||||||
|
const currentPageName = this.getPageNameByQueryString();
|
||||||
|
return (currentPageName.toLowerCase() == issPageValues.WELCOME_PAGE);
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
|
@ -145,6 +151,7 @@ export default {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
position: sticky;
|
position: sticky;
|
||||||
bottom: 72px;
|
bottom: 72px;
|
||||||
|
|
||||||
}
|
}
|
||||||
#siteFooterImage
|
#siteFooterImage
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue