add discord and update telegram links (#1471)

This commit is contained in:
Justin Hernandez
2025-12-05 02:06:26 -08:00
committed by GitHub
parent 2555a9415d
commit de9e91772e
6 changed files with 15 additions and 5 deletions

View File

@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 127.14 96.36">
<path fill="currentColor" d="M107.7,8.07A105.15,105.15,0,0,0,81.47,0a72.06,72.06,0,0,0-3.36,6.83A97.68,97.68,0,0,0,49,6.83,72.37,72.37,0,0,0,45.64,0,105.89,105.89,0,0,0,19.39,8.09C2.79,32.65-1.71,56.6.54,80.21h0A105.73,105.73,0,0,0,32.71,96.36,77.7,77.7,0,0,0,39.6,85.25a68.42,68.42,0,0,1-10.85-5.18c.91-.66,1.8-1.34,2.66-2a75.57,75.57,0,0,0,64.32,0c.87.71,1.76,1.39,2.66,2a68.68,68.68,0,0,1-10.87,5.19,77,77,0,0,0,6.89,11.1A105.25,105.25,0,0,0,126.6,80.22h0C129.24,52.84,122.09,29.11,107.7,8.07ZM42.45,65.69C36.18,65.69,31,60,31,53s5-12.74,11.43-12.74S54,46,53.89,53,48.84,65.69,42.45,65.69Zm42.24,0C78.41,65.69,73.25,60,73.25,53s5-12.74,11.44-12.74S96.23,46,96.12,53,91.08,65.69,84.69,65.69Z"/>
</svg>

After

Width:  |  Height:  |  Size: 774 B

View File

@@ -15,6 +15,7 @@ export const apiPingUrl = 'https://api.self.xyz/ping';
export const appStoreUrl = 'https://apps.apple.com/app/self-zk/id6478563710';
export const appleICloudDocsUrl = 'https://support.apple.com/en-us/102651';
export const appsUrl = 'https://apps.self.xyz';
export const discordUrl = 'https://discord.gg/selfxyz';
export const gitHubUrl = 'https://github.com/selfxyz/self';
export const googleDriveAppDataScope =
'https://www.googleapis.com/auth/drive.appdata';
@@ -34,7 +35,7 @@ export const selfLogoReverseUrl =
export const selfUrl = 'https://self.xyz';
export const supportedBiometricIdsUrl =
'https://docs.self.xyz/use-self/self-map-countries-list';
export const telegramUrl = 'https://t.me/selfprotocolbuilder';
export const telegramUrl = 'https://t.me/selfxyz';
export const termsUrl = 'https://self.xyz/terms';
export const turnkeyOAuthRedirectAndroidUri = 'https://redirect.self.xyz';
export const turnkeyOAuthRedirectIosUri = 'https://oauth-redirect.turnkey.com';

View File

@@ -50,7 +50,7 @@ const AccountRecoveryChoiceScreen: React.FC = () => {
// const { turnkeyWallets, refreshWallets } = useTurnkeyUtils();
// const { getMnemonic } = useTurnkeyUtils();
// const { authState } = useTurnkey();
const [restoringFromTurnkey, setRestoringFromTurnkey] = useState(false);
const [_restoringFromTurnkey, _setRestoringFromTurnkey] = useState(false);
const [restoringFromCloud, setRestoringFromCloud] = useState(false);
const { cloudBackupEnabled, toggleCloudBackupEnabled, biometricsAvailable } =
useSettingStore();

View File

@@ -23,6 +23,7 @@ import {
white,
} from '@selfxyz/mobile-sdk-alpha/constants/colors';
import Discord from '@/assets/icons/discord.svg';
import Github from '@/assets/icons/github.svg';
import Cloud from '@/assets/icons/settings_cloud_backup.svg';
import Data from '@/assets/icons/settings_data.svg';
@@ -35,6 +36,7 @@ import Web from '@/assets/icons/webpage.svg';
import X from '@/assets/icons/x.svg';
import {
appStoreUrl,
discordUrl,
gitHubUrl,
playStoreUrl,
selfUrl,
@@ -106,6 +108,7 @@ const social = [
[Github, gitHubUrl],
[Web, selfUrl],
[Telegram, telegramUrl],
[Discord, discordUrl],
] as [React.FC<SvgProps>, string][];
const MenuButton: React.FC<MenuButtonProps> = ({ children, Icon, onPress }) => (

View File

@@ -29,8 +29,11 @@ describe('links', () => {
describe('Critical URL validation', () => {
it('should have correct Telegram URL', () => {
// This test would have caught the wrong Telegram URL bug!
expect(links.telegramUrl).toBe('https://t.me/selfprotocolbuilder');
expect(links.telegramUrl).toBe('https://t.me/selfxyz');
});
it('should have correct Discord URL', () => {
expect(links.discordUrl).toBe('https://discord.gg/selfxyz');
});
it('should have correct GitHub URL', () => {

View File

@@ -291,4 +291,4 @@ For support and questions:
- Create an issue in this repository
- Check the [Self Protocol documentation](https://docs.self.id)
- Join our [Discord community](https://discord.gg/worldcoin)
- Join our [Discord community](https://discord.gg/selfxyz)