Skip to content
This repository has been archived by the owner on Aug 27, 2020. It is now read-only.

Commit

Permalink
Add placeholder image
Browse files Browse the repository at this point in the history
  • Loading branch information
kaniak274 committed Nov 5, 2019
1 parent 52cf618 commit e03e3c3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 1 deletion.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,8 @@ Register image:
https://www.pexels.com/photo/construction-wall-house-door-64609/
Photo by Caio Resende from Pexels
```

Placeholder image:
```
https://icon-library.net/icon/placeholder-image-icon-7.html
```
6 changes: 5 additions & 1 deletion ebiznes/assets/components/ServiceTable.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,14 @@
<div class="grid-start">
<div class="service-grid" v-for="service in services.results" :key="service.id">
<div class="logo">
<!-- TODO EMPTY IMAGE -->
<img
v-if="service.service_logo"
class="img-fluid rounded"
:src="service.service_logo"/>
<img
v-else
class="img-fluid rounded"
src="../images/placeholder-image.jpg"/>
</div>
<div class="name">
<router-link
Expand Down
Binary file added ebiznes/assets/images/placeholder-image.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit e03e3c3

Please sign in to comment.