♻️ 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',
|
minHeight: '100vh',
|
||||||
boxShadow: '0 0.25em 0.5em 0 rgba(0, 0, 0, 0.25)',
|
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',
|
backgroundPosition: 'center center',
|
||||||
backgroundAttachment: 'fixed',
|
backgroundAttachment: 'fixed',
|
||||||
backgroundSize: 'cover',
|
backgroundSize: 'cover',
|
||||||
|
|||||||
@@ -25,7 +25,7 @@ const MainPage = () => {
|
|||||||
ref={refIITLinfa}
|
ref={refIITLinfa}
|
||||||
scrollTarget={refIITModular}
|
scrollTarget={refIITModular}
|
||||||
anchor="bottom"
|
anchor="bottom"
|
||||||
image="images/IIT_Linfa.png"
|
image="images/IIT_Linfa.webp"
|
||||||
title="LINFA: An Intuitive Block-Programming Interface for Reconfigurable Robots"
|
title="LINFA: An Intuitive Block-Programming Interface for Reconfigurable Robots"
|
||||||
caption={
|
caption={
|
||||||
<>
|
<>
|
||||||
@@ -49,7 +49,7 @@ const MainPage = () => {
|
|||||||
anchor="right"
|
anchor="right"
|
||||||
// anchor="left"
|
// anchor="left"
|
||||||
image="images/IIT_Modular.png"
|
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"
|
title="Revamping HHCM's Modular: Swift Generation of Modular Robot Models"
|
||||||
caption={
|
caption={
|
||||||
<>
|
<>
|
||||||
@@ -71,7 +71,7 @@ const MainPage = () => {
|
|||||||
ref={refIITCalibration}
|
ref={refIITCalibration}
|
||||||
scrollTarget={refWUTThesis}
|
scrollTarget={refWUTThesis}
|
||||||
anchor="left"
|
anchor="left"
|
||||||
image="images/IIT_Modules.jpg"
|
image="images/IIT_Modules.webp"
|
||||||
title="Automated Actuators and Robotic Modules Calibration"
|
title="Automated Actuators and Robotic Modules Calibration"
|
||||||
caption={
|
caption={
|
||||||
<>
|
<>
|
||||||
@@ -92,6 +92,7 @@ const MainPage = () => {
|
|||||||
ref={refWUTThesis}
|
ref={refWUTThesis}
|
||||||
anchor="bottom"
|
anchor="bottom"
|
||||||
image="images/thesis.jpg"
|
image="images/thesis.jpg"
|
||||||
|
mobileImage="images/thesis.webp"
|
||||||
title="Voice Controlled Mobile Robot for Indoor Applications"
|
title="Voice Controlled Mobile Robot for Indoor Applications"
|
||||||
caption={
|
caption={
|
||||||
<>
|
<>
|
||||||
|
|||||||