Dynamic images

This commit is contained in:
2020-08-10 06:45:52 +05:00
parent fa33aa2e8b
commit a16eaa3afc
2 changed files with 3 additions and 4 deletions

5
public/js/app.js vendored
View File

@@ -19981,9 +19981,8 @@ var render = function() {
_c("div", {
staticClass:
"h-48 lg:w-48 flex-none bg-cover text-center overflow-hidden opacity-75 rounded-lg",
staticStyle: {
"background-image":
"url('https://images-01.avas.mv/post/big_RuM5p2M10OjKIYZf8SrS6aeHb.jpg')"
style: {
"background-image": "url(" + story.featured_image + ")"
},
attrs: { title: "deit is very important" }
})

View File

@@ -46,7 +46,7 @@
<div
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"
></div>
</a>