diff --git a/src/gui/src/UI/UIDesktop.js b/src/gui/src/UI/UIDesktop.js
index 13c17dba0..1bdfad496 100644
--- a/src/gui/src/UI/UIDesktop.js
+++ b/src/gui/src/UI/UIDesktop.js
@@ -18,7 +18,7 @@
*/
import path from '../lib/path.js';
-import UIWindowClaimReferral from './UIWindowClaimReferral.js';
+
import UIContextMenu from './UIContextMenu.js';
import UIItem from './UIItem.js';
import UIAlert from './UIAlert.js';
@@ -29,7 +29,7 @@ import UIWindowMyWebsites from './UIWindowMyWebsites.js';
import UIWindowFeedback from './UIWindowFeedback.js';
import UIWindowLogin from './UIWindowLogin.js';
import UIWindowQR from './UIWindowQR.js';
-import UIWindowRefer from './UIWindowRefer.js';
+
import UIWindowProgress from './UIWindowProgress.js';
import UITaskbar from './UITaskbar.js';
import new_context_menu_item from '../helpers/new_context_menu_item.js';
@@ -1244,11 +1244,6 @@ async function UIDesktop (options) {
// 'Show Desktop'
ht += `${i18n('desktop_show_desktop')} `;
- // refer
- if ( window.user.referral_code ) {
- ht += `
`;
- }
-
// github
ht += ``;
@@ -1458,21 +1453,6 @@ async function UIDesktop (options) {
display_ct();
setInterval(display_ct, 1000);
- // show referral notice window
- if ( window.show_referral_notice && !window.user.email_confirmed ) {
- puter.kv.get('shown_referral_notice').then(async (val) => {
- if ( !val || val === 'false' || val === false ) {
- setTimeout(() => {
- UIWindowClaimReferral();
- }, 1000);
- puter.kv.set({
- key: 'shown_referral_notice',
- value: true,
- });
- }
- });
- }
-
window.hide_toolbar = (animate = true) => {
// Always show toolbar on mobile and tablet devices
if ( isMobile.phone || isMobile.tablet ) {
@@ -2388,10 +2368,6 @@ $(document).on('click', '.user-options-create-account-btn', async function (e) {
});
});
-$(document).on('click', '.refer-btn', async function (e) {
- UIWindowRefer();
-});
-
$(document).on('click', '.start-app', async function (e) {
launch_app({
name: $(this).attr('data-app-name'),
diff --git a/src/gui/src/UI/UIWindowClaimReferral.js b/src/gui/src/UI/UIWindowClaimReferral.js
deleted file mode 100644
index 769bde9a1..000000000
--- a/src/gui/src/UI/UIWindowClaimReferral.js
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Copyright (C) 2024-present Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
-
-import UIWindow from './UIWindow.js';
-import UIWindowSaveAccount from './UIWindowSaveAccount.js';
-
-async function UIWindowClaimReferral (options) {
- let h = '';
-
- h += '
';
-
- const el_window = await UIWindow({
- title: 'Refer a friend!',
- icon: null,
- uid: null,
- is_dir: false,
- body_content: h,
- has_head: false,
- selectable_body: false,
- draggable_body: true,
- allow_context_menu: false,
- is_draggable: true,
- is_resizable: false,
- is_droppable: false,
- init_center: true,
- allow_native_ctxmenu: true,
- allow_user_select: true,
- width: 400,
- dominant: true,
- window_css: {
- height: 'initial',
- },
- body_css: {
- width: 'initial',
- 'max-height': 'calc(100vh - 200px)',
- 'background-color': 'rgb(241 246 251)',
- 'backdrop-filter': 'blur(3px)',
- 'padding': '10px 20px 20px 20px',
- 'height': 'initial',
- },
- });
-
- $(el_window).find('.create-account-ref-btn').on('click', function (e) {
- UIWindowSaveAccount();
- $(el_window).close();
- });
-}
-
-export default UIWindowClaimReferral;
\ No newline at end of file
diff --git a/src/gui/src/UI/UIWindowRefer.js b/src/gui/src/UI/UIWindowRefer.js
deleted file mode 100644
index 8d052642a..000000000
--- a/src/gui/src/UI/UIWindowRefer.js
+++ /dev/null
@@ -1,118 +0,0 @@
-/**
- * Copyright (C) 2024-present Puter Technologies Inc.
- *
- * This file is part of Puter.
- *
- * Puter is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as published
- * by the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see .
- */
-
-import UIWindow from './UIWindow.js';
-import UIPopover from './UIPopover.js';
-import socialLink from '../helpers/socialLink.js';
-
-async function UIWindowRefer (options) {
- let h = '';
- const url = `${window.gui_origin}/?r=${window.user.referral_code}`;
-
- h += '
';
- h += '
×
';
- h += ``;
- h += `
${i18n('refer_friends_c2a')}
`;
- h += ``;
- h += '';
- h += ``;
- h += ``;
- h += '