feat: add hotel item component and search functionality

This commit is contained in:
Jan K9f 2024-09-10 07:35:29 +02:00
commit 339dac3999
Signed by: jank
GPG key ID: B267751B8AE29EFE
13 changed files with 97 additions and 9 deletions

View file

@ -1 +1,4 @@
<app-parent></app-parent>
<app-search [(input)]="search"></app-search>
<div *ngFor="let hotel of hotels">
<app-hotel-item *ngIf="hotel.hotelName.includes(search)" [hotel]="hotel"></app-hotel-item>
</div>