Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(suite-native): update social network links #17086

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions suite-common/icons/generateIconFont.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ const usedIcons = [
'houseFilled',
'image',
'info',
'instagramLogo',
'lifebuoy',
'lightbulb',
'link',
Expand Down Expand Up @@ -100,6 +101,7 @@ const usedIcons = [
'star',
'starFilled',
'swap',
'tiktokLogo',
'trashSimple',
'treeStructure',
'trezorDevices',
Expand Down
176 changes: 89 additions & 87 deletions suite-common/icons/iconFontsMobile/TrezorSuiteIcons.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,91 +19,93 @@
"trezorDevices": 61714,
"treeStructure": 61715,
"trashSimple": 61716,
"swap": 61717,
"starFilled": 61718,
"star": 61719,
"stack": 61720,
"shuffle": 61721,
"shieldWarning": 61722,
"shieldCheck": 61723,
"shareNetwork": 61724,
"selectionSlash": 61725,
"seal": 61726,
"question": 61727,
"qrCode": 61728,
"prohibit": 61729,
"plusCircle": 61730,
"plus": 61731,
"plugs": 61732,
"piggyBankFilled": 61733,
"piggyBank": 61734,
"pictureFrame": 61735,
"pencilSimpleLine": 61736,
"pencilSimple": 61737,
"pencil": 61738,
"password": 61739,
"palette": 61740,
"package": 61741,
"magnifyingGlass": 61742,
"lock": 61743,
"link": 61744,
"lightbulb": 61745,
"lifebuoy": 61746,
"info": 61747,
"image": 61748,
"houseFilled": 61749,
"house": 61750,
"handPalm": 61751,
"githubLogo": 61752,
"gearFilled": 61753,
"gear": 61754,
"flagCheckered": 61755,
"flag": 61756,
"fingerprintSimple": 61757,
"fingerprint": 61758,
"filePdf": 61759,
"facebookLogo": 61760,
"eyeSlash": 61761,
"eye": 61762,
"discoverFilled": 61763,
"discover": 61764,
"detective": 61765,
"database": 61766,
"cpu": 61767,
"copy": 61768,
"coins": 61769,
"coinVerticalCheck": 61770,
"code": 61771,
"clockClockwise": 61772,
"circleDashed": 61773,
"checks": 61774,
"checkCircleFilled": 61775,
"checkCircle": 61776,
"check": 61777,
"chatCircle": 61778,
"change": 61779,
"caretUpFilled": 61780,
"caretUpDown": 61781,
"caretUp": 61782,
"caretRight": 61783,
"caretLeft": 61784,
"caretDownFilled": 61785,
"caretDown": 61786,
"caretCircleRight": 61787,
"calendar": 61788,
"bugBeetle": 61789,
"bookmarkSimple": 61790,
"backspace": 61791,
"arrowsLeftRight": 61792,
"arrowsDownUp": 61793,
"arrowsCounterClockwise": 61794,
"arrowUpRight": 61795,
"arrowUp": 61796,
"arrowURightDown": 61797,
"arrowSquareOut": 61798,
"arrowRight": 61799,
"arrowLineUpRight": 61800,
"arrowLineUp": 61801,
"arrowLineDown": 61802,
"arrowDown": 61803
"tiktokLogo": 61717,
"swap": 61718,
"starFilled": 61719,
"star": 61720,
"stack": 61721,
"shuffle": 61722,
"shieldWarning": 61723,
"shieldCheck": 61724,
"shareNetwork": 61725,
"selectionSlash": 61726,
"seal": 61727,
"question": 61728,
"qrCode": 61729,
"prohibit": 61730,
"plusCircle": 61731,
"plus": 61732,
"plugs": 61733,
"piggyBankFilled": 61734,
"piggyBank": 61735,
"pictureFrame": 61736,
"pencilSimpleLine": 61737,
"pencilSimple": 61738,
"pencil": 61739,
"password": 61740,
"palette": 61741,
"package": 61742,
"magnifyingGlass": 61743,
"lock": 61744,
"link": 61745,
"lightbulb": 61746,
"lifebuoy": 61747,
"instagramLogo": 61748,
"info": 61749,
"image": 61750,
"houseFilled": 61751,
"house": 61752,
"handPalm": 61753,
"githubLogo": 61754,
"gearFilled": 61755,
"gear": 61756,
"flagCheckered": 61757,
"flag": 61758,
"fingerprintSimple": 61759,
"fingerprint": 61760,
"filePdf": 61761,
"facebookLogo": 61762,
"eyeSlash": 61763,
"eye": 61764,
"discoverFilled": 61765,
"discover": 61766,
"detective": 61767,
"database": 61768,
"cpu": 61769,
"copy": 61770,
"coins": 61771,
"coinVerticalCheck": 61772,
"code": 61773,
"clockClockwise": 61774,
"circleDashed": 61775,
"checks": 61776,
"checkCircleFilled": 61777,
"checkCircle": 61778,
"check": 61779,
"chatCircle": 61780,
"change": 61781,
"caretUpFilled": 61782,
"caretUpDown": 61783,
"caretUp": 61784,
"caretRight": 61785,
"caretLeft": 61786,
"caretDownFilled": 61787,
"caretDown": 61788,
"caretCircleRight": 61789,
"calendar": 61790,
"bugBeetle": 61791,
"bookmarkSimple": 61792,
"backspace": 61793,
"arrowsLeftRight": 61794,
"arrowsDownUp": 61795,
"arrowsCounterClockwise": 61796,
"arrowUpRight": 61797,
"arrowUp": 61798,
"arrowURightDown": 61799,
"arrowSquareOut": 61800,
"arrowRight": 61801,
"arrowLineUpRight": 61802,
"arrowLineUp": 61803,
"arrowLineDown": 61804,
"arrowDown": 61805
}
Binary file modified suite-common/icons/iconFontsMobile/TrezorSuiteIcons.ttf
Binary file not shown.
2 changes: 1 addition & 1 deletion suite-native/app/app.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,7 @@ export default ({ config }: ConfigContext): ExpoConfig => {
slug: appSlugs[buildType],
owner: appOwners[buildType],
version: suiteNativeVersion,
runtimeVersion: '26',
runtimeVersion: '27',
...(buildType === 'production'
? {}
: {
Expand Down
2 changes: 2 additions & 0 deletions suite-native/intl/src/en.ts
Original file line number Diff line number Diff line change
Expand Up @@ -723,6 +723,8 @@ export const en = {
},
aboutUs: {
title: 'About Trezor Suite Lite',
followUs: 'Follow us',
body: 'Trezor Suite Lite is a safe and secure way to stay connected to the crypto on your hardware wallet. Track coin balances on the go without exposing your private data. Easily create and send payment addresses to anyone.',
},
privacyAndSecurity: {
title: 'Privacy & Security',
Expand Down
25 changes: 12 additions & 13 deletions suite-native/module-settings/src/components/AboutUsBanners.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Card, HStack, IconButton, Text, VStack } from '@suite-native/atoms';
import { Icon } from '@suite-native/icons';
import { Translation } from '@suite-native/intl';
import { useOpenLink } from '@suite-native/link';
import { prepareNativeStyle, useNativeStyles } from '@trezor/styles';
import { Color } from '@trezor/theme';
Expand Down Expand Up @@ -35,41 +36,39 @@ export const AboutUsBanners = () => {
variant="titleSmall"
style={applyStyle(trezorDescriptionTextStyle)}
>
Trezor Suite Lite is a safe and secure way to stay connected to the crypto
on your hardware wallet. Track coin balances on the go without exposing your
private data. Easily create and send payment addresses to anyone.
<Translation id="moduleSettings.aboutUs.body" />
</Text>
</VStack>
</Card>
<Card style={applyStyle(cardStyle, { backgroundColor: 'backgroundSecondaryDefault' })}>
<VStack spacing="sp24" style={applyStyle(stackStyle)}>
<Text color="textDefaultInverted" variant="titleMedium">
Follow us
<Translation id="moduleSettings.aboutUs.followUs" />
</Text>
<HStack spacing="sp24">
<IconButton
size="large"
colorScheme="tertiaryElevation1"
iconName="facebookLogo"
iconName="twitterLogo"
accessibilityRole="link"
accessibilityLabel="facebook"
onPress={() => openLink('https://www.facebook.com/trezor.io')}
accessibilityLabel="X"
onPress={() => openLink('https://x.com/trezor')}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I can't open X or tiktok if I have them installed on Android phone 😮
image

/>
<IconButton
size="large"
colorScheme="tertiaryElevation1"
iconName="twitterLogo"
iconName="tiktokLogo"
accessibilityRole="link"
accessibilityLabel="twitter"
onPress={() => openLink('https://twitter.com/Trezor')}
accessibilityLabel="tiktok"
onPress={() => openLink('https://www.tiktok.com/@trezor.io_official')}
/>
<IconButton
size="large"
colorScheme="tertiaryElevation1"
iconName="githubLogo"
iconName="instagramLogo"
accessibilityRole="link"
accessibilityLabel="github"
onPress={() => openLink('https://github.com/trezor')}
accessibilityLabel="instagram"
onPress={() => openLink('https://www.instagram.com/trezor.io/')}
/>
</HStack>
</VStack>
Expand Down
Loading