This PR adds weather widgets to the homepage below the TradingView widgets. It addresses Issue #8.
Summary of Changes
Modified the homepage layout to add a new section below the TradingView widgets for the weather widgets.
Created a new component, WeatherWidget, to render the weather widget for a specific location.
Created a new container component, WeatherWidgetContainer, to handle the logic for fetching weather information for multiple locations and rendering the WeatherWidget component.
Created a new file, api.ts, to handle API requests for fetching weather information.
Created a new file, format.ts, to handle formatting of weather data.
Added appropriate HTML and CSS to structure and style the weather widget section.
Fetch weather information for the specified locations (London, Edinburgh, and Alicante) using the weather API and display it in the weather widgets.
Please review and merge this PR to add the requested weather widgets to the homepage.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
git checkout sweep/add-weather-widgets
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.
Description
This PR adds weather widgets to the homepage below the TradingView widgets. It addresses Issue #8.
Summary of Changes
WeatherWidget
, to render the weather widget for a specific location.WeatherWidgetContainer
, to handle the logic for fetching weather information for multiple locations and rendering theWeatherWidget
component.api.ts
, to handle API requests for fetching weather information.format.ts
, to handle formatting of weather data.Please review and merge this PR to add the requested weather widgets to the homepage.
Fixes #8.
To checkout this PR branch, run the following command in your terminal:
To get Sweep to edit this pull request, leave a comment below or in the code. Leaving a comment in the code will only modify the file but commenting below can change the entire PR.