1
0
Commit Graph

10 Commits

Author SHA1 Message Date
Jose
fa1b457004 Refactor frontend components and contexts for improved structure and functionality
- Removed unnecessary comments and documentation from CardContainer, Header, HistoryCharts, MenuButton, PollutionMap, SideMenu, SummaryCards, and ThemeButton components.
- Updated import paths to use aliasing for cleaner code.
- Replaced the old context implementations (ConfigContext, DataContext, ThemeContext) with new hooks and context structure for better state management.
- Introduced a new axios instance for API calls to streamline requests.
- Added new utility functions for date and error parsing.
- Updated the main entry point and pages to reflect new context and component structures.
- Created new configuration files for development and production environments.
- Enhanced data fetching logic with improved error handling and loading states.
2025-05-06 03:52:24 +02:00
Jose
6c86f85ff1 Remove WebServerVerticle and update API endpoints in settings.json; fix base URL formatting in multiple components 2025-04-24 02:46:07 +02:00
Jose
c766ab68a1 changes on frontend 2025-03-17 02:24:24 +01:00
Jose
b6ecccdf00 Modified Frontend for it to use new endpoints 2025-03-16 04:49:23 +01:00
Jose
6cc3c6525e Big changes on API and Frontend 2025-03-11 23:58:11 +01:00
Jose
1a0848805b New endpoints for latest data 2025-03-11 20:39:00 +01:00
Jose
a6019111b5 Fixed CORS error 2025-03-06 16:52:27 +01:00
Jose
c9d9aa9ad3 dynamic time labels 2025-02-27 08:42:24 +01:00
Jose
40b8f49b89 moved ConfigProvider up in the hierarchy (to main.jsx) to wrap the whole App 2025-02-26 21:08:19 +01:00
Jose
cf9d5e71fe Recovered from backup 2025-02-26 19:42:35 +01:00