temperatura, sugestao do stor

This commit is contained in:
2026-05-09 21:08:53 +01:00
parent 634b99b10c
commit 62b85e5c49

View File

@@ -1744,9 +1744,14 @@ export default function App() {
<div className="flex items-center gap-1.5"> <div className="flex items-center gap-1.5">
<span className={`text-xs font-black ${isToday ? 'text-white' : ''}`}>{date.getDate()}</span> <span className={`text-xs font-black ${isToday ? 'text-white' : ''}`}>{date.getDate()}</span>
{dayWeather && ( {dayWeather && (
<span className="text-sm drop-shadow-sm" title={`${dayWeather.min}ºC - ${dayWeather.max}ºC`}> <div className="flex items-center gap-1 text-xs" title={`${dayWeather.min}ºC - ${dayWeather.max}ºC`}>
{getWeatherEmoji(dayWeather.weathercode)} <span className="text-sm drop-shadow-sm">
</span> {getWeatherEmoji(dayWeather.weathercode)}
</span>
<span className={`text-[10px] font-black ${isToday ? 'text-white/90' : 'text-gray-500 dark:text-gray-400'}`}>
{Math.round((dayWeather.min + dayWeather.max) / 2)}°C
</span>
</div>
)} )}
</div> </div>
{isToday && <span className="text-[8px] font-black text-white/80 uppercase tracking-widest">{t('today')}</span>} {isToday && <span className="text-[8px] font-black text-white/80 uppercase tracking-widest">{t('today')}</span>}