- Update image tag to display the processed preview image
- Ensures better performance and visual consistency
This change improves the rendering of art images by using
processed versions, which may reduce load time and improve
appearance on the front end.
- Update to include a new 'random' scope in WeatherArt model.
- Modify HomeController to fetch random and popular arts along with latest arts.
- Refactor index.html.erb to utilize a partial for rendering arts.
This update improves the display of weather art by adding a new
random selection of arts alongside popular ones, increasing user
engagement and variety. The code structure is also cleaner due
to the use of a partial view for rendering arts, promoting
the DRY principle.