feat(readme): replace hero widget image with composite widget example

This commit is contained in:
shay
2026-04-21 14:07:26 -04:00
parent 8941ed2f15
commit a06bd2a20c
18 changed files with 3953 additions and 0 deletions
+71
View File
@@ -0,0 +1,71 @@
<svg xmlns="http://www.w3.org/2000/svg" width="380" height="164" viewBox="0 0 380 164" 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="162" 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">LANGUAGES</text>
<g transform="translate(0, 36)">
<g transform="translate(16, 0)">
<circle cx="60" cy="64.0" r="44" fill="none" stroke="#3572A5" stroke-width="16"
stroke-dasharray="126.1 150.4" stroke-dashoffset="0.0"
transform="rotate(-90 60 64.0)" opacity="0.85">
<animate attributeName="stroke-dashoffset" from="276.5" to="0.0" dur="0.8s" fill="freeze"/>
</circle>
<circle cx="60" cy="64.0" r="44" fill="none" stroke="#3178c6" stroke-width="16"
stroke-dasharray="70.8 205.7" stroke-dashoffset="-126.1"
transform="rotate(-90 60 64.0)" opacity="0.85">
<animate attributeName="stroke-dashoffset" from="150.4" to="-126.1" dur="0.8s" fill="freeze"/>
</circle>
<circle cx="60" cy="64.0" r="44" fill="none" stroke="#00ADD8" stroke-width="16"
stroke-dasharray="46.2 230.3" stroke-dashoffset="-196.8"
transform="rotate(-90 60 64.0)" opacity="0.85">
<animate attributeName="stroke-dashoffset" from="79.6" to="-196.8" dur="0.8s" fill="freeze"/>
</circle>
<circle cx="60" cy="64.0" r="44" fill="none" stroke="#dea584" stroke-width="16"
stroke-dasharray="33.7 242.7" stroke-dashoffset="-243.0"
transform="rotate(-90 60 64.0)" opacity="0.85">
<animate attributeName="stroke-dashoffset" from="33.5" to="-243.0" dur="0.8s" fill="freeze"/>
</circle>
<circle cx="60" cy="64.0" r="28" fill="#1a2230"/>
<text x="60" y="65.0" text-anchor="middle" dominant-baseline="middle"
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="11" font-weight="700" fill="#d1d9e0">Python</text>
<g transform="translate(140, 20)">
<rect width="10" height="10" rx="2" fill="#3572A5"/>
<text x="16" y="9" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="12" fill="#d1d9e0">Python</text>
<text x="210" y="9" text-anchor="end" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="11" font-weight="600" fill="#7d8895">46%</text>
</g>
<g transform="translate(140, 42)">
<rect width="10" height="10" rx="2" fill="#3178c6"/>
<text x="16" y="9" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="12" fill="#d1d9e0">TypeScript</text>
<text x="210" y="9" text-anchor="end" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="11" font-weight="600" fill="#7d8895">26%</text>
</g>
<g transform="translate(140, 64)">
<rect width="10" height="10" rx="2" fill="#00ADD8"/>
<text x="16" y="9" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="12" fill="#d1d9e0">Go</text>
<text x="210" y="9" text-anchor="end" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="11" font-weight="600" fill="#7d8895">17%</text>
</g>
<g transform="translate(140, 86)">
<rect width="10" height="10" rx="2" fill="#dea584"/>
<text x="16" y="9" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="12" fill="#d1d9e0">Rust</text>
<text x="210" y="9" text-anchor="end" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
font-size="11" font-weight="600" fill="#7d8895">12%</text>
</g>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 4.2 KiB