From 1ed9e1983c12cb9eba227484cfcecb99a7c76738 Mon Sep 17 00:00:00 2001 From: Jan Klattenhoff Date: Tue, 14 Jan 2025 08:22:21 +0100 Subject: [PATCH] style: update button labels with emojis for clarity --- src/app/hotel-details/hotel-details.component.html | 2 +- src/app/hotel-form/hotel-form.component.html | 4 ++-- src/app/hotel-form/hotel-form.component.ts | 1 - src/app/new-hotel/new-hotel.component.html | 2 +- tailwind.config.js | 2 +- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/src/app/hotel-details/hotel-details.component.html b/src/app/hotel-details/hotel-details.component.html index 44ae281..0a145b5 100644 --- a/src/app/hotel-details/hotel-details.component.html +++ b/src/app/hotel-details/hotel-details.component.html @@ -1,5 +1,5 @@ @if (hotel) { - + } diff --git a/src/app/hotel-form/hotel-form.component.html b/src/app/hotel-form/hotel-form.component.html index ae7700c..21ccabc 100644 --- a/src/app/hotel-form/hotel-form.component.html +++ b/src/app/hotel-form/hotel-form.component.html @@ -13,6 +13,6 @@ - - Cancel + + 😭 Cancel diff --git a/src/app/hotel-form/hotel-form.component.ts b/src/app/hotel-form/hotel-form.component.ts index 67d523c..0ca2da5 100644 --- a/src/app/hotel-form/hotel-form.component.ts +++ b/src/app/hotel-form/hotel-form.component.ts @@ -35,7 +35,6 @@ export class HotelFormComponent { console.log(this.validationErrorMessages[key]); return this.validationErrorMessages[key] || `Unknown error: ${key}`; }).join(' '); - } } diff --git a/src/app/new-hotel/new-hotel.component.html b/src/app/new-hotel/new-hotel.component.html index 43f0369..1e7e9a1 100644 --- a/src/app/new-hotel/new-hotel.component.html +++ b/src/app/new-hotel/new-hotel.component.html @@ -17,7 +17,7 @@
{{ errorMessages['rating'] }}
- @for (tag of getTags().controls; track null) { + @for (tag of getTags().controls; track tag) { } diff --git a/tailwind.config.js b/tailwind.config.js index 53ccdac..154e026 100644 --- a/tailwind.config.js +++ b/tailwind.config.js @@ -19,7 +19,7 @@ module.exports = { }, }, animation: { - shake: 'shake 0.2s ease-in-out infinite', + shake: 'shake 10s ease-in-out infinite', }, }, },