feat: add hotel details and list components with routing

This commit is contained in:
Jan K9f 2024-11-12 09:18:15 +01:00
commit 8dd8b8b438
Signed by: jank
GPG key ID: B267751B8AE29EFE
15 changed files with 181 additions and 66 deletions

View file

@ -7,4 +7,5 @@
}
</select>
<img src="{{hotel.imageUrl}}" alt="Hotel">
<a *ngIf="!isDetail" routerLink="/hotels/{{hotel.id}}">Details</a>
<app-star-rating [rating]="hotel.rating"></app-star-rating>