From 6938deb5682c4bee1a6741522a8855c4f7468f1d Mon Sep 17 00:00:00 2001
From: Ryan Alexander <38785445+ryanalexander@users.noreply.github.com>
Date: Mon, 16 Aug 2021 00:09:16 +1000
Subject: [PATCH] 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
---
src/context/intermediate/popovers/UserProfile.tsx | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/src/context/intermediate/popovers/UserProfile.tsx b/src/context/intermediate/popovers/UserProfile.tsx
index ad03a3f4..be74782d 100644
--- a/src/context/intermediate/popovers/UserProfile.tsx
+++ b/src/context/intermediate/popovers/UserProfile.tsx
@@ -315,7 +315,11 @@ export const UserProfile = observer(
content={
}>
-
+
{
+ window.open("https://weblate.insrt.uk/projects/revolt/web-app/", "_blank")
+ }}
+ />
) : (
<>>
@@ -338,6 +342,9 @@ export const UserProfile = observer(
{
+ window.open("https://insrt.uk/donate", "_blank")
+ }}
/>
) : (