fix img
This commit is contained in:
BIN
src/assets/images/bottom_cta.png
Normal file
BIN
src/assets/images/bottom_cta.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.7 KiB |
@@ -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>
|
||||
@@ -130,7 +130,6 @@
|
||||
link
|
||||
link2
|
||||
link3
|
||||
image
|
||||
}
|
||||
comparisonMain{
|
||||
id
|
||||
|
||||
Reference in New Issue
Block a user