MCPcopy Create free account
hub / github.com/OneBitCodeBlog/onebitlife / Start

Function Start

src/Pages/Start/index.jsx:8–38  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

6import LifeStatus from "../../Components/Common/LifeStatus";
7
8export default function Start() {
9 const navigation = useNavigation();
10
11 const handleNavAppExplanation = () => {
12 navigation.navigate("AppExplanation");
13 };
14
15 return (
16 <View style={styles.container}>
17 <ScrollView style={styles.scroll} showsVerticalScrollIndicator={false}>
18 <View style={{ alignItems: "center" }}>
19 <Image
20 source={require("../../assets/icons/logo3.png")}
21 style={styles.logo}
22 />
23 <LifeStatus />
24 <Text style={styles.description}>
25 Vamos transformar sua vida {"\n"} em um jogo, buscando sempre {"\n"}{" "}
26 o melhor nível.
27 </Text>
28 <DefaultButton
29 buttonText={"Continuar"}
30 handlePress={handleNavAppExplanation}
31 width={250}
32 height={50}
33 />
34 </View>
35 </ScrollView>
36 </View>
37 );
38}
39
40const styles = StyleSheet.create({
41 container: {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected