Skip to content

Commit f989afe

Browse files
committed
docs: replace GIF with optimized WebP demo in README and landing page
1 parent 9be93c3 commit f989afe

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
88

99
<p align="center">
10-
<img src="demo.gif" alt="git-scope demo" width="600">
10+
<img src="docs/git-scope-demo.webp" alt="git-scope demo" width="600">
1111
</p>
1212

1313
**[🌐 Visit the Landing Page](https://bharath-code.github.io/git-scope/)**

docs/git-scope-demo.webp

354 KB
Loading

docs/index.html

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -560,8 +560,11 @@ <h2 style="font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 2rem; font-weight
560560
<div class="dot yellow"></div>
561561
<div class="dot green"></div>
562562
</div>
563-
<img src="https://raw.githubusercontent.com/Bharath-code/git-scope/main/demo.gif"
564-
onerror="this.onerror=null; this.src='demo-static.png'" alt="Git Scope Demo GIF">
563+
<picture>
564+
<source srcset="git-scope-demo.webp" type="image/webp">
565+
<img src="demo-static.png" alt="Git Scope Demo" loading="lazy" width="1200" height="800"
566+
style="width: 100%; height: auto; display: block;">
567+
</picture>
565568
</div>
566569
</section>
567570

0 commit comments

Comments
 (0)