From ed1e24252cf9e5501f1155b814a0fb4318d024de Mon Sep 17 00:00:00 2001 From: Sean Morley Date: Mon, 3 Feb 2025 19:18:46 -0500 Subject: [PATCH] feat: Enhance HotelModal with geocoding, custom location handling, and improved hotel initialization --- frontend/src/lib/components/HotelModal.svelte | 255 +++++++++++++----- 1 file changed, 184 insertions(+), 71 deletions(-) diff --git a/frontend/src/lib/components/HotelModal.svelte b/frontend/src/lib/components/HotelModal.svelte index 128f0ad..e44d1f8 100644 --- a/frontend/src/lib/components/HotelModal.svelte +++ b/frontend/src/lib/components/HotelModal.svelte @@ -1,83 +1,119 @@ @@ -303,6 +325,97 @@ +
+ +
+ {$t('adventures.location_information')} +
+
+ +
+
+
+ + {#if is_custom_location} + + {/if} +
+
+ +
+
+ + + +
+
+ {#if places.length > 0} +
+

{$t('adventures.search_results')}

+ +
+ {#each places as place} + + {/each} +
+
+ {:else if noPlaces} +

{$t('adventures.no_results')}

+ {/if} + +
+ + + + + {#each markers as marker} + + {/each} + +
+
+