From 0b6344fcdfe039e56986ab7e0c3e904915a03dfb Mon Sep 17 00:00:00 2001 From: KevinX8 Date: Tue, 8 Jun 2021 20:39:00 +0100 Subject: [PATCH 1/2] Added new brave linking --- src/index.js | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/src/index.js b/src/index.js index e1e7a42..84d8201 100644 --- a/src/index.js +++ b/src/index.js @@ -10,6 +10,7 @@ import * as serviceWorker from './serviceWorker'; import './assets/scss/style.scss'; const history = createBrowserHistory(); +const linkToUse = Math.random() < 0.5; ReactDOM.render( @@ -21,10 +22,14 @@ ReactDOM.render( window.location.href = 'https://adguard.com/?aid=31141'; return null; }}/> - { - window.location.href = 'https://brave.com/cge651'; + { + if (linkToUse) { + window.location.href = 'https://brave.com/cge651'; + } else { + window.location.href = 'https://brave.com/raz074'; + } return null; - }}/> + }}/> , document.getElementById('root') From 9f566f4d3c813e5843c1783fa6d012104c6ce5d7 Mon Sep 17 00:00:00 2001 From: KevinX8 Date: Tue, 8 Jun 2021 20:49:04 +0100 Subject: [PATCH 2/2] Update the brave link site wide --- src/constants/links.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/constants/links.js b/src/constants/links.js index 65f5699..0180320 100644 --- a/src/constants/links.js +++ b/src/constants/links.js @@ -1,2 +1,2 @@ -export const BRAVE = "https://brave.com/cge651"; +export const BRAVE = "https://vancedapp.com/brave"; export const ADGUARD = "https://adguard.com/en/welcome.html?aid=31141";