feat: add language selection and currency formatting options

This commit is contained in:
Jan K9f 2024-09-17 07:47:38 +02:00
parent 698375b1bf
commit f96a09abc4
Signed by: jank
GPG key ID: B267751B8AE29EFE
7 changed files with 77 additions and 7 deletions

View file

@ -1,6 +1,11 @@
<h1>{{'hello' | uppercase | text}}</h1>
<app-search [(input)]="search"></app-search>
<div *ngFor="let hotel of hotels">
@if (hotel.hotelName.includes(search)) {
@for (hotel of hotels; track hotel.hotelId) {
@let should_show = search === "" || hotel.hotelName.includes(search);
@if (should_show) {
<app-hotel-item [hotel]="hotel"></app-hotel-item>
}
</div>
}
@if (!has_hotels()) {
<p>No hotels found</p>
}