mirror of
https://github.com/ShayManor/github-readme-stats.git
synced 2026-12-02 11:53:48 +05:30
feat(readme): replace hero widget image with composite widget example
This commit is contained in:
@@ -0,0 +1,43 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="380" height="170" viewBox="0 0 380 170" fill="none">
|
||||
<defs>
|
||||
<filter id="shadow" x="-2%" y="-2%" width="104%" height="104%">
|
||||
<feDropShadow dx="0" dy="1" stdDeviation="2" flood-color="#000" flood-opacity="0.15"/>
|
||||
</filter>
|
||||
<clipPath id="avatarClip"><circle cx="0" cy="0" r="18"/></clipPath>
|
||||
</defs>
|
||||
<rect x="1" y="1" width="378" height="168" rx="10" ry="10"
|
||||
fill="#1a2230" stroke="#2a3444" stroke-width="1" filter="url(#shadow)"/>
|
||||
<text x="20" y="30" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans,Helvetica,Arial,sans-serif" font-size="11" font-weight="600" fill="#7d8895" letter-spacing="0.8" opacity="0.7">STREAKS</text>
|
||||
<g transform="translate(0, 36)">
|
||||
|
||||
<text x="105" y="22" text-anchor="middle"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="600" letter-spacing="1.4"
|
||||
fill="#7d8895">CURRENT</text>
|
||||
<text x="105" y="66" text-anchor="middle"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="40" font-weight="800" fill="#3fb950">23</text>
|
||||
|
||||
<text x="275" y="22" text-anchor="middle"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="600" letter-spacing="1.4"
|
||||
fill="#7d8895">LONGEST</text>
|
||||
<text x="275" y="66" text-anchor="middle"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="40" font-weight="800" fill="#d1d9e0">61</text>
|
||||
|
||||
<line x1="190" y1="10" x2="190" y2="76"
|
||||
stroke="#2a3444" stroke-width="1"/>
|
||||
|
||||
<rect x="50" y="92" width="280" height="5" rx="2.5" fill="#1e2836"/>
|
||||
<rect x="50" y="92" width="105.57" height="5" rx="2.5" fill="#3fb950"/>
|
||||
<circle cx="155.57" cy="94.5" r="3.5" fill="#3fb950"/>
|
||||
|
||||
<text x="50" y="116"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" fill="#7d8895">Mar 30 – Today</text>
|
||||
<text x="330" y="116" text-anchor="end"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" fill="#7d8895">Sep 13 – Nov 12, 2025</text>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 2.3 KiB |
Reference in New Issue
Block a user