Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

chore: add slack to community #671

Merged
merged 1 commit into from
Apr 29, 2021
Merged
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
1 change: 1 addition & 0 deletions src/assets/styles/color.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ const baseColor = {
vermilion: '#FF4500',
ceriseRed: '#df394d',
scarlet: '#FF3300',
shade: '#601300',

// green
mantis: '#6FC062',
Expand Down
18 changes: 9 additions & 9 deletions src/pages/mine/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,13 @@ class MineIndex extends Component {
];

joins = [
{
title: 'Slack',
icon: <FontAwesome name="slack" size={30} style={[styles.communityIcon, { color: color.shade }]} />,
onPress: () => {
Linking.openURL('http://developers.rsk.co/slack');
},
},
{
title: 'Twitter',
icon: <FontAwesome name="twitter" size={30} style={[styles.communityIcon, { color: color.cerulean }]} />,
Expand All @@ -233,13 +240,6 @@ class MineIndex extends Component {
Linking.openURL('https://www.facebook.com/RSKsmart/');
},
},
{
title: 'Gitter',
icon: <FontAwesome5 name="gitter" size={26} style={[styles.communityIcon]} />,
onPress: () => {
Linking.openURL('https://gitter.im/rsksmart');
},
},
{
title: 'Reddit',
icon: <FontAwesome name="reddit" size={30} style={[styles.communityIcon, { color: color.vermilion }]} />,
Expand All @@ -261,7 +261,7 @@ class MineIndex extends Component {
title: 'page.mine.index.contactUs',
icon: <MaterialCommunityIcons name="email-outline" size={22} style={[styles.communityIcon, styles.grayIcon]} />,
onPress: () => {
Linking.openURL('mailto:app@iovlabs.org');
Linking.openURL('mailto:rwallet-dev@iovlabs.org');
},
},
{
Expand Down Expand Up @@ -386,7 +386,7 @@ MineIndex.propTypes = {
navigate: PropTypes.func.isRequired,
dispatch: PropTypes.func.isRequired,
goBack: PropTypes.func.isRequired,
state: PropTypes.object.isRequired,
state: PropTypes.oneOfType([PropTypes.object]).isRequired,
}).isRequired,
isWalletsUpdated: PropTypes.bool.isRequired,
isWalletNameUpdated: PropTypes.bool.isRequired,
Expand Down