diff options
author | Gaëtan Caillaut <gcaillaut@protonmail.com> | 2021-03-06 13:56:44 +0100 |
---|---|---|
committer | Gaëtan Caillaut <gcaillaut@protonmail.com> | 2021-03-06 13:56:44 +0100 |
commit | 42477020cfed6d6dc035af4686f1802cf6b55024 (patch) | |
tree | f52eb8e4e3b798a77f0dce5adaf062dfa640be1d /src/App.vue | |
parent | cc7ff885527283d97f32347210b0370e8477c4ff (diff) | |
download | homer-42477020cfed6d6dc035af4686f1802cf6b55024.tar.gz homer-42477020cfed6d6dc035af4686f1802cf6b55024.tar.zst homer-42477020cfed6d6dc035af4686f1802cf6b55024.zip |
add option to use logo instead of icons in groups
Diffstat (limited to 'src/App.vue')
-rw-r--r-- | src/App.vue | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/App.vue b/src/App.vue index dc473ca..486ef03 100644 --- a/src/App.vue +++ b/src/App.vue | |||
@@ -62,6 +62,11 @@ | |||
62 | <template v-for="group in services"> | 62 | <template v-for="group in services"> |
63 | <h2 v-if="group.name" class="column is-full group-title"> | 63 | <h2 v-if="group.name" class="column is-full group-title"> |
64 | <i v-if="group.icon" :class="['fa-fw', group.icon]"></i> | 64 | <i v-if="group.icon" :class="['fa-fw', group.icon]"></i> |
65 | <div v-else-if="group.logo" class="group-logo media-left"> | ||
66 | <figure class="image is-48x48"> | ||
67 | <img :src="group.logo" :alt="`${group.name} logo`" /> | ||
68 | </figure> | ||
69 | </div> | ||
65 | {{ group.name }} | 70 | {{ group.name }} |
66 | </h2> | 71 | </h2> |
67 | <Service | 72 | <Service |
@@ -85,6 +90,11 @@ | |||
85 | > | 90 | > |
86 | <h2 v-if="group.name" class="group-title"> | 91 | <h2 v-if="group.name" class="group-title"> |
87 | <i v-if="group.icon" :class="['fa-fw', group.icon]"></i> | 92 | <i v-if="group.icon" :class="['fa-fw', group.icon]"></i> |
93 | <div v-else-if="group.logo" class="group-logo media-left"> | ||
94 | <figure class="image is-48x48"> | ||
95 | <img :src="group.logo" :alt="`${group.name} logo`" /> | ||
96 | </figure> | ||
97 | </div> | ||
88 | {{ group.name }} | 98 | {{ group.name }} |
89 | </h2> | 99 | </h2> |
90 | <Service | 100 | <Service |