Created
April 5, 2024 15:01
-
-
Save elmarputz/587a218aef745efb0a77ad4911c2136e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="ui middle aligned selection divided list"> | |
@for (book of books; track book) { | |
<a class="item"> | |
@if(book.images && book.images[0]) { | |
<img class="ui tiny image" [src]="book.images[0].url"/> | |
} | |
<div class="content"> | |
<div class="header">{{ book.title }}</div> | |
<div class="description"> {{ book.subtitle }} </div> | |
<div class="metadata"> | |
@for (author of book.authors; track author; let l =$last) { | |
<span>{{ author.firstName }} {{ author.lastName }}@if(!l){<span>, </span>}</span> | |
} | |
</div> | |
<div class="extra">ISBN {{ book.isbn }}</div> | |
</div> | |
</a> | |
} | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment