Add missing link to link block

This commit is contained in:
KingOfDog 2020-08-22 13:11:38 +02:00
parent 0a63d935e7
commit e4a73ad77b

View File

@ -1,12 +1,14 @@
<template>
<div class="link-block">
<div class="link-block-meta">
<div class="link-block-title">{{data.meta.title}}</div>
<p class="link-block-description">{{data.meta.description}}</p>
<div class="link-block-anchor">{{domain}}</div>
</div>
<a :href="data.link" class="link-block-href">
<div class="link-block-meta">
<div class="link-block-title">{{ data.meta.title }}</div>
<p class="link-block-description">{{ data.meta.description }}</p>
<div class="link-block-anchor">{{ domain }}</div>
</div>
<div class="link-block-image" :style="{ 'background-image': data.meta.image.url }"></div>
<div class="link-block-image" :style="{ backgroundImage: data.meta.image.url }"></div>
</a>
</div>
</template>
@ -19,4 +21,4 @@ export default {
}
}
};
</script>
</script>