1
0
Commit Graph

7 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
c766ab68a1 changes on frontend 2025-03-17 02:24:24 +01:00
Jose
6cc3c6525e Big changes on API and Frontend 2025-03-11 23:58:11 +01:00
Jose
49463d19a2 added: fontawesome
created an experimental side menu for linking various pages in the to-be-implemented React Router
2025-02-27 01:44:04 +01:00
Jose
f20caa89d2 added: docs to all components and jsx files 2025-02-26 21:29:36 +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