diff --git a/service/src/utils/templates/mail.admin.template.html b/service/src/utils/templates/mail.admin.template.html index e6524777d..70c16c33b 100644 --- a/service/src/utils/templates/mail.admin.template.html +++ b/service/src/utils/templates/mail.admin.template.html @@ -18,7 +18,7 @@ class="avatar" style=" background-color: #eee; - background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.jpg'); + background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.svg'); width: 10em; height: 10em; margin: 5em auto 0; diff --git a/service/src/utils/templates/mail.notice.template.html b/service/src/utils/templates/mail.notice.template.html index b2493b48c..38e4fc7d8 100644 --- a/service/src/utils/templates/mail.notice.template.html +++ b/service/src/utils/templates/mail.notice.template.html @@ -18,7 +18,7 @@ class="avatar" style=" background-color: #eee; - background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.jpg'); + background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.svg'); width: 10em; height: 10em; margin: 5em auto 0; diff --git a/service/src/utils/templates/mail.resetpassword.template.html b/service/src/utils/templates/mail.resetpassword.template.html index a4eb1a896..9a2840ce3 100644 --- a/service/src/utils/templates/mail.resetpassword.template.html +++ b/service/src/utils/templates/mail.resetpassword.template.html @@ -18,7 +18,7 @@ class="avatar" style=" background-color: #eee; - background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.jpg'); + background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.svg'); width: 10em; height: 10em; margin: 5em auto 0; diff --git a/service/src/utils/templates/mail.template.html b/service/src/utils/templates/mail.template.html index 8cf4e2712..e0f5a674e 100644 --- a/service/src/utils/templates/mail.template.html +++ b/service/src/utils/templates/mail.template.html @@ -18,7 +18,7 @@ class="avatar" style=" background-color: #eee; - background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.jpg'); + background-image: url('https://ghproxy.com/https://raw.githubusercontent.com/Chanzhaoyu/chatgpt-web/main/src/assets/avatar.svg'); width: 10em; height: 10em; margin: 5em auto 0; diff --git a/src/assets/avatar.jpg b/src/assets/avatar.jpg deleted file mode 100644 index 9be9587ff..000000000 Binary files a/src/assets/avatar.jpg and /dev/null differ diff --git a/src/assets/avatar.svg b/src/assets/avatar.svg new file mode 100644 index 000000000..b7f57b0b2 --- /dev/null +++ b/src/assets/avatar.svg @@ -0,0 +1,17 @@ + + + + + + + + + + + + + + + + + diff --git a/src/components/common/UserAvatar/index.vue b/src/components/common/UserAvatar/index.vue index c73598414..48f97b199 100644 --- a/src/components/common/UserAvatar/index.vue +++ b/src/components/common/UserAvatar/index.vue @@ -1,5 +1,5 @@