recommendations cleanup

This commit is contained in:
Peter Skrlj
2019-02-13 09:27:45 +01:00
parent f75174b039
commit ed1eabed31
2 changed files with 5 additions and 3 deletions

View File

@@ -1,10 +1,10 @@
<div class="container">
<div class="header" (click)="nextStage()">
<div class="header">
<img class="icon" src="/assets/images/Empfehlungen_Icon_blue.svg" />
<span>Empfehlungen</span>
</div>
<div class="books">
<div class="book" *ngFor="let book of books">
<div class="book" *ngFor="let book of books" (click)="openBook(book)">
<img [src]="book.image" />
<div class="info">
<span class="author">{{ book.author }}</span>

View File

@@ -24,7 +24,9 @@ export class RecommendationsComponent implements OnInit {
];
constructor() {}
nextStage() {}
openBook(book) {
// TODO: Implement navigation ?
}
ngOnInit() {}
}