Merge pull request #28 from henrydays/Borges_march

Borges march
This commit is contained in:
Henrique Dias 2019-03-14 19:48:21 +00:00 committed by GitHub
commit aa2d8773a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 53 additions and 2 deletions

View File

@ -183,6 +183,7 @@ const Stack = createStackNavigator({
return { return {
headerTitle: 'Eventos', headerTitle: 'Eventos',
} }
} }
else { else {
return { return {
@ -207,7 +208,6 @@ const Stack = createStackNavigator({
screen: FebradaDetail, screen: FebradaDetail,
}, },
resetPassword:{ resetPassword:{
screen:resetPassword screen:resetPassword
} }

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.6 KiB

View File

@ -1,11 +1,15 @@
import * as React from "react"; import * as React from "react";
import {View, StyleSheet, Dimensions, Text, Button, ScrollView, Image, TouchableOpacity} from "react-native"; import {View, StyleSheet, Dimensions, Text, Button, ScrollView, Image, TouchableOpacity} from "react-native";
import {TabView, TabBar, SceneMap} from "react-native-tab-view"; import {TabView, TabBar, SceneMap} from "react-native-tab-view";
import rallyImg from '../assets/rallyTascas.jpg';
const SCREEN_HEIGHT = Dimensions.get("window").height; const SCREEN_HEIGHT = Dimensions.get("window").height;
const SCREEN_WIDTH = Dimensions.get("window").width; const SCREEN_WIDTH = Dimensions.get("window").width;
const FirstRoute = () => ( const FirstRoute = () => (
<View style={[styles.scene, {backgroundColor: "#ff4081"}]}/> <View style={[styles.scene, {backgroundColor: "#ff4081"}]}/>
); );
@ -51,7 +55,6 @@ export default class Eventos extends React.Component {
</Image> </Image>
</View> </View>
</TouchableOpacity> </TouchableOpacity>
</View> </View>
); );
@ -128,6 +131,7 @@ const styles = StyleSheet.create({
cardContainer: { cardContainer: {
flex: 1, flex: 1,
flexDirection: 'row',
padding: 10, padding: 10,
margin: 20, margin: 20,
backgroundColor: '#fff', backgroundColor: '#fff',

View File

@ -0,0 +1,47 @@
/*
/*
/*
/*Esta página só está disponivel a 1 hora do rally..
*/
import * as React from "react";
import {View, StyleSheet, Dimensions, Text, Button, ScrollView} from "react-native";
import {TabView, TabBar, SceneMap} from "react-native-tab-view";
import * as Actions from "../store/actions";
import {connect} from "react-redux";
import {bindActionCreators} from "redux";
export default class rallyTascas extends React.Component {
render() {
return (
<View>
</View>
)
}
}
function mapStateToProps(state, props) {
return {
token: state.apiReducer.token,
user: state.apiReducer.user,
logged: state.apiReducer.logged,
events: state.apiReducer.events
}
}
function mapDispatchToProps(dispatch) {
return bindActionCreators(Actions, dispatch);
}
export default connect(mapStateToProps, mapDispatchToProps)(rallyTascas);