diff --git a/screens/starPosition/Star1.js b/screens/starPosition/Star1.js new file mode 100644 index 0000000..7719e25 --- /dev/null +++ b/screens/starPosition/Star1.js @@ -0,0 +1,166 @@ +import React from 'react'; +import { + View, + SafeAreaView, + ScrollView, + Image, + Text, + StyleSheet, + TextInput, + TouchableOpacity, + StatusBar, +} from 'react-native'; +const Star1 = () => { + const dummy = [1, 2, 3, 4, 5, 6, 7]; + const star1 = [ + {top: 85, left: 75}, + {top: 155, left: 95}, + {top: 165, left: 145}, + {top: 245, left: 260}, + {top: 275, left: 205}, + {top: 385, left: 230}, + {top: 425, left: 110}, + ]; + return ( + + + + + {star1.map((item, idx) => { + if (idx < dummy.length) { + return ( + navigation.navigate('Alarm')} + > + + + ); + } + })} + + + ); +}; + +export default Star1; + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: '#100D30', + }, + contentContainer: { + flex: 1, + padding: 20, + + // width: 390, + // position: 'relative', + // display: 'flex', + // marginTop: 50, + // justifyContent: 'center', + }, + header: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + }, + alarm: { + marginTop: 60, + marginRight: 30, + }, + logo: { + marginTop: 67, + marginLeft: 30, + width: 96, + height: 18, + }, + starMap: { + position: 'relative', + marginTop: -50, + }, + star: { + position: 'absolute', + top: 425, + left: 110, + opacity: 1, + }, + starOn: { + position: 'absolute', + top: 85, + left: 75, + opacity: 1, + }, + scrollView: { + height: 700, + width: '100%', + flex: 1, + flexDirection: 'coulmn', + }, + BottomSheetContainer: { + opacity: 0.8, + borderRadius: 20, + }, + mainTitle: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + alignItems: 'center', + }, + textTitle: { + fontStyle: 'normal', + fontSize: 16, + fontWeight: 'bold', + color: '#24292F', + }, + PlusTitle: { + backgroundColor: '#ffffff', + width: 32, + height: 32, + borderRadius: 500, + position: 'relative', + }, + TextPlus: { + textAlign: 'center', + position: 'absolute', + top: -3, + left: 7, + fontSize: 30, + }, + inputTag: { + marginTop: 20, + height: 50, + width: 350, + borderRadius: 100, + padding: 10, + backgroundColor: '#ffffff', + verticalAlign: 'middle', + lineHeight: 20, + paddingTop: 15, + paddingLeft: 25, + }, + registrationBtn: { + position: 'absolute', + left: 20, + top: 300, + borderRadius: 8, + width: 350, + height: 40, + backgroundColor: '#7149E0', + }, + TextRegister: { + textAlign: 'center', + color: '#ffffff', + fontSize: 15, + fontWeight: 'bold', + lineHeight: 40, + }, +}); diff --git a/screens/starPosition/Star2.js b/screens/starPosition/Star2.js new file mode 100644 index 0000000..cc8e425 --- /dev/null +++ b/screens/starPosition/Star2.js @@ -0,0 +1,166 @@ +import React from 'react'; +import { + View, + SafeAreaView, + ScrollView, + Image, + Text, + StyleSheet, + TextInput, + TouchableOpacity, + StatusBar, +} from 'react-native'; +const Star2 = () => { + const dummy = [1, 2, 3, 4, 5, 6, 7]; + const star1 = [ + {top: 85, left: 75}, + {top: 205, left: 195}, + {top: 155, left: 220}, + {top: 235, left: 265}, + {top: 305, left: 85}, + {top: 360, left: 185}, + {top: 300, left: 215}, + ]; + return ( + + + + + {star1.map((item, idx) => { + if (idx < dummy.length) { + return ( + navigation.navigate('Alarm')} + > + + + ); + } + })} + + + ); +}; + +export default Star2; + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: '#100D30', + }, + contentContainer: { + flex: 1, + padding: 20, + + // width: 390, + // position: 'relative', + // display: 'flex', + // marginTop: 50, + // justifyContent: 'center', + }, + header: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + }, + alarm: { + marginTop: 60, + marginRight: 30, + }, + logo: { + marginTop: 67, + marginLeft: 30, + width: 96, + height: 18, + }, + starMap: { + position: 'relative', + marginTop: -50, + }, + star: { + position: 'absolute', + top: 425, + left: 110, + opacity: 1, + }, + starOn: { + position: 'absolute', + top: 85, + left: 75, + opacity: 1, + }, + scrollView: { + height: 700, + width: '100%', + flex: 1, + flexDirection: 'coulmn', + }, + BottomSheetContainer: { + opacity: 0.8, + borderRadius: 20, + }, + mainTitle: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + alignItems: 'center', + }, + textTitle: { + fontStyle: 'normal', + fontSize: 16, + fontWeight: 'bold', + color: '#24292F', + }, + PlusTitle: { + backgroundColor: '#ffffff', + width: 32, + height: 32, + borderRadius: 500, + position: 'relative', + }, + TextPlus: { + textAlign: 'center', + position: 'absolute', + top: -3, + left: 7, + fontSize: 30, + }, + inputTag: { + marginTop: 20, + height: 50, + width: 350, + borderRadius: 100, + padding: 10, + backgroundColor: '#ffffff', + verticalAlign: 'middle', + lineHeight: 20, + paddingTop: 15, + paddingLeft: 25, + }, + registrationBtn: { + position: 'absolute', + left: 20, + top: 300, + borderRadius: 8, + width: 350, + height: 40, + backgroundColor: '#7149E0', + }, + TextRegister: { + textAlign: 'center', + color: '#ffffff', + fontSize: 15, + fontWeight: 'bold', + lineHeight: 40, + }, +}); diff --git a/screens/starPosition/Star3.js b/screens/starPosition/Star3.js new file mode 100644 index 0000000..df3b95e --- /dev/null +++ b/screens/starPosition/Star3.js @@ -0,0 +1,166 @@ +import React from 'react'; +import { + View, + SafeAreaView, + ScrollView, + Image, + Text, + StyleSheet, + TextInput, + TouchableOpacity, + StatusBar, +} from 'react-native'; +const Star3 = () => { + const dummy = [1, 2, 3, 4, 5, 6, 7]; + const star1 = [ + {top: 80, left: 80}, + {top: 100, left: 160}, + {top: 165, left: 195}, + {top: 225, left: 225}, + {top: 295, left: 145}, + {top: 360, left: 190}, + {top: 335, left: 265}, + ]; + return ( + + + + + {star1.map((item, idx) => { + if (idx < dummy.length) { + return ( + navigation.navigate('Alarm')} + > + + + ); + } + })} + + + ); +}; + +export default Star3; + +const styles = StyleSheet.create({ + container: { + flex: 1, + backgroundColor: '#100D30', + }, + contentContainer: { + flex: 1, + padding: 20, + + // width: 390, + // position: 'relative', + // display: 'flex', + // marginTop: 50, + // justifyContent: 'center', + }, + header: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + }, + alarm: { + marginTop: 60, + marginRight: 30, + }, + logo: { + marginTop: 67, + marginLeft: 30, + width: 96, + height: 18, + }, + starMap: { + position: 'relative', + marginTop: -50, + }, + star: { + position: 'absolute', + top: 425, + left: 110, + opacity: 1, + }, + starOn: { + position: 'absolute', + top: 85, + left: 75, + opacity: 1, + }, + scrollView: { + height: 700, + width: '100%', + flex: 1, + flexDirection: 'coulmn', + }, + BottomSheetContainer: { + opacity: 0.8, + borderRadius: 20, + }, + mainTitle: { + display: 'flex', + flexDirection: 'row', + justifyContent: 'space-between', + alignItems: 'center', + }, + textTitle: { + fontStyle: 'normal', + fontSize: 16, + fontWeight: 'bold', + color: '#24292F', + }, + PlusTitle: { + backgroundColor: '#ffffff', + width: 32, + height: 32, + borderRadius: 500, + position: 'relative', + }, + TextPlus: { + textAlign: 'center', + position: 'absolute', + top: -3, + left: 7, + fontSize: 30, + }, + inputTag: { + marginTop: 20, + height: 50, + width: 350, + borderRadius: 100, + padding: 10, + backgroundColor: '#ffffff', + verticalAlign: 'middle', + lineHeight: 20, + paddingTop: 15, + paddingLeft: 25, + }, + registrationBtn: { + position: 'absolute', + left: 20, + top: 300, + borderRadius: 8, + width: 350, + height: 40, + backgroundColor: '#7149E0', + }, + TextRegister: { + textAlign: 'center', + color: '#ffffff', + fontSize: 15, + fontWeight: 'bold', + lineHeight: 40, + }, +});