-
Notifications
You must be signed in to change notification settings - Fork 0
/
GetStarted.js
79 lines (74 loc) · 1.98 KB
/
GetStarted.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
import { StyleSheet, Text, View, Image, TouchableOpacity } from "react-native";
import React from "react";
import { useNavigation } from "@react-navigation/native";
const GetstartedPage = () => {
const navigation = useNavigation();
return (
<View
style={{
backgroundColor: "#0782F9",
flex: 1,
justifyContent: "center",
alignItems: "center",
}}
>
<Image
style={{ height: 380, width: 350, marginBottom: 10, borderRadius: 15 }}
source={require("./assets/jouful.png")}
/>
<Text
style={{
marginTop: 10,
fontWeight: "800",
fontSize: 22,
marginBottom: 30,
color: "white",
}}
>
WELCOME TO BOMBAY ROTARY CLUB
</Text>
<TouchableOpacity
style={{
backgroundColor: "white",
width: "80%",
height: 60,
padding: 15,
borderRadius: 40,
alignItems: "center",
justifyContent: "center",
marginTop: 5,
marginBottom: 20,
marginLeft: 15,
borderWidth: 0.5,
borderColor: "black",
}}
onPress={() => navigation.replace("LoginScreen")}
>
<Text style={{ fontWeight: "600", fontSize: 18 }}>Sign in</Text>
</TouchableOpacity>
<TouchableOpacity
style={{
backgroundColor: "#FFA500",
width: "80%",
height: 60,
padding: 15,
borderRadius: 40,
alignItems: "center",
justifyContent: "center",
marginTop: 5,
marginBottom: 20,
marginLeft: 15,
borderWidth: 1,
borderColor: "#FFA500",
}}
onPress={() => navigation.replace("Register")}
>
<Text style={{ fontWeight: "600", fontSize: 18, color: "white" }}>
Register
</Text>
</TouchableOpacity>
</View>
);
};
export default GetstartedPage;
const styles = StyleSheet.create({});