Преглед на файлове

:sparkles: adding fallback image for cards | #145

tags/0.9.0
J преди 4 години
родител
ревизия
21946e25f0
променени са 2 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. Двоични данни
      vue-theme/src/assets/craft-in-america-logo-00-placeholder.jpg
  2. 1
    1
      vue-theme/src/components/featured-image.vue

Двоични данни
vue-theme/src/assets/craft-in-america-logo-00-placeholder.jpg Целия файл


+ 1
- 1
vue-theme/src/components/featured-image.vue Целия файл

@@ -6,7 +6,7 @@
6 6
     
7 7
     //- Errors
8 8
     p(v-else-if="hero && !hero.url") ERROR: hero url undefined
9
-    p(v-else) ERROR: no featured image or hero
9
+    img(v-else src="../assets/craft-in-america-logo-00-placeholder.jpg" alt="Placeholder - ERROR: no featured image or hero found")
10 10
 </template>
11 11
 
12 12
 <script>

Loading…
Отказ
Запис