11import  {  StatusBar  }  from  'expo-status-bar' ; 
2- import  {  Platform ,  StyleSheet  }  from  'react-native' ; 
2+ import  {  Platform ,  StyleSheet ,   Image ,   Linking  }  from  'react-native' ; 
33
44import  {  Text ,  View  }  from  '@/components/Themed' ; 
55
6+ 
67export  default  function  ModalScreen ( )  { 
8+ 
9+ 
710  return  ( 
811    < View  style = { styles . container } > 
9-       < Text  style = { styles . title } > Thank you for using this APP</ Text > 
10-       < View  style = { styles . separator }  lightColor = "#eee"  darkColor = "rgba(255,255,255,0.1)"  /> 
12+       { /* <Text style={styles.title}>Thank you for using this APP</Text> 
13+       <View style={styles.separator} lightColor="#eee" darkColor="rgba(255,255,255,0.1)" /> */ } 
14+ 
15+       < View  style = { styles . center } > 
16+         { /* Displaying the image in a circle */ } 
17+         < Text  style = { styles . title } > Thank you for using this APP</ Text > 
18+         < Image  source = { require ( '../assets/me.jpg' ) }  style = { styles . image }  /> 
19+         < Text  style = { styles . body } > 👨💻Hi, my name is Woody Lin.</ Text > 
20+ 
21+         < Text  style = { styles . body } > </ Text > 
22+ 
23+         < Text  style = { styles . body } > If you like this project,</ Text > 
24+         < Text  style = { styles . body } > 🌠feel free to star it,</ Text > 
25+         < Text  style = { styles . body } > fork it, and modify it!</ Text > 
26+ 
27+         < Text  style = { styles . body } > </ Text > 
28+ 
29+         < Text  style = { styles . body } > 
30+           Connect me on 
31+           < Text  style = { styles . link }  onPress = { ( )  =>  Linking . openURL ( 'https://www.linkedin.com/in/woody-lin-32ab48161/' ) } >  LinkedIn</ Text > 
32+           .
33+         </ Text > 
34+         < Text  style = { styles . body } > 
35+           Check out my 
36+           < Text  style = { styles . link }  onPress = { ( )  =>  Linking . openURL ( 'https://github.com/WoodyLinwc' ) } >  Github</ Text > 
37+           .
38+         </ Text > 
39+ 
40+         
41+       </ View > 
42+ 
1143
1244      { /* Use a light status bar on iOS to account for the black space above the modal */ } 
1345      < StatusBar  style = { Platform . OS  ===  'ios'  ? 'light'  : 'auto' }  /> 
@@ -19,15 +51,32 @@ const styles = StyleSheet.create({
1951  container : { 
2052    flex : 1 , 
2153    alignItems : 'center' , 
22-     justifyContent : 'center' , 
54+     justifyContent : 'flex-start' , 
55+     paddingTop : 50 , 
2356  } , 
2457  title : { 
2558    fontSize : 20 , 
2659    fontWeight : 'bold' , 
2760  } , 
61+   body : { 
62+     fontSize : 20 , 
63+   } , 
2864  separator : { 
2965    marginVertical : 30 , 
3066    height : 1 , 
3167    width : '80%' , 
3268  } , 
69+   center : { 
70+     alignItems : 'center' , 
71+   } , 
72+   image : { 
73+     width : 200 , 
74+     height : 200 , 
75+     borderRadius : 50 ,  
76+     marginBottom : 20 ,  
77+     marginTop : 20 , 
78+   } , 
79+   link : { 
80+     color : 'blue' , 
81+   } , 
3382} ) ; 
0 commit comments