Skip to content

Commit c240f2a

Browse files
committed
feat: add responsive image for mobile demo and adjust minor styling
1 parent 56a5d92 commit c240f2a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

docs/git-scope-demo-mobile-1.webp

389 KB
Loading

docs/index.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@
435435
}
436436

437437
.card-icon {
438-
color: var(--primary);
438+
color: #E9D5FF;
439439
background: rgba(139, 92, 246, 0.1);
440440
padding: 0.5rem;
441441
border-radius: 8px;
@@ -693,11 +693,11 @@ <h2 style="font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 2rem; font-weight
693693

694694
<div style="margin-top: 2rem; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;">
695695
<img src="https://img.shields.io/badge/Written_in-Go-00ADD8?style=flat-square&logo=go"
696-
alt="Written in Go" width="90" height="20">
696+
alt="Written in Go" height="20">
697697
<img src="https://img.shields.io/badge/License-MIT-green?style=flat-square" alt="MIT License"
698-
width="80" height="20">
698+
height="20">
699699
<img src="https://img.shields.io/badge/Speed-Blazing_Fast-f9bf2d?style=flat-square"
700-
alt="Blazing Fast" width="90" height="20">
700+
alt="Blazing Fast" height="20">
701701
</div>
702702
</div>
703703
</section>
@@ -710,6 +710,7 @@ <h2 style="font-size: clamp(2rem, 4vw, 2.5rem); margin-bottom: 2rem; font-weight
710710
<div class="dot green"></div>
711711
</div>
712712
<picture>
713+
<source media="(max-width: 768px)" srcset="git-scope-demo-mobile-1.webp" type="image/webp">
713714
<source srcset="git-scope-demo-1.webp" type="image/webp">
714715
<img src="demo-static.png" alt="Git Scope Demo" loading="lazy" width="1200" height="800"
715716
style="width: 100%; height: auto; display: block;" decoding="async" fetchpriority="low">

0 commit comments

Comments
 (0)