adaharshsingh / Propacity

https://propacity-alpha.vercel.app
5 stars 36 forks source link

Added search bar on navbar with optimized code #62

Open Mugunth140 opened 1 month ago

Mugunth140 commented 1 month ago

The optimized WeatherCard component efficiently displays weather information such as temperature, wind speed, humidity, location, and current conditions. It dynamically selects the appropriate weather icon based on the iconString input, using a simplified object mapping approach. The temperature can be displayed in Celsius or Fahrenheit, and the component updates the displayed time using a custom hook. The code is more maintainable, with reduced repetition and improved readability.

vercel[bot] commented 1 month ago

Someone is attempting to deploy a commit to the adarsh's projects Team on Vercel.

A member of the Team first needs to authorize it.