diff options
-rw-r--r-- | src/components/Service.vue | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/src/components/Service.vue b/src/components/Service.vue index 88e6e69..185d2a7 100644 --- a/src/components/Service.vue +++ b/src/components/Service.vue | |||
@@ -2,7 +2,10 @@ | |||
2 | <div> | 2 | <div> |
3 | <div class="card"> | 3 | <div class="card"> |
4 | <a :href="item.url" :target="item.target" rel="noreferrer"> | 4 | <a :href="item.url" :target="item.target" rel="noreferrer"> |
5 | <div class="card-content"> | 5 | <div |
6 | class="card-content" | ||
7 | :style="(item.color && item.color.background) ? {backgroundColor: item.color.background} : null" | ||
8 | > | ||
6 | <div class="media"> | 9 | <div class="media"> |
7 | <div v-if="item.logo" class="media-left"> | 10 | <div v-if="item.logo" class="media-left"> |
8 | <figure class="image is-48x48"> | 11 | <figure class="image is-48x48"> |
@@ -15,8 +18,14 @@ | |||
15 | </figure> | 18 | </figure> |
16 | </div> | 19 | </div> |
17 | <div class="media-content"> | 20 | <div class="media-content"> |
18 | <p class="title is-4">{{ item.name }}</p> | 21 | <p |
19 | <p class="subtitle is-6">{{ item.subtitle }}</p> | 22 | class="title is-4" |
23 | :style="(item.color && item.color.text) ? {color: item.color.text} : null" | ||
24 | >{{ item.name }}</p> | ||
25 | <p | ||
26 | class="subtitle is-6" | ||
27 | :style="(item.color && item.color.text) ? {color: item.color.text} : null" | ||
28 | >{{ item.subtitle }}</p> | ||
20 | </div> | 29 | </div> |
21 | </div> | 30 | </div> |
22 | <div class="tag" :class="item.tagstyle" v-if="item.tag"> | 31 | <div class="tag" :class="item.tagstyle" v-if="item.tag"> |