diff --git a/dist/index.html b/dist/index.html new file mode 100644 index 0000000..3cd4da2 --- /dev/null +++ b/dist/index.html @@ -0,0 +1,10643 @@ + + + + + + + WeatherLens + + + + +
+ + diff --git a/src/components/CurrentWeather.svelte b/src/components/CurrentWeather.svelte index 09f2441..2aeeb67 100644 --- a/src/components/CurrentWeather.svelte +++ b/src/components/CurrentWeather.svelte @@ -59,6 +59,13 @@ {/if} + {#if daily?.temperature_2m_max?.[0] != null && daily?.temperature_2m_min?.[0] != null} +
+ ▲ H {Math.round(daily.temperature_2m_max[0])}{unit} + ▼ L {Math.round(daily.temperature_2m_min[0])}{unit} +
+ {/if} +
@@ -182,6 +189,24 @@ color: var(--color-text-muted); } + /* Today's high / low range */ + .hero-range { + display: flex; + gap: 14px; + align-items: center; + margin-bottom: 20px; + font-size: 0.9rem; + font-weight: 600; + } + + .range-high { + color: #fca5a5; + } + + .range-low { + color: #7dd3fc; + } + /* Metrics grid */ .metrics-grid { display: grid;