1
0
mirror of https://github.com/tw93/Mole.git synced 2026-02-04 11:31:46 +00:00

chore: Adjust contributor SVG width, avatar margin, and image source in contributor workflow.

This commit is contained in:
Tw93
2026-01-05 12:55:00 +08:00
parent 415f829988
commit 5d1837c673

View File

@@ -29,9 +29,9 @@ jobs:
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
svgPath: CONTRIBUTORS.svg
svgWidth: 1200
svgWidth: 1000
avatarSize: 72
avatarMargin: 28
avatarMargin: 53
userNameHeight: 20
noCommit: true
includeBots: false
@@ -42,7 +42,7 @@ jobs:
<clipPath id="cp-{{ name }}">
<circle cx="36" cy="36" r="36" />
</clipPath>
<image width="72" height="72" xlink:href="https://github.com/{{{ name }}}.png?size=72" clip-path="url(#cp-{{ name }})" />
<image width="72" height="72" xlink:href="{{{ avatar }}}" clip-path="url(#cp-{{ name }})" />
<text x="36" y="86" text-anchor="middle" alignment-baseline="middle" font-size="10" fill="#666" font-family="-apple-system,BlinkMacSystemFont,'Segoe UI',Helvetica,Arial,sans-serif">{{{ name }}}</text>
</a>
</g>