Implements meteoChartsPage, fixed responsiveness overall

This commit is contained in:
litoral05
2026-06-01 12:07:56 +01:00
parent 540e4ed560
commit 6e44522782
21 changed files with 2276 additions and 881 deletions
+17 -1
View File
@@ -10,6 +10,7 @@ import { MainChartsPage } from "../features/maincharts/pages/MainChartsPage";
import { ChartWindowPage } from "../features/chartworkspace/pages/ChartWindowPage";
import { SettingsPage } from "../features/settings/pages/SettingsPage";
import SynopticPage from "../features/synoptic/pages/SynopticPage";
import MeteoChartsPage from "../features/meteo/pages/MeteoChartsPage";
export type AppPage =
| "dashboard"
@@ -44,7 +45,22 @@ function App() {
return (
<AppShell activePage={activePage} onNavigate={setActivePage}>
{({ theme }) => {
if (activePage === "meteo") return <MeteoPage theme={theme} />;
if (activePage === "meteo") {
return (
<MeteoPage
theme={theme}
onOpenMeteoCharts={() => setActivePage("meteoCharts")}
/>
);
}
if (activePage === "meteoCharts") {
return (
<MeteoChartsPage
theme={theme}
/>
);
}
if (activePage === "climateCharts") {
return <ClimateChartsPage theme={theme} />;