Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 30 additions & 7 deletions 1. core-components/App.js
Original file line number Diff line number Diff line change
@@ -1,20 +1,43 @@
import { StatusBar } from 'expo-status-bar';
import { StyleSheet, Text, View } from 'react-native';
import { StyleSheet, Text, View, Linking, Image,SafeAreaView, Button} from 'react-native';


export default function App() {

return (
<View style={styles.container}>
<Text>Open up App.js to start working on your app!</Text>
<StatusBar style="auto" />
</View>
<SafeAreaView style={styles.container}>
<Image
style={styles.image}
source={require('./assets/profile.jpg')}
/>
<Text style={{fontSize: 30, marginBottom: 30}}>Zidane Hammouda</Text>
<Text style={{marginBottom: 60}}>Life is good</Text>
<Button
onPress={()=>{ Linking.openURL('https://github.com/zidanehammouda')}}
title="Connect"
color="#841584"
accessibilityLabel="Navigate to github profile"

/>
</SafeAreaView>
);
}


const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#fff',
backgroundColor: '#302366',
alignItems: 'center',
justifyContent: 'center',
},
});
image: {
width: 200,
height: 200,
borderRadius: 100,
overflow: 'hidden',
borderWidth: 4,
margin: 20,

},
});
Binary file added 1. core-components/assets/profile.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading