From 85dbe967ee2895b25e7a786e2ac1152a62c1132a Mon Sep 17 00:00:00 2001 From: Jan-Marlon Leibl Date: Tue, 19 Nov 2024 08:28:09 +0100 Subject: [PATCH] update styling and fix search to include lowercase --- src/app/Button/button.component.html | 2 +- src/app/Child/child.component.html | 8 ++++---- src/app/HotelItem/HotelItem.component.html | 17 +++++++---------- src/app/Search/search.component.html | 2 +- src/app/hotel-list/hotel-list.component.html | 14 ++++++++------ 5 files changed, 21 insertions(+), 22 deletions(-) diff --git a/src/app/Button/button.component.html b/src/app/Button/button.component.html index dadc758..54fb491 100644 --- a/src/app/Button/button.component.html +++ b/src/app/Button/button.component.html @@ -1 +1 @@ - + diff --git a/src/app/Child/child.component.html b/src/app/Child/child.component.html index 0718f0d..84f430a 100644 --- a/src/app/Child/child.component.html +++ b/src/app/Child/child.component.html @@ -1,4 +1,4 @@ -

Child

-

Balance: {{balance}}

-

Im broke. Now im about as poor as Jan-Marlon.

- +

Child

+

Balance: {{balance}}

+

I'm broke. Now I'm about as poor as Jan-Marlon.

+ diff --git a/src/app/HotelItem/HotelItem.component.html b/src/app/HotelItem/HotelItem.component.html index 1065705..5f2a078 100644 --- a/src/app/HotelItem/HotelItem.component.html +++ b/src/app/HotelItem/HotelItem.component.html @@ -1,11 +1,8 @@ -

Name: {{hotel.hotelName}}

-

Description: {{hotel.description}}

-

Price: {{hotel.price | currency : getCurrencyCode(selectedLanguage) : "symbol" : "2.2-2" : selectedLanguage}}

- + -Hotel -Details - +Hotel +Details diff --git a/src/app/Search/search.component.html b/src/app/Search/search.component.html index 3cc856a..a408279 100644 --- a/src/app/Search/search.component.html +++ b/src/app/Search/search.component.html @@ -1 +1 @@ - + diff --git a/src/app/hotel-list/hotel-list.component.html b/src/app/hotel-list/hotel-list.component.html index 8f8ec24..b4dd192 100644 --- a/src/app/hotel-list/hotel-list.component.html +++ b/src/app/hotel-list/hotel-list.component.html @@ -1,7 +1,9 @@ -

{{'hello' | uppercase | text}}

- -@if (hotels[0].hotelName) { -
- +
+

{{'hello' | uppercase | text}}

+ + @if (hotels[0].hotelName) { +
+ +
+ }
-} -- 2.45.2