Skip to content

Commit 1a14208

Browse files
committed
Migrate story hero images to WebP.
1 parent 3cb8897 commit 1a14208

6 files changed

Lines changed: 2 additions & 2 deletions

File tree

public/images/ml-education.png

-2.46 MB
Binary file not shown.

public/images/ml-education.webp

96.6 KB
Loading

public/images/quantum-games.png

-3.17 MB
Binary file not shown.

public/images/quantum-gaming.webp

83.4 KB
Loading

src/pages/work/ml-education.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Layout from '../../layouts/Layout.astro';
1212
============================================= -->
1313
<div class="story-hero" id="story-hero">
1414
<div class="story-hero__image" id="story-hero-image"
15-
style={`background-image: url('${import.meta.env.BASE_URL}images/ml-education.png');`}>
15+
style={`background-image: url('${import.meta.env.BASE_URL}images/ml-education.webp');`}>
1616
</div>
1717
<div class="story-hero__scrim"></div>
1818
<div class="story-hero__content">

src/pages/work/quantum-gaming.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import Layout from '../../layouts/Layout.astro';
1212
============================================= -->
1313
<div class="story-hero" id="story-hero">
1414
<div class="story-hero__image" id="story-hero-image"
15-
style={`background-image: url('${import.meta.env.BASE_URL}images/quantum-games.png');`}>
15+
style={`background-image: url('${import.meta.env.BASE_URL}images/quantum-games.webp');`}>
1616
</div>
1717
<!-- For video, replace the preceding DIV with the following tag.
1818
<video

0 commit comments

Comments
 (0)