From 568567f2f7a82e75f25c77629252ecedbb820c6a Mon Sep 17 00:00:00 2001 From: sosokker Date: Mon, 13 May 2024 01:30:15 +0700 Subject: [PATCH] Add Alert UI in stat page --- frontend/src/pages/Dashboard/Statistic.tsx | 30 +++++++++++++--------- 1 file changed, 18 insertions(+), 12 deletions(-) diff --git a/frontend/src/pages/Dashboard/Statistic.tsx b/frontend/src/pages/Dashboard/Statistic.tsx index ada29ba..c073fa2 100644 --- a/frontend/src/pages/Dashboard/Statistic.tsx +++ b/frontend/src/pages/Dashboard/Statistic.tsx @@ -8,6 +8,8 @@ import { FaTemperatureHigh, FaRegLightbulb } from 'react-icons/fa'; import { WiHumidity } from 'react-icons/wi'; import { PiFactoryBold } from 'react-icons/pi'; import { TbBuildingFactory } from 'react-icons/tb'; +import Alert from '../../components/Alert/Alert'; + import { fetchWeatherDataList, fetchOutdoorWeatherData, @@ -47,32 +49,28 @@ const Statistic: React.FC = () => { @@ -81,21 +79,29 @@ const Statistic: React.FC = () => { + {/* Recommendation Card */} +
+ +