Skip to content

Commit

Permalink
Getting onto stable login build
Browse files Browse the repository at this point in the history
  • Loading branch information
ChaseTeichmann committed Sep 25, 2019
2 parents 54dc326 + 5c1e1c3 commit 029609c
Show file tree
Hide file tree
Showing 6 changed files with 57 additions and 39 deletions.
35 changes: 1 addition & 34 deletions Routinely/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,45 +31,12 @@ const App: () => React$Node = () => {
<>
<StatusBar barStyle="dark-content" />
<SafeAreaView>
<ScrollView
contentInsetAdjustmentBehavior="automatic"
style={styles.scrollView}>
<Header />
{global.HermesInternal == null ? null : (
<View style={styles.engine}>
<Text style={styles.footer}>Engine: Hermes</Text>
</View>
)}
<View style={styles.body}>
<View style={styles.sectionContainer}>
<Login/>
<Text style={styles.sectionTitle}>Step One</Text>
<Text style={styles.sectionDescription}>
Edit <Text style={styles.highlight}>App.js</Text> to change this
screen and then come back to see your edits.
</Text>
</View>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>See Your Changes</Text>
<Text style={styles.sectionDescription}>
<ReloadInstructions />
</Text>
</View>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>Debug</Text>
<Text style={styles.sectionDescription}>
<DebugInstructions />
</Text>
</View>
<View style={styles.sectionContainer}>
<Text style={styles.sectionTitle}>Learn More</Text>
<Text style={styles.sectionDescription}>
Read the docs to discover what to do next:
</Text>
</View>
<LearnMoreLinks />
</View>
</ScrollView>
</View>
</SafeAreaView>
</>
);
Expand Down
2 changes: 1 addition & 1 deletion Routinely/app.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"name": "Routinely",
"displayName": "Routinely"
}
}
54 changes: 52 additions & 2 deletions Routinely/app/components/login.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,63 @@
import React, { Component } from 'react';
import { AppRegistry, Text, View } from 'react-native';
import { AppRegistry, Text, View, TextInput, StyleSheet } from 'react-native';

export default class Login extends Component {
render() {
return (
<View>
<Text>Hello, world!</Text>
<Text
style = {styles.login}>Login</Text>
<Text
style = {styles.email}
> Enter Email </Text>

<TextInput
style = {styles.emailIn}
placeholder = "bsoto@ycp.edu"
/>
<Text
style = {styles.password}
>
Enter Password </Text>
<TextInput
style = {styles.passIn}
placeholder = "Pa55w0rd"
/>
</View>
);
}
}
AppRegistry.registerComponent('Login', () => Login);

const styles = StyleSheet.create({
login:{
textAlign: 'center',
padding: 20,
fontSize: 30,
fontWeight:'700',
},

email:{
fontSize: 24,
fontWeight: '600',
},

emailIn:{
padding: 5,
fontSize: 14,
fontWeight: '600',
},

password:{
paddingTop: 20,
fontSize: 24,
fontWeight: '600',
},

passIn:{
padding: 5,
fontSize: 14,
fontWeight: '600',
}

});
2 changes: 1 addition & 1 deletion Routinely/ios/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ target 'Routinely' do
pod 'Folly', :podspec => '../node_modules/react-native/third-party-podspecs/Folly.podspec'

pod 'FBSDKLoginKit'
pod Firebase/Analytics
pod 'Firebase/Analytics'

target 'RoutinelyTests' do
inherit! :search_paths
Expand Down
2 changes: 1 addition & 1 deletion Routinely/ios/Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -435,6 +435,6 @@ SPEC CHECKSUMS:
ReactCommon: 584ef683c340894c1c82be43ce760390493ae8bf
Yoga: 3f70bbd9aa01e04eefec36e2a085b2fc0ff1dd98

PODFILE CHECKSUM: 98aca74e862e8fe13886f4ba1f789fe0605df9ce
PODFILE CHECKSUM: 3bc29821cb63b2f7a101ab4d501524bac9e9d46b

COCOAPODS: 1.7.5
1 change: 1 addition & 0 deletions Routinely/package.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

{
"name": "Routinely",
"version": "0.0.1",
Expand Down

0 comments on commit 029609c

Please sign in to comment.