feat: add hotel details and list components with routing

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

View file

@ -0,0 +1,7 @@
<h1>{{'hello' | uppercase | text}}</h1>
<app-search [(input)]="search"></app-search>
@if (hotels[0].hotelName) {
<div *ngFor="let hotel of hotels">
<app-hotel-item *ngIf="hotel.hotelName.includes(search)" [hotel]="hotel"></app-hotel-item>
</div>
}