- 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.
13 lines
375 B
JavaScript
13 lines
375 B
JavaScript
import '@/css/Home.css';
|
|
|
|
const Home = () => {
|
|
return (
|
|
<div className='container mt-5 text-center align-items-center justify-content-center'>
|
|
<h1 className="display-1 color-animated-bold mb-4">No sé que poner XD</h1>
|
|
<img className="img-fluid image-animated-bold" src="/images/etsii.gif" />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
|
|
export default Home; |