mirror of
https://github.com/revoltchat/revite.git
synced 2024-11-29 02:10:59 -05: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:
parent
ff9545ba2f
commit
6938deb568
1 changed files with 8 additions and 1 deletions
|
@ -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>
|
||||
) : (
|
||||
|
|
Loading…
Reference in a new issue