Skip to content

Commit 6d27565

Browse files
authored
fix: add "/zh-CN" prefix to user avatar url (#308)
1 parent 00a9540 commit 6d27565

File tree

1 file changed

+2
-2
lines changed
  • i18n/zh-CN/docusaurus-plugin-content-docs-community/current

1 file changed

+2
-2
lines changed

Diff for: i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ PMC 负责项目的管理。这包括技术决策以及确保项目以社区友
1818
UserData[0].users.map(u => {
1919
return (
2020
<div key={u.name} className="col-xl-3 col-lg-4 col-md-4 col-sm-6 col-12 d-flex mb-4">
21-
<img src={u.avatar} width="48" height="48" className="rounded me-2 lh-normal" />
21+
<img src={`/zh-CN${u.avatar_local}`} width="48" height="48" className="rounded me-2 lh-normal" />
2222
<div>
2323
<a href={u.github} target="_blank" className="d-block lh-base">{u.name}</a>
2424
<div className="fs-14 text-secondary">{u.role}</div>
@@ -38,7 +38,7 @@ PMC 负责项目的管理。这包括技术决策以及确保项目以社区友
3838
UserData[1].users.map(u => {
3939
return (
4040
<div key={u.name} className="col-xl-3 col-lg-4 col-md-4 col-sm-6 col-12 d-flex mb-4">
41-
<img src={u.avatar} width="48" height="48" className="rounded me-2 lh-normal" />
41+
<img src={`/zh-CN${u.avatar_local}`} width="48" height="48" className="rounded me-2 lh-normal" />
4242
<div>
4343
<a href={u.github} target="_blank" className="d-block lh-base">{u.name}</a>
4444
<div className="fs-14 text-secondary">{u.role}</div>

0 commit comments

Comments
 (0)