<% if weather_art.image.attached? %> <%= image_tag weather_art.preview_image.processed, class: "w-full h-full object-cover transform hover:scale-105 transition-transform duration-500" %>
<%= weather_art.temperature %>°C
<%= weather_art.formatted_time(:date) %>
<%= weather_art.formatted_time(:time, true) %>
<% end %>

<%= weather_description_icon(weather_art.description) %> <%= weather_art.description %>

<%= weather_stat_icon("humidity") %> Humidity: <%= weather_art.humidity %>%
<%= weather_stat_icon("wind") %> Wind: <%= weather_art.wind_scale %>
<%= link_to city_weather_art_path(weather_art.city, weather_art), class: "btn btn-primary btn-block" do %> View Details <% end %>