♻️ refactor(home): use webp images when possible
|
After Width: | Height: | Size: 49 KiB |
|
After Width: | Height: | Size: 276 KiB |
|
After Width: | Height: | Size: 68 KiB |
|
After Width: | Height: | Size: 72 KiB |
|
After Width: | Height: | Size: 1.1 MiB |
|
After Width: | Height: | Size: 2.2 MiB |
|
After Width: | Height: | Size: 315 KiB |
|
After Width: | Height: | Size: 153 KiB |
|
After Width: | Height: | Size: 165 KiB |
@@ -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',
|
||||
|
||||
@@ -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={
|
||||
<>
|
||||
|
||||