-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathHome.tsx
47 lines (38 loc) · 1.04 KB
/
Home.tsx
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
import React from "react";
import { TouchableOpacity } from "react-native-gesture-handler";
import { NativeStackScreenProps } from "@react-navigation/native-stack";
import { RootStackParamList } from "../../App";
import {
Bold,
Container,
InduceParagraph,
IntroSection,
LaughGroup,
Logo,
ProfileImage,
SlideToPivoting,
UpperArrow,
WaitingParagraph,
} from "./style";
type Props = NativeStackScreenProps<RootStackParamList, "Home">;
const Home = ({ navigation }: Props) => {
const waitingPeople = 65;
return (
<Container>
<IntroSection>
<Logo />
<InduceParagraph>피보팅을{"\n"}시작해보세요</InduceParagraph>
<WaitingParagraph>
현재 <Bold>{waitingPeople}명</Bold>이 대기중이에요
</WaitingParagraph>
<ProfileImage />
</IntroSection>
<LaughGroup />
<TouchableOpacity onPress={() => navigation.navigate("Matching")}>
<SlideToPivoting />
</TouchableOpacity>
<UpperArrow />
</Container>
);
};
export default Home;