diff --git a/app/page.tsx b/app/page.tsx index d8b4f4e..7b1a90a 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -424,22 +424,13 @@ function HomeTab({ weather, sensors }: { weather: WeatherData | null; sensors: S padding: '18px 22px 24px', display: 'flex', flexDirection: 'column', gap: 14, }}> - {/* ───── Greeting row ───── */} -
-

- {greeting} 👋 -

-
- {new Date().toLocaleDateString('ru-RU', { weekday: 'long', day: 'numeric', month: 'long' })} -
-
+ {/* ───── Greeting ───── */} +

+ {greeting} 👋 +

{/* ───── Bento row: Hero weather + Tram ───── */}
@@ -577,10 +568,10 @@ function HomeTab({ weather, sensors }: { weather: WeatherData | null; sensors: S )} {/* ───── Events + Notes row ───── */} -
+
{/* Events — today + tomorrow in one card */} -
+
{/* Today */}
@@ -659,7 +650,7 @@ function HomeTab({ weather, sensors }: { weather: WeatherData | null; sensors: S
{/* Notes */} -
+
Заметки diff --git a/components/TopBar.tsx b/components/TopBar.tsx index 3a8ef8f..a3464a9 100644 --- a/components/TopBar.tsx +++ b/components/TopBar.tsx @@ -44,7 +44,7 @@ export default function TopBar({ sensors, haConnected }: TopBarProps) { alignItems: 'center', justifyContent: 'space-between', padding: '0 24px', - borderBottom: '1px solid rgba(255,255,255,0.04)', + borderBottom: '1px solid var(--hairline)', background: 'transparent', flexShrink: 0, position: 'relative', @@ -82,17 +82,17 @@ export default function TopBar({ sensors, haConnected }: TopBarProps) {
- + {sensors.temperature}° - + {sensors.humidity}% - + {sensors.pm25}