-
Notifications
You must be signed in to change notification settings - Fork 0
/
StartScreen.js
52 lines (45 loc) · 1.46 KB
/
StartScreen.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
import React, { Component } from "react";
import { View, Text, Button, StyleSheet } from 'react-native';
const style = StyleSheet.create({
container: {
backgroundColor: '#B9BFFF',
flex: 1
},
text: {
fontSize: 30,
color: '#088A68',
textAlign: 'center'
},
Button: {
color: '#088A68',
fontSize: 40,
backgroundColor: '#000000',
}
})
export default class StartScreen extends Component {
render() {
return (
<View style={style.container}>
<Text style={style.text}>Start Screen</Text>
<Text></Text>
<Text></Text>
<Text></Text>
<Text></Text>
<Text></Text>
<Text></Text>
<Text></Text>
<Text></Text>
<View style={[{ width: "100%"} ]}>
<Button color={style.Button.color} backgroundColor={style.Button.backgroundColor} onPress={() => this.gotoLoginScreen()} title='로그인' />
<Button color={style.Button.color} backgroundColor={style.Button.backgroundColor} onPress={() => this.gotoJoinScreen()} title='회원가입' />
</View>
</View >
)
}
gotoLoginScreen() {
this.props.navigation.navigate('Login')
}
gotoJoinScreen() {
this.props.navigation.navigate('Join')
}
}