2024-11-19 08:28:09 +01:00
|
|
|
<div class="container p-4 mx-auto max-w-4xl">
|
|
|
|
<h1>{{'hello' | uppercase | text}}</h1>
|
|
|
|
<app-search [(input)]="search"></app-search>
|
2024-11-26 09:37:20 +01:00
|
|
|
<button routerLink="/create-hotel" mat-flat-button class="btn btn-primary bg-blue-500 text-white font-semibold py-2 px-4 rounded-md shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 my-4">Create New Hotel</button>
|
|
|
|
<div *ngIf="hotels[0].hotelName">
|
2024-11-19 08:28:09 +01:00
|
|
|
<div *ngFor="let hotel of hotels">
|
|
|
|
<app-hotel-item *ngIf="hotel.hotelName.toLowerCase().includes(search.toLowerCase())" [hotel]="hotel"></app-hotel-item>
|
|
|
|
</div>
|
2024-11-26 09:37:20 +01:00
|
|
|
</div>
|
2024-11-12 09:18:15 +01:00
|
|
|
</div>
|