Skip to content

Commit 58e6483

Browse files
committed
Optimize homepage GIFs with Cloudinary transformations for better performance
1 parent 998897d commit 58e6483

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/constants/placeholderImages.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export const PLACEHOLDER_IMAGES = {
5555
matrixArcadeStatic: 'https://res.cloudinary.com/depqttzlt/image/upload/v1767710994/matrixarcade2_kbbnaf.png',
5656

5757
// HomePage introduction images - GIFs and Video
58-
matrixArcadeGif: 'https://res.cloudinary.com/depqttzlt/image/upload/v1767712404/matrixarcadegif2_ubesub.gif',
58+
matrixArcadeGif: 'https://res.cloudinary.com/depqttzlt/image/upload/w_320,q_auto,f_auto/v1767712404/matrixarcadegif2_ubesub.gif',
5959
modelVizGif: 'https://res.cloudinary.com/depqttzlt/image/upload/v1767712413/modelvizgif2_wkl1lh.gif',
6060
morpheusVideo: 'https://res.cloudinary.com/depqttzlt/video/upload/v1767706547/2_1080_N_s5t1ww.mp4',
6161
morpheusGif: 'https://res.cloudinary.com/depqttzlt/image/upload/v1767712416/morpheusgif2_zdkku9.gif',

src/pages/HomePage.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -399,11 +399,11 @@ export const HomePage: React.FC = () => {
399399
<div className="introduction-img">
400400
<img src={PLACEHOLDER_IMAGES.matrixArcadeGif} alt="The Matrix Arcade - Interactive Gaming Portal" />
401401
<img
402-
src="https://res.cloudinary.com/depqttzlt/image/upload/v1768064855/Tom_Minimalist_3D_logo_of_Personal_with_a_glowing_neon-green__fd6f82e1-e17a-459f-825b-aee88269f44a_1_ecz9sh.gif"
402+
src="https://res.cloudinary.com/depqttzlt/image/upload/w_320,q_auto,f_auto/v1768064855/Tom_Minimalist_3D_logo_of_Personal_with_a_glowing_neon-green__fd6f82e1-e17a-459f-825b-aee88269f44a_1_ecz9sh.gif"
403403
alt="Personal Logo Animation"
404404
className="intro-featured"
405405
/>
406-
<img src="https://res.cloudinary.com/depqttzlt/image/upload/v1768067110/modelviz2short_ukdyda.gif" alt="ModelViz - AI Model Comparison Platform" />
406+
<img src="https://res.cloudinary.com/depqttzlt/image/upload/w_320,q_auto,f_auto/v1768067110/modelviz2short_ukdyda.gif" alt="ModelViz - AI Model Comparison Platform" />
407407
</div>
408408

409409
{/* Featured Projects Section */}

0 commit comments

Comments
 (0)