]> git.immae.eu Git - github/bastienwirtz/homer.git/commitdiff
Rename color: to colors:
authorTom Pansino <2768420+tpansino@users.noreply.github.com>
Tue, 11 Aug 2020 00:25:43 +0000 (17:25 -0700)
committerTom Pansino <2768420+tpansino@users.noreply.github.com>
Tue, 11 Aug 2020 00:25:43 +0000 (17:25 -0700)
src/components/Service.vue

index 185d2a7723b099661a378c63b53832ff95b3e66b..1766af648c7bdbf25c99cdf4febc341a531459ff 100644 (file)
@@ -4,7 +4,7 @@
       <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>