Dynamic images
This commit is contained in:
5
public/js/app.js
vendored
5
public/js/app.js
vendored
@@ -19981,9 +19981,8 @@ var render = function() {
|
|||||||
_c("div", {
|
_c("div", {
|
||||||
staticClass:
|
staticClass:
|
||||||
"h-48 lg:w-48 flex-none bg-cover text-center overflow-hidden opacity-75 rounded-lg",
|
"h-48 lg:w-48 flex-none bg-cover text-center overflow-hidden opacity-75 rounded-lg",
|
||||||
staticStyle: {
|
style: {
|
||||||
"background-image":
|
"background-image": "url(" + story.featured_image + ")"
|
||||||
"url('https://images-01.avas.mv/post/big_RuM5p2M10OjKIYZf8SrS6aeHb.jpg')"
|
|
||||||
},
|
},
|
||||||
attrs: { title: "deit is very important" }
|
attrs: { title: "deit is very important" }
|
||||||
})
|
})
|
||||||
|
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<div
|
<div
|
||||||
class="h-48 lg:w-48 flex-none bg-cover text-center overflow-hidden opacity-75 rounded-lg"
|
class="h-48 lg:w-48 flex-none bg-cover text-center overflow-hidden opacity-75 rounded-lg"
|
||||||
style="background-image: url('https://images-01.avas.mv/post/big_RuM5p2M10OjKIYZf8SrS6aeHb.jpg')"
|
:style="{ 'background-image': 'url(' + story.featured_image + ')' }"
|
||||||
title="deit is very important"
|
title="deit is very important"
|
||||||
></div>
|
></div>
|
||||||
</a>
|
</a>
|
||||||
|
Reference in New Issue
Block a user