+ +
+
+

{app.selectedLocation?.name || 'WeatherLens'}

+ {#if app.selectedLocation?.isCurrent} + 📍 Current + {/if} +
+
+ + +
+
+ + + {#if app.error} +
+ ⚠️ {app.error} + +
+ {/if} + + + {#if geoError && !app.forecastData} +
+
🌍
+

Welcome to WeatherLens

+

{geoError}

+ +
+ {/if} + + + {#if app.loading && !app.forecastData} +
+
+

Loading weather data...

+
+ {/if} + + + {#if app.forecastData && app.selectedLocation} + +
+ + + + +
+ + +
+ + + + +
+ + +
+ {#if viewMode === 'current'} +
+ +
+ {:else if viewMode === 'hourly'} +
+ +
+ {:else if viewMode === 'daily'} +
+ +
+ {:else if viewMode === 'detail'} +
+ +
+ {/if} +
+ {/if} +