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,113 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" width="380" height="226" viewBox="0 0 380 226" 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="224" rx="10" ry="10"
|
||||
fill="#1a2230" stroke="#2a3444" stroke-width="1" filter="url(#shadow)"/>
|
||||
|
||||
<g transform="translate(0, 0)">
|
||||
|
||||
<g transform="translate(52, 48)">
|
||||
<circle cx="0" cy="0" r="36" fill="none" stroke="#1e2836" stroke-width="5"/>
|
||||
<circle cx="0" cy="0" r="36" fill="none" stroke="#3fb950" stroke-width="5"
|
||||
stroke-dasharray="226.1946710584651" stroke-dashoffset="26.23858184278195"
|
||||
stroke-linecap="round" transform="rotate(-90)">
|
||||
<animate attributeName="stroke-dashoffset" from="226.1946710584651" to="26.23858184278195" dur="1s" fill="freeze"/>
|
||||
</circle>
|
||||
<text x="0" y="10.50" text-anchor="middle"
|
||||
font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="30" font-weight="800" fill="#3fb950">A</text>
|
||||
</g>
|
||||
<line x1="100" y1="16" x2="100" y2="80" stroke="#1e2836" stroke-width="1"/>
|
||||
<g transform="translate(114, 26)">
|
||||
<text x="0" y="10" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="16" font-weight="700" fill="#d1d9e0">Developer Profile</text>
|
||||
<text x="0" y="32" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="11" fill="#7d8895"></text>
|
||||
<text x="0" y="50" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" fill="#7d8895" letter-spacing="0.4">Score <tspan fill="#d1d9e0" font-weight="600">88</tspan> / 100</text>
|
||||
</g>
|
||||
<line x1="20" y1="96" x2="360" y2="96" stroke="#1e2836" stroke-width="0.5"/>
|
||||
<g transform="translate(20, 100)">
|
||||
|
||||
<g transform="translate(34.0, 0)">
|
||||
<g transform="translate(-7, 0)"><g><circle cx="7" cy="7" r="3" fill="none" stroke="#7d8895" stroke-width="1.4"/><circle cx="7" cy="7" r="1" fill="#7d8895"/><line x1="7" y1="10" x2="7" y2="14" stroke="#7d8895" stroke-width="1.4"/><line x1="7" y1="0" x2="7" y2="4" stroke="#7d8895" stroke-width="1.4"/></g></g>
|
||||
<text x="0" y="28" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="14" font-weight="700" fill="#d1d9e0">1,423</text>
|
||||
<text x="0" y="41" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="9" fill="#7d8895">Commits</text>
|
||||
</g>
|
||||
<g transform="translate(102.0, 0)">
|
||||
<g transform="translate(-7, 0)"><g><circle cx="4" cy="4" r="2" fill="none" stroke="#7d8895" stroke-width="1.2"/><circle cx="10" cy="10" r="2" fill="none" stroke="#7d8895" stroke-width="1.2"/><path d="M4 6v4c0 1.1.9 2 2 2h2" fill="none" stroke="#7d8895" stroke-width="1.2"/></g></g>
|
||||
<text x="0" y="28" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="14" font-weight="700" fill="#d1d9e0">87</text>
|
||||
<text x="0" y="41" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="9" fill="#7d8895">PRs</text>
|
||||
</g>
|
||||
<g transform="translate(170.0, 0)">
|
||||
<g transform="translate(-7, 0)"><g><path d="M7 1l1.8 3.6 4 .6-2.9 2.8.7 4L7 10.2 3.4 12l.7-4L1.2 5.2l4-.6z" fill="none" stroke="#7d8895" stroke-width="1.2" stroke-linejoin="round"/></g></g>
|
||||
<text x="0" y="28" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="14" font-weight="700" fill="#d1d9e0">342</text>
|
||||
<text x="0" y="41" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="9" fill="#7d8895">Stars</text>
|
||||
</g>
|
||||
<g transform="translate(238.0, 0)">
|
||||
<g transform="translate(-7, 0)"><g><rect x="2" y="1" width="10" height="12" rx="1.5" fill="none" stroke="#7d8895" stroke-width="1.2"/><line x1="5" y1="4" x2="9" y2="4" stroke="#7d8895" stroke-width="1"/><line x1="5" y1="6.5" x2="9" y2="6.5" stroke="#7d8895" stroke-width="1"/><line x1="5" y1="9" x2="7" y2="9" stroke="#7d8895" stroke-width="1"/></g></g>
|
||||
<text x="0" y="28" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="14" font-weight="700" fill="#d1d9e0">28</text>
|
||||
<text x="0" y="41" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="9" fill="#7d8895">Repos</text>
|
||||
</g>
|
||||
<g transform="translate(306.0, 0)">
|
||||
<g transform="translate(-7, 0)"><g><circle cx="5" cy="4" r="2.5" fill="none" stroke="#7d8895" stroke-width="1.2"/><path d="M0.5 12c0-2.5 2-4 4.5-4s4.5 1.5 4.5 4" fill="none" stroke="#7d8895" stroke-width="1.2"/><circle cx="11" cy="3.5" r="1.8" fill="none" stroke="#7d8895" stroke-width="1"/><path d="M10 7.5c1.5 0 3.5 1 3.5 3" fill="none" stroke="#7d8895" stroke-width="1"/></g></g>
|
||||
<text x="0" y="28" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="14" font-weight="700" fill="#d1d9e0">156</text>
|
||||
<text x="0" y="41" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="9" fill="#7d8895">Followers</text>
|
||||
</g>
|
||||
</g>
|
||||
<line x1="20" y1="148" x2="360" y2="148" stroke="#1e2836" stroke-width="0.5"/>
|
||||
<g transform="translate(20, 154)">
|
||||
|
||||
<g transform="translate(0, 0)" opacity="0.9">
|
||||
<rect width="64" height="24" rx="12" fill="#58a6ff" opacity="0.12"/>
|
||||
<rect width="64" height="24" rx="12" fill="none" stroke="#58a6ff" stroke-width="1" opacity="0.3"/>
|
||||
<text x="32" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#58a6ff">Backend</text>
|
||||
</g>
|
||||
<g transform="translate(70, 0)" opacity="0.9">
|
||||
<rect width="31" height="24" rx="12" fill="#58a6ff" opacity="0.12"/>
|
||||
<rect width="31" height="24" rx="12" fill="none" stroke="#58a6ff" stroke-width="1" opacity="0.3"/>
|
||||
<text x="15" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#58a6ff">ML</text>
|
||||
</g>
|
||||
<g transform="translate(107, 0)" opacity="0.9">
|
||||
<rect width="64" height="24" rx="12" fill="#58a6ff" opacity="0.12"/>
|
||||
<rect width="64" height="24" rx="12" fill="none" stroke="#58a6ff" stroke-width="1" opacity="0.3"/>
|
||||
<text x="32" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#58a6ff">Systems</text>
|
||||
</g>
|
||||
<g transform="translate(177, 0)" opacity="0.9">
|
||||
<rect width="51" height="24" rx="12" fill="#58a6ff" opacity="0.12"/>
|
||||
<rect width="51" height="24" rx="12" fill="none" stroke="#58a6ff" stroke-width="1" opacity="0.3"/>
|
||||
<text x="25" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#58a6ff">Cloud</text>
|
||||
</g>
|
||||
<g transform="translate(234, 0)" opacity="0.9">
|
||||
<rect width="90" height="24" rx="12" fill="#facc15" opacity="0.12"/>
|
||||
<rect width="90" height="24" rx="12" fill="none" stroke="#facc15" stroke-width="1" opacity="0.3"/>
|
||||
<text x="45" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#facc15">Founder #42</text>
|
||||
</g>
|
||||
<g transform="translate(0, 30)" opacity="0.55">
|
||||
<rect width="90" height="24" rx="12" fill="#58a6ff" opacity="0.12"/>
|
||||
<rect width="90" height="24" rx="12" fill="none" stroke="#58a6ff" stroke-width="1" opacity="0.3"/>
|
||||
<text x="45" y="16" text-anchor="middle" font-family="-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif"
|
||||
font-size="10" font-weight="500" fill="#58a6ff">Open source</text>
|
||||
</g>
|
||||
</g>
|
||||
</g>
|
||||
</svg>
|
||||
|
After Width: | Height: | Size: 8.6 KiB |
Reference in New Issue
Block a user