fix img
This commit is contained in:
@@ -7,7 +7,7 @@ button2: Spread Our Message
|
||||
link2: 'https://wiki.threefold.io/#/getinvolved' #Add button link here
|
||||
button3: Join Our Community
|
||||
link3: 'https://t.me/threefoldnews' #Add button link here
|
||||
image: ./bottom_cta.png
|
||||
|
||||
---
|
||||
|
||||
Be part of a better tomorrow, today.
|
||||
|
||||
|
Before Width: | Height: | Size: 2.7 KiB 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