weather icons again
This commit is contained in:
@@ -93,7 +93,7 @@ const Weather = () => {
|
||||
<div className="font-medium">
|
||||
{new Date(d.date).toLocaleDateString(undefined, { weekday: 'short' })}
|
||||
</div>
|
||||
<img alt="" className="mx-auto" width="40" height="40" src={`https://openweathermap.org/img/wn/${d.icon}.png`} />
|
||||
<img alt="" className="mx-auto" width="40" height="40" src={`https://openweathermap.org/img/wn/${d.icon}@2x.png`} />
|
||||
<div>{d.temperatureHigh}° / {d.temperatureLow}°</div>
|
||||
</div>
|
||||
))}
|
||||
|
||||
Reference in New Issue
Block a user