mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-06 17:11:55 +00:00
Update UserProfile.tsx
Clicking badges that can redirect to a relevant page will do so. Clicking Supporter will direct to donate page Clicking Translator will direct to weblate
This commit is contained in:
@@ -315,7 +315,11 @@ export const UserProfile = observer(
|
||||
content={
|
||||
<Text id="app.special.popovers.user_profile.badges.translator" />
|
||||
}>
|
||||
<img src="/assets/badges/translator.svg" />
|
||||
<img src="/assets/badges/translator.svg"
|
||||
onClick={() => {
|
||||
window.open("https://weblate.insrt.uk/projects/revolt/web-app/", "_blank")
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
) : (
|
||||
<></>
|
||||
@@ -338,6 +342,9 @@ export const UserProfile = observer(
|
||||
<Money
|
||||
size={32}
|
||||
color="#efab44"
|
||||
onClick={() => {
|
||||
window.open("https://insrt.uk/donate", "_blank")
|
||||
}}
|
||||
/>
|
||||
</Tooltip>
|
||||
) : (
|
||||
|
||||
Reference in New Issue
Block a user