This repository has been archived by the owner on Mar 31, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathNewAndExistingWalks.js
146 lines (141 loc) · 4.4 KB
/
NewAndExistingWalks.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
/*
NewAndExistingWalksScreens displays walks that have NOT departed yet.
*/
import React from 'react';
import { StyleSheet, ScrollView, Text, View, Button } from 'react-native';
class NewAndExistingWalksScreen extends React.Component {
static navigationOptions = {
title: 'Existing Walks',
};
render() {
return (
<ScrollView>
<View style={styles.container}>
<Text> {"\n"} {"\n"} {"\n"} </Text>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Salmon - {"\n"}
Unit 1 to Bowles Hall {"\n"} Departure: 7:30 pm </Text>
<Button
title="Walk #1"
color="transparent"
onPress={() => this.props.navigation.navigate('New')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Sierra - {"\n"}
Moffitt to Down Town {"\n"} Departure: 7:45 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Redwood - {"\n"}
Doe to North Side {"\n"} Departure: 8:15 pm </Text>
<Button
title="Walk #1"
color="transparent"
onPress={() => this.props.navigation.navigate('New')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Sequoia - {"\n"}
Memorial to Unit 3 {"\n"} Departure: 8:45 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style={styles.specialButtonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Oski - {"\n"}
Memorial to Unit 3 {"\n"} Departure: 9:00 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Honey - {"\n"}
Memorial to Unit 3 {"\n"} Departure: 9:15 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Yosemite - {"\n"}
Clark Kerr to Down Town {"\n"} Departure: 10:00 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style={styles.buttonContainer}>
<Text style = {styles.createWalkStyle}> - Pack Hibernation - {"\n"}
Cory to South Side {"\n"} Departure: 10:15 pm </Text>
<Button
title="Walk #2"
color="transparent"
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
<View style = {styles.buttonSpace}>
<Button
title="Home"
color ='white'
onPress={() => this.props.navigation.navigate('Home')}
/>
</View>
</View>
</ScrollView>
);
}
};
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: 'powderblue',
alignItems: 'center',
justifyContent: 'center',
},
buttonContainer: {
margin: 20,
width: 240,
height: 80,
backgroundColor: 'gray',
flexDirection: 'row',
justifyContent: 'center',
borderRadius: 25,
},
buttonSpace: {
margin: 20,
color: 'white',
backgroundColor: 'black',
flexDirection: 'row',
justifyContent: 'center',
borderRadius: 25,
},
specialButtonContainer: {
margin: 20,
width: 240,
height: 80,
backgroundColor: 'indianred',
flexDirection: 'row',
justifyContent: 'center',
borderRadius: 25,
},
createWalkStyle: {
fontSize: 20,
fontWeight: "bold",
position: "absolute",
textAlign: "center",
justifyContent: "center",
color: "white",
},
});
export default NewAndExistingWalksScreen;