feat: add hotel details and list components with routing
This commit is contained in:
parent
d773cfe4bf
commit
8dd8b8b438
15 changed files with 181 additions and 66 deletions
|
@ -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>
|
||||
|
|
Reference in a new issue