From c5d8a744dd584749e0b920119b42e731e37e5f62 Mon Sep 17 00:00:00 2001 From: littleblack111 Date: Wed, 1 Nov 2023 20:37:29 +0800 Subject: optimize image loading thanks to squoosh and converted into webp --- src/css/ghrepo.css | 2 +- src/css/index.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/css/ghrepo.css b/src/css/ghrepo.css index ddc53a4d..2d1c800a 100644 --- a/src/css/ghrepo.css +++ b/src/css/ghrepo.css @@ -52,7 +52,7 @@ margin-top: 3em width: 100%; height: 100%; background-color: rgb(48, 60, 100); - background-image: url(/images/heigh-grass.jpg); + background-image: url(/images/heigh-grass.webp); background-position: center; background-repeat: no-repeat; background-size: cover; diff --git a/src/css/index.css b/src/css/index.css index 6a4d5544..8843ca0f 100644 --- a/src/css/index.css +++ b/src/css/index.css @@ -25,7 +25,7 @@ width: 100%; height: 100%; background-color: rgb(20, 53, 85); - background-image: url(/images/backgroundNightCity.jpg); + background-image: url(/images/backgroundNightCity.webp); background-position: center; background-repeat: no-repeat; background-size: cover; -- cgit v1.2.3