1
0
Commit Graph

15 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
a4fe915c2a changes in frontend 2025-03-17 02:34:54 +01: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
f00c9cdac0 Add entities package 2025-03-13 14:16:50 +01:00
Jose
6cc3c6525e Big changes on API and Frontend 2025-03-11 23:58:11 +01:00
Jose
a6019111b5 Fixed CORS error 2025-03-06 16:52:27 +01:00
Jose
6e04f364f1 side menu to the left and icons in cards as props 2025-02-27 11:02:55 +01:00
Jose
c9d9aa9ad3 dynamic time labels 2025-02-27 08:42:24 +01:00
Jose
62ef5d9325 fixed header not blurring 2025-02-27 01:47:04 +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