This is an automated email from the ASF dual-hosted git repository.

shuai pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/answer-website.git


The following commit(s) were added to refs/heads/main by this push:
     new 6d2756576 fix: add "/zh-CN" prefix to user avatar url (#308)
6d2756576 is described below

commit 6d27565762b073328095e10e80e87bc3df9a82dd
Author: Luffy <[email protected]>
AuthorDate: Mon Mar 24 11:43:01 2025 +0800

    fix: add "/zh-CN" prefix to user avatar url (#308)
---
 i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git 
a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx 
b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
index 77634dced..6b0152960 100644
--- a/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
+++ b/i18n/zh-CN/docusaurus-plugin-content-docs-community/current/team.mdx
@@ -18,7 +18,7 @@ PMC 负责项目的管理。这包括技术决策以及确保项目以社区友
     UserData[0].users.map(u => {
       return (
         <div key={u.name} className="col-xl-3 col-lg-4 col-md-4 col-sm-6 
col-12 d-flex mb-4">
-            <img src={u.avatar} width="48" height="48" className="rounded me-2 
lh-normal" />
+            <img src={`/zh-CN${u.avatar_local}`} width="48" height="48" 
className="rounded me-2 lh-normal" />
             <div>
               <a href={u.github} target="_blank" className="d-block 
lh-base">{u.name}</a>
               <div className="fs-14 text-secondary">{u.role}</div>
@@ -38,7 +38,7 @@ PMC 负责项目的管理。这包括技术决策以及确保项目以社区友
     UserData[1].users.map(u => {
       return (
         <div key={u.name} className="col-xl-3 col-lg-4 col-md-4 col-sm-6 
col-12 d-flex mb-4">
-            <img src={u.avatar} width="48" height="48" className="rounded me-2 
lh-normal" />
+            <img src={`/zh-CN${u.avatar_local}`} width="48" height="48" 
className="rounded me-2 lh-normal" />
             <div>
               <a href={u.github} target="_blank" className="d-block 
lh-base">{u.name}</a>
               <div className="fs-14 text-secondary">{u.role}</div>

Reply via email to