Skip to content

Commit

Permalink
create basic structure
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcellin Nshimiyimana authored and Marcellin Nshimiyimana committed Jan 24, 2018
1 parent 5aa04af commit 062b024
Show file tree
Hide file tree
Showing 10 changed files with 10,608 additions and 6,199 deletions.
8 changes: 4 additions & 4 deletions app.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"expo": {
"name": "Chain React",
"description": "An app for the Chain React Conference in Portland, Oregon on July 10 and 11, 2017 - check the conference out at https://infinite.red/ChainReactConf -- this app is a fork of the original, you can find the source at https://github.com/brentvatne/chain-react-conf",
"slug": "chain-react",
"name": "RNP",
"description": "React Native Profile",
"slug": "react-np",
"privacy": "public",
"sdkVersion": "18.0.0",
"sdkVersion": "25.0.0",
"version": "1.0.0",
"orientation": "portrait",
"primaryColor": "#cccccc",
Expand Down
Binary file added assets/.DS_Store
Binary file not shown.
Binary file modified assets/icons/app-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified assets/icons/loading-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 5 additions & 11 deletions components/InfoBanners.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ export class SlackBanner extends React.PureComponent {
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={slackStyles.container}>
<Image style={slackStyles.icon} source={Images.slack} />
<Text style={slackStyles.heading}>Join Us On Slack</Text>
<Image style={slackStyles.icon} source={Images.logo} />
<Text style={slackStyles.heading}>Login</Text>
<RoundedButton
text="Join the IR Slack Community"
text="Facebook"
onPress={() => {
WebBrowser.openBrowserAsync('http://community.infinite.red');
}}
Expand All @@ -40,15 +40,9 @@ export class TwitterBanner extends React.PureComponent {
<View style={twitterStyles.container}>
<Image style={twitterStyles.blowhorn} source={Images.blowhorn} />
<TouchableOpacity onPress={this._tweetWithHashtag}>
<Text style={twitterStyles.heading}>#ChainReact2017</Text>
<Text style={twitterStyles.heading}>#rnp</Text>
</TouchableOpacity>
<Text style={twitterStyles.description}>
Make your friends jealous by tweeting, posting, or whatever it is you
do with the hashtag&nbsp;
<Text style={twitterStyles.hashtag} onPress={this._tweetWithHashtag}>
#chainreact2017
</Text>.
</Text>
<Text style={twitterStyles.description}>Your React Native Profile</Text>
</View>
);
}
Expand Down
6 changes: 4 additions & 2 deletions navigation/RootNavigation.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import { Platform, StyleSheet } from 'react-native';
import { StackNavigator } from 'react-navigation';

import Colors from '../constants/Colors';
import MainTabNavigator from './MainTabNavigator';
// import MainTabNavigator from './MainTabNavigator';
import GeneralInfoScreen from '../screens/GeneralInfoScreen';

import TalkDetailScreen from '../screens/TalkDetailScreen';
import BreakDetailScreen from '../screens/BreakDetailScreen';

Expand All @@ -20,7 +22,7 @@ const styles = StyleSheet.create({

const RootNavigation = StackNavigator(
{
MainTabs: { screen: MainTabNavigator },
MainTabs: { screen: GeneralInfoScreen },
TalkDetail: { screen: TalkDetailScreen },
BreakDetail: { screen: BreakDetailScreen },
},
Expand Down
Loading

0 comments on commit 062b024

Please sign in to comment.