Serve the version badge locally

This commit is contained in:
Formsmith
2026-07-19 16:10:57 +03:00
parent 7dc3854f84
commit 2ea508f991
2 changed files with 22 additions and 1 deletions
+1 -1
View File
@@ -19,7 +19,7 @@
<a href="https://github.com/Formsmith746/SketchForge-3D/stargazers"><img alt="Star SketchForge on GitHub" src="docs/media/badges/github-star.svg"></a>
<a href="https://github.com/sponsors/Formsmith746"><img alt="Sponsor SketchForge on GitHub" src="docs/media/badges/github-sponsor.svg"></a>
<img alt="Local first" src="https://img.shields.io/badge/local--first-no%20account-0ea5e9">
<img alt="Version 0.6.5" src="https://img.shields.io/badge/version-0.6.5-2563eb">
<img alt="Version 0.6.5" src="docs/media/badges/version-0.6.5.svg">
</p>
</div>
+21
View File
@@ -0,0 +1,21 @@
<svg xmlns="http://www.w3.org/2000/svg" width="91" height="20" role="img" aria-label="version: 0.6.5">
<title>Version 0.6.5</title>
<linearGradient id="badge-shadow" x2="0" y2="100%">
<stop offset="0" stop-color="#fff" stop-opacity=".12"/>
<stop offset="1" stop-opacity=".12"/>
</linearGradient>
<clipPath id="badge-shape">
<rect width="91" height="20" rx="3"/>
</clipPath>
<g clip-path="url(#badge-shape)">
<rect width="51" height="20" fill="#555"/>
<rect x="51" width="40" height="20" fill="#2563eb"/>
<rect width="91" height="20" fill="url(#badge-shadow)"/>
</g>
<g fill="#fff" font-family="Verdana,DejaVu Sans,sans-serif" font-size="11" text-anchor="middle">
<text x="25.5" y="15" fill="#010101" fill-opacity=".3">version</text>
<text x="25.5" y="14">version</text>
<text x="71" y="15" fill="#010101" fill-opacity=".3">0.6.5</text>
<text x="71" y="14">0.6.5</text>
</g>
</svg>

After

Width:  |  Height:  |  Size: 939 B