diff --git a/frontend/src/components/AppHeader.vue b/frontend/src/components/AppHeader.vue index 9f52698..4be5a93 100644 --- a/frontend/src/components/AppHeader.vue +++ b/frontend/src/components/AppHeader.vue @@ -208,7 +208,7 @@ router.afterEach(() => { } .nav-link { - color: var(--color-text-muted); + color: var(--color-text-secondary); text-decoration: none; font-size: 0.82rem; padding: 0.3rem 0.75rem; @@ -216,11 +216,11 @@ router.afterEach(() => { transition: background 0.15s, color 0.15s; } .nav-link:hover { - color: var(--color-text-secondary); + color: var(--color-text); background: var(--color-primary-tint); } .nav-link.router-link-active { - color: #c4b5fd; + color: var(--color-primary-solid); font-weight: 600; background: rgba(124, 58, 237, 0.25); box-shadow: 0 0 16px rgba(124, 58, 237, 0.3); diff --git a/frontend/src/views/BriefingView.vue b/frontend/src/views/BriefingView.vue index 9653ecc..53a6c63 100644 --- a/frontend/src/views/BriefingView.vue +++ b/frontend/src/views/BriefingView.vue @@ -74,6 +74,10 @@ let currentWeatherTimer: ReturnType | null = null async function loadCurrentConditions() { try { currentConditions.value = await apiGet('/api/briefing/weather/current') + // Patch the live temperature into the WeatherCard so it stays fresh + if (currentConditions.value?.temperature != null && weatherData.value.length > 0) { + weatherData.value[0] = { ...weatherData.value[0], current_temp: currentConditions.value.temperature } + } } catch { /* silent — endpoint may not have locations configured */ } } @@ -260,14 +264,6 @@ onMounted(async () => {
Weather
- -
-
{{ currentConditions.temperature }}°{{ currentConditions.temp_unit }}
-
{{ currentConditions.description }}
-
- Rain next 3h: {{ currentConditions.precip_next_3h.map((p: number) => `${p}%`).join(', ') }} -
-