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
|
link2: 'https://wiki.threefold.io/#/getinvolved' #Add button link here
|
||||||
button3: Join Our Community
|
button3: Join Our Community
|
||||||
link3: 'https://t.me/threefoldnews' #Add button link here
|
link3: 'https://t.me/threefoldnews' #Add button link here
|
||||||
image: ./bottom_cta.png
|
|
||||||
---
|
---
|
||||||
|
|
||||||
Be part of a better tomorrow, today.
|
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>
|
<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>
|
<br>
|
||||||
<br>
|
<br>
|
||||||
@@ -39,13 +39,11 @@
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
export default {
|
export default {
|
||||||
computed: {
|
|
||||||
img: function () {
|
|
||||||
if (this.cta.image.src)
|
|
||||||
return "background-image:url(" + this.cta.image.src + ")";
|
|
||||||
return this.cta.image;
|
|
||||||
},
|
|
||||||
},
|
|
||||||
props: ["cta"],
|
props: ["cta"],
|
||||||
};
|
};
|
||||||
</script>
|
</script>
|
||||||
|
<style scoped>
|
||||||
|
.bg-hero {
|
||||||
|
background-image: url("~@/assets/images/bottom_cta.png");
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -130,7 +130,6 @@
|
|||||||
link
|
link
|
||||||
link2
|
link2
|
||||||
link3
|
link3
|
||||||
image
|
|
||||||
}
|
}
|
||||||
comparisonMain{
|
comparisonMain{
|
||||||
id
|
id
|
||||||
|
|||||||
Reference in New Issue
Block a user