chore: optimize hero image so the site loads faster

This commit is contained in:
Nelson Jovel 2024-11-21 14:42:22 -08:00
parent fc8a8f59ca
commit df32287ec1
3 changed files with 1 additions and 2 deletions

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 4.8 MiB

BIN
app/assets/images/hero.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 58 KiB

View file

@ -7,7 +7,7 @@
@import "partials/footer";
.hero-image {
background-image: url(hero.svg);
background-image: url(hero.webp);
background-repeat: no-repeat;
background-position: center center;
background-size: cover;