♻️ refactor(home): use webp images when possible

This commit is contained in:
2024-02-18 15:40:46 +01:00
parent de164affca
commit 4c156ade39
11 changed files with 5 additions and 4 deletions
Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 276 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 72 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 MiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 315 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 153 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 165 KiB

+1 -1
View File
@@ -13,7 +13,7 @@ const Hero = (props: { scrollTarget?: React.ForwardedRef<HTMLSelectElement> }) =
minHeight: '100vh',
boxShadow: '0 0.25em 0.5em 0 rgba(0, 0, 0, 0.25)',
backgroundImage: 'url("images/banner-blur.jpg")',
backgroundImage: 'url("images/banner-blur.webp")',
backgroundPosition: 'center center',
backgroundAttachment: 'fixed',
backgroundSize: 'cover',
+4 -3
View File
@@ -25,7 +25,7 @@ const MainPage = () => {
ref={refIITLinfa}
scrollTarget={refIITModular}
anchor="bottom"
image="images/IIT_Linfa.png"
image="images/IIT_Linfa.webp"
title="LINFA: An Intuitive Block-Programming Interface for Reconfigurable Robots"
caption={
<>
@@ -49,7 +49,7 @@ const MainPage = () => {
anchor="right"
// anchor="left"
image="images/IIT_Modular.png"
mobileImage="images/IIT_Modular_Mobile.png"
mobileImage="images/IIT_Modular_Mobile.webp"
title="Revamping HHCM's Modular: Swift Generation of Modular Robot Models"
caption={
<>
@@ -71,7 +71,7 @@ const MainPage = () => {
ref={refIITCalibration}
scrollTarget={refWUTThesis}
anchor="left"
image="images/IIT_Modules.jpg"
image="images/IIT_Modules.webp"
title="Automated Actuators and Robotic Modules Calibration"
caption={
<>
@@ -92,6 +92,7 @@ const MainPage = () => {
ref={refWUTThesis}
anchor="bottom"
image="images/thesis.jpg"
mobileImage="images/thesis.webp"
title="Voice Controlled Mobile Robot for Indoor Applications"
caption={
<>