This repository has been archived by the owner on Sep 20, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #67 from labs13-connect-kids/development
Development
- Loading branch information
Showing
72 changed files
with
4,814 additions
and
806 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
{ | ||
"78a98ada1895bfb44ee13d25037303ee2ff5d7ef44ae99b4b673d0d75ecd4d25": true, | ||
"0951b12e98e6e659d3b2fc0ffc4a38132b16545b1296417ab99d2a1617b898bf": true, | ||
"7adc6cdde1172c646f8dda7fcb1186d148e59e6d2a40774bd7e03281a653f19c": true, | ||
"89ed26367cdb9b771858e026f2eb95bfdb90e5ae943e716575327ec325f39c44": true | ||
"6bb3206b0acf2dcc4ac643efea102f020eab6923127f40db56165b27b151e9b9": true, | ||
"d490dcf018953a1e713d87b14430562cb9669b0e0e6151e5757fdb32aaff504c": true, | ||
"e9676a094e81d5e8ef64e6e385163269b285fffdaf75e53c9d5c241f97f10183": true, | ||
"9c9be79f7d164ef23d16ee23a18024ff1e66a73cfe2af5a0b0c18bae8cd1165c": true | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ npm-debug.* | |
*.orig.* | ||
web-build/ | ||
web-report/ | ||
environment.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Title "ADR 1: Introduction of Redux" | ||
|
||
Context This section describes the forces at play, including technological, political, social, and project local. These forces are probably in tension, and should be called out as such. The language in this section is value-neutral. It is simply describing facts. | ||
|
||
Decision This section describes our response to these forces. It is stated in full sentences, with active voice. "We will ..." | ||
|
||
Status A decision may be "proposed" if the project stakeholders haven't agreed with it yet, or "accepted" once it is agreed. If a later ADR changes or reverses a decision, it may be marked as "deprecated" or "superseded" with a reference to its replacement. | ||
|
||
Consequences This section describes the resulting context, after applying the decision. All consequences should be listed here, not just the "positive" ones. A particular decision may have positive, negative, and neutral consequences, but all of them affect the team and project in the future. | ||
|
||
The whole document should be one or two pages long. We will write each ADR as if it is a conversation with a future developer. This requires good writing style, with full sentences organized into paragraphs. Bullets are acceptable only for visual style, not as an excuse for writing sentence fragments. (Bullets kill people, even PowerPoint bullets.) | ||
|
||
Status | ||
Accepted. | ||
|
||
Consequences | ||
One ADR describes one significant decision for a specific project. It should be something that has an effect on how the rest of the project will run. | ||
|
||
The consequences of one ADR are very likely to become the context for subsequent ADRs. This is also similar to Alexander's idea of a pattern language: the large-scale responses create spaces for the smaller scale to fit into. | ||
|
||
Developers and project stakeholders can see the ADRs, even as the team composition changes over time. | ||
|
||
The motivation behind previous decisions is visible for everyone, present and future. Nobody is left scratching their heads to understand, "What were they thinking?" and the time to change old decisions will be clear from changes in the project's context. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
-----BEGIN CERTIFICATE----- | ||
MIIDaTCCAlGgAwIBAgIEVKbGSzANBgkqhkiG9w0BAQsFADBlMQswCQYDVQQGEwJV | ||
UzEJMAcGA1UECBMAMQkwBwYDVQQHEwAxCTAHBgNVBAoTADEJMAcGA1UECxMAMSow | ||
KAYDVQQDEyFjb20uY29ubmVjdE91cktpZHMuY29ubmVjdE91cktpZHMwHhcNMTkw | ||
NzAzMTgwNTM4WhcNNDYxMTE4MTgwNTM4WjBlMQswCQYDVQQGEwJVUzEJMAcGA1UE | ||
CBMAMQkwBwYDVQQHEwAxCTAHBgNVBAoTADEJMAcGA1UECxMAMSowKAYDVQQDEyFj | ||
b20uY29ubmVjdE91cktpZHMuY29ubmVjdE91cktpZHMwggEiMA0GCSqGSIb3DQEB | ||
AQUAA4IBDwAwggEKAoIBAQCIVe7ziiVVCv7kc702/PCGcULCUy5x5C5+U1ylt9zY | ||
TOOqVoQZfvCard2e1n1qtSVlHRPMcO815xPR7lMnZfa7uAtDo719yWRA5h0u7md0 | ||
YKoz3nWtO9miYiE7rtBtvKczWRJu2dZfj6vch7cKBmhBg42p8kQiCeqCai9GNd56 | ||
ja1njc/q4gPac1zI1DCzI+Q+io/oDjjxdaM6Dm8C3nTeDxu7TuHt1mk4nlHRw4n0 | ||
LYxLcOBI8x8Ib37VCk5u3704aZR/4Yo/dSwbq3wX/bXrzlnx+jGHWseT1Aek5jvi | ||
YUyhcKmZ5MvzPoqv5hDes8tWaCPPkwK5F9b+D8fkqOjbAgMBAAGjITAfMB0GA1Ud | ||
DgQWBBTXyJfm+gHo3kEkiWYQcmoe9sEzRDANBgkqhkiG9w0BAQsFAAOCAQEAWCId | ||
2PAxFlFWBWI/Tl9KJzmGXYEyDkq4YcSi4FqVxQSF9+BeVre5mArv2ProtYvb0cTK | ||
6trU3sqym7Al1/QupM0u6rbipwWbTuDK3LE8GApudQtohZKhZieTGpXWZcZXZHJo | ||
5oDzngd+6JrOuP2A5zBuKeYsbAOiZISwNHoosdyV6HINqgoHfvl0+ba4CIRTI5FB | ||
XdnujNnc+Qo4DxU0ayDb4NWzASu6YfEaGw6WAhFmztP+Lj2CVtn5BeST2kIFQM+a | ||
VvokdgLB9caiH+3n4F35aozTW7rCZzmcIPbsw0/5WFwhCw2AZN3KQYExM8xdhP1p | ||
eepG8MdE7WV5hbpv2g== | ||
-----END CERTIFICATE----- |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
import React from 'react'; | ||
import { StyleSheet } from 'react-native'; | ||
import { Button, Text } from 'native-base'; | ||
import constants from '../helpers/constants'; | ||
|
||
const NavigationButton = ({ handlePress, subTitleText, style, titleText }) => { | ||
return ( | ||
<Button | ||
style={[styles.button, styles.primaryBtn, { ...style }]} | ||
block | ||
onPress={handlePress} | ||
> | ||
<Text style={[styles.primaryBtnText, styles.lightBtn]}>{titleText}</Text> | ||
<Text style={[styles.buttonText, styles.lightBtn]}>{subTitleText}</Text> | ||
</Button> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
backgroundColor: '#fff', | ||
padding: 20 | ||
}, | ||
mainText: { | ||
fontFamily: constants.fontFamily, | ||
fontSize: 18, | ||
lineHeight: 26, | ||
marginBottom: 5 | ||
}, | ||
videoText: { | ||
color: constants.highlightColor, | ||
fontWeight: 'bold', | ||
marginBottom: 5 | ||
}, | ||
header: { | ||
flexDirection: 'row', | ||
alignItems: 'center', | ||
justifyContent: 'space-between', | ||
marginBottom: 25 | ||
}, | ||
|
||
button: { | ||
justifyContent: 'space-between', | ||
alignItems: 'center', | ||
flexDirection: 'column', | ||
justifyContent: 'center', | ||
marginBottom: 10 | ||
}, | ||
primaryBtn: { | ||
backgroundColor: constants.highlightColor | ||
}, | ||
primaryBtnText: { | ||
fontSize: 12, | ||
textTransform: 'uppercase', | ||
fontWeight: 'bold', | ||
color: constants.highlightColor, | ||
flex: 1 | ||
}, | ||
buttonText: { | ||
color: constants.highlightColor, | ||
fontSize: 12, | ||
textTransform: 'uppercase' | ||
}, | ||
lightBtn: { | ||
color: '#fff' | ||
}, | ||
lastBtn: { | ||
marginBottom: 50 | ||
}, | ||
textInput: { | ||
borderColor: 'black', | ||
borderWidth: 1, | ||
borderStyle: 'solid' | ||
} | ||
}); | ||
|
||
export default NavigationButton; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import React from 'react'; | ||
import { StyleSheet } from 'react-native'; | ||
import { Container } from 'native-base'; | ||
|
||
const ScreenContainer = props => { | ||
return ( | ||
<Container style={[styles.container, { ...props.style }]}> | ||
{props.children} | ||
</Container> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
container: { | ||
backgroundColor: '#fff', | ||
padding: 20 | ||
} | ||
}); | ||
|
||
export default ScreenContainer; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import React from 'react'; | ||
import { View, Modal, StyleSheet, Dimensions } from 'react-native'; | ||
import SocialWorkerModal from './SocialWorkerModal'; | ||
import VideoAgreeModal from './VideoAgreeModal'; | ||
import VideoModal from './VideoModal'; | ||
import constants from '../../helpers/constants'; | ||
import { sendEvent } from './../../helpers/createEvent'; | ||
|
||
const RegisterModalsContainer = props => { | ||
return ( | ||
<Modal | ||
animationType="slide" | ||
transparent={false} | ||
visible={props.modalVisible} | ||
onRequestClose={() => { | ||
props.setModalVisible(false); | ||
}} | ||
> | ||
<View style={styles.marginTop}> | ||
<View> | ||
{props.modalVisible && !props.videoAgree && !props.videoVisible && ( | ||
<SocialWorkerModal | ||
modalVisible={props.modalVisible} | ||
advanceModal={props.setAgreeModalVisible} | ||
setModalVisible={props.setModalVisible} | ||
sendEvent={sendEvent} | ||
/> | ||
)} | ||
{!props.videoVisible && props.videoAgree && ( | ||
<VideoAgreeModal | ||
modalVisible={props.modalVisible} | ||
advanceModal={props.setVideoPlayerModalVisible} | ||
setModalVisible={props.setModalVisible} | ||
onLogin={props.onLogin} | ||
sendEvent={sendEvent} | ||
/> | ||
)} | ||
{!props.videoAgree && props.videoVisible && ( | ||
<VideoModal | ||
setModalVisible={props.setModalVisible} | ||
onLogin={props.onLogin} | ||
sendEvent={sendEvent} | ||
/> | ||
)} | ||
</View> | ||
</View> | ||
</Modal> | ||
); | ||
}; | ||
|
||
const styles = StyleSheet.create({ | ||
marginTop: { | ||
marginTop: 22 | ||
}, | ||
logo: { | ||
width: Dimensions.get('window').width - 40, | ||
height: 100 | ||
}, | ||
button: { | ||
justifyContent: 'center', | ||
alignItems: 'center', | ||
flexDirection: 'row', | ||
backgroundColor: constants.highlightColor | ||
}, | ||
btnText: { | ||
color: '#fff' | ||
} | ||
}); | ||
|
||
export default RegisterModalsContainer; |
Oops, something went wrong.