-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
381c22e
commit 3248639
Showing
8 changed files
with
298 additions
and
33 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
import React from "react"; | ||
import { useNavigation } from "@react-navigation/native"; | ||
import { View, Text, StyleSheet, ScrollView, Button } from "react-native"; | ||
|
||
function Best_user() { | ||
const navigation = useNavigation(); | ||
|
||
return ( | ||
<View> | ||
{/* 버튼을 클릭하여 cctv 화면으로 이동 */} | ||
<View style={styles.navi}> | ||
<Button | ||
style={styles.navi_btn} | ||
title="시설보수" | ||
onPress={() => navigation.navigate("complain_fac")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="CCTV" | ||
onPress={() => navigation.navigate("cctv")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="우수 유저" | ||
onPress={() => navigation.navigate("best_user")} | ||
/> | ||
</View> | ||
{/* 나머지 컴포넌트 내용 */} | ||
</View> | ||
); | ||
} | ||
|
||
const styles = StyleSheet.create({ | ||
navi: { | ||
flexDirection: "row", | ||
justifyContent: "space-around", | ||
padding: 5, | ||
borderBottomWidth: 1, | ||
borderBottomColor: "gray", | ||
}, | ||
}); | ||
|
||
export default Best_user; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React from "react"; | ||
import { useNavigation } from "@react-navigation/native"; | ||
import { View, Text, StyleSheet, ScrollView, Button } from "react-native"; | ||
|
||
function Cctv() { | ||
const navigation = useNavigation(); | ||
|
||
return ( | ||
<View> | ||
{/* 버튼을 클릭하여 cctv 화면으로 이동 */} | ||
<View style={styles.navi}> | ||
<Button | ||
style={styles.navi_btn} | ||
title="시설보수" | ||
onPress={() => navigation.navigate("complain_fac")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="CCTV" | ||
onPress={() => navigation.navigate("cctv")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="우수 유저" | ||
onPress={() => navigation.navigate("best_user")} | ||
/> | ||
</View> | ||
{/* 나머지 컴포넌트 내용 */} | ||
</View> | ||
); | ||
} | ||
const styles = StyleSheet.create({ | ||
navi: { | ||
flexDirection: "row", | ||
justifyContent: "space-around", | ||
padding: 5, | ||
borderBottomWidth: 1, | ||
borderBottomColor: "gray", | ||
}, | ||
}); | ||
|
||
export default Cctv; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import React from "react"; | ||
import { useNavigation } from "@react-navigation/native"; | ||
import { View, Text, StyleSheet, ScrollView, Button } from "react-native"; | ||
|
||
function Complain_fac() { | ||
const navigation = useNavigation(); | ||
|
||
return ( | ||
<View> | ||
{/* 버튼을 클릭하여 cctv 화면으로 이동 */} | ||
<View style={styles.navi}> | ||
<Button | ||
style={styles.navi_btn} | ||
title="시설보수" | ||
onPress={() => navigation.navigate("complain_fac")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="CCTV" | ||
onPress={() => navigation.navigate("cctv")} | ||
/> | ||
<Button | ||
style={styles.navi_btn} | ||
title="우수 유저" | ||
onPress={() => navigation.navigate("best_user")} | ||
/> | ||
</View> | ||
{/* 나머지 컴포넌트 내용 */} | ||
</View> | ||
); | ||
} | ||
const styles = StyleSheet.create({ | ||
navi: { | ||
flexDirection: "row", | ||
justifyContent: "space-around", | ||
padding: 5, | ||
borderBottomWidth: 1, | ||
borderBottomColor: "gray", | ||
}, | ||
}); | ||
|
||
export default Complain_fac; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.