Skip to content
This repository has been archived by the owner on Dec 27, 2024. It is now read-only.

Add weather widgets to homepage #9

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

sweep-ai[bot]
Copy link
Contributor

@sweep-ai sweep-ai bot commented Aug 6, 2023

Description

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.

@sweep-ai sweep-ai bot added the sweep Assigns Sweep to an issue or pull request. label Aug 6, 2023
@cloudflare-workers-and-pages
Copy link

cloudflare-workers-and-pages bot commented Aug 6, 2023

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5beaddb
Status:🚫  Build failed.

View logs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
sweep Assigns Sweep to an issue or pull request.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Sweep: make some weather widgets on the page below the TraidingVeiw Widgets
0 participants