diff --git a/navigation/OnBoarding/StackNavigationOfOnBoarding.tsx b/navigation/OnBoarding/StackNavigationOfOnBoarding.tsx index d81f4c8..6f85c53 100644 --- a/navigation/OnBoarding/StackNavigationOfOnBoarding.tsx +++ b/navigation/OnBoarding/StackNavigationOfOnBoarding.tsx @@ -32,7 +32,7 @@ function OnBoardingStack({ setIsLogin }: IProps) { children={() => } options={{ headerTransparent: true, - headerTitle: '', + title: '', headerLeft: () => ( navigation.goBack()}> @@ -45,7 +45,7 @@ function OnBoardingStack({ setIsLogin }: IProps) { component={OnBoarding} options={{ headerTransparent: true, - headerTitle: '', + title: '', headerLeft: () => ( navigation.goBack()}> diff --git a/react-native.config.js b/react-native.config.js new file mode 100644 index 0000000..240776e --- /dev/null +++ b/react-native.config.js @@ -0,0 +1,3 @@ +module.exports = { + assets: ['./src/assets/fonts'], +}; diff --git a/screens/landing/styles.tsx b/screens/landing/styles.tsx index 0a82924..80d62e9 100644 --- a/screens/landing/styles.tsx +++ b/screens/landing/styles.tsx @@ -1,11 +1,21 @@ -import { StyleSheet } from 'react-native'; +import { StyleSheet, Platform } from 'react-native'; import { mainBlack, mainBlue, mainLightBlue, mainOrange } from '../../color'; const styles = StyleSheet.create({ - landingPageFullScreen: { backgroundColor: 'white', flex: 1 }, - onBoardingFullScreen: { backgroundColor: mainLightBlue, flex: 1 }, - upperElement: { marginTop: 115, marginHorizontal: 17 }, - lowerElement: { position: 'absolute', bottom: 60, marginHorizontal: '5%', width: '90%' }, + landingPageFullScreen: { backgroundColor: 'white', flex: 1, fontFamily: 'AppleSDGothicNeoM' }, + onBoardingFullScreen: { + backgroundColor: mainLightBlue, + flex: 1, + fontFamily: 'AppleSDGothicNeoM', + }, + upperElement: + Platform.OS === 'ios' + ? { marginTop: 110, marginHorizontal: 17 } + : { marginTop: 50, marginHorizontal: 17 }, + lowerElement: + Platform.OS === 'ios' + ? { position: 'absolute', bottom: 60, marginHorizontal: '5%', width: '90%' } + : { position: 'absolute', bottom: 40, marginHorizontal: '5%', width: '90%' }, mainText: { fontSize: 24, lineHeight: 40, color: mainBlack }, subText: { marginTop: 32, lineHeight: 30, color: mainBlack },