<a :href="item.url" :target="item.target" rel="noreferrer">
<div
class="card-content"
- :style="(item.color && item.color.background) ? {backgroundColor: item.color.background} : null"
+ :style="(item.colors && item.colors.background) ? {backgroundColor: item.colors.background} : null"
>
<div class="media">
<div v-if="item.logo" class="media-left">
<div class="media-content">
<p
class="title is-4"
- :style="(item.color && item.color.text) ? {color: item.color.text} : null"
+ :style="(item.colors && item.colors.text) ? {color: item.colors.text} : null"
>{{ item.name }}</p>
<p
class="subtitle is-6"
- :style="(item.color && item.color.text) ? {color: item.color.text} : null"
+ :style="(item.colors && item.colors.text) ? {color: item.colors.text} : null"
>{{ item.subtitle }}</p>
</div>
</div>