This commit is contained in:
2021-02-19 00:04:49 +02:00
parent 1c092c3c75
commit 178ea445b2
4 changed files with 8 additions and 11 deletions

View File

@@ -1,5 +1,5 @@
<template>
<section class="pb-20 px-4 bg-cover text-center" :style="img">
<section class="pb-20 px-4 bg-cover text-center bg-hero">
<br>
<br>
<br>
@@ -39,13 +39,11 @@
<script>
export default {
computed: {
img: function () {
if (this.cta.image.src)
return "background-image:url(" + this.cta.image.src + ")";
return this.cta.image;
},
},
props: ["cta"],
};
</script>
</script>
<style scoped>
.bg-hero {
background-image: url("~@/assets/images/bottom_cta.png");
}
</style>