-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathApp.tsx
70 lines (65 loc) · 1.89 KB
/
App.tsx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
import React from 'react';
import {StyleSheet, Text, View, ScrollView, SafeAreaView} from 'react-native';
const App = () => (
<SafeAreaView style={styles.container}>
<Text style={styles.titleName}> Laila </Text>
<Text style={styles.bio}> "I am not here for timepass"</Text>
<ScrollView >
<View style={{justifyContent: 'center',alignItems: 'right'}}>
<Text style={styles.attributes}>23</Text>
<Text style={styles.attributes}>Woman</Text>
<Text style={styles.attributes}>Straight</Text>
<Text style={styles.attributes}>Sector 2</Text>
<Text style={styles.attributes}>Yes</Text>
<Text style={styles.attributes}>Cat</Text>
<Text style={styles.attributes}>5'4</Text>
<Text style={styles.attributes}>No</Text>
<Text style={styles.attributes}>Don't Want</Text>
<Text style={styles.attributes}>No</Text>
<Text style={styles.attributes}>No</Text>
</View>
</ScrollView>
<Text style={styles.title}>SwipeVerse</Text>
</SafeAreaView>
);
const styles = StyleSheet.create({
attributes: {
padding: 5, flexDirection: 'row', flexWrap: 'wrap', fontSize: 10, color: '#f4f0d3'
},
row: {
flexDirection: 'row',
flexWrap: 'wrap',
},
container: {
flex: 1,
padding: 24,
backgroundColor: 'background-image: linear-gradient( 85.2deg, rgba(33,3,40,1) 7.5%, rgba(65,5,72,1) 88.7% );',
},
bio:{
paddingVertical: 1,
color: '#f4f0d3',
textAlign: 'left',
fontSize: 17
},
titleName: {
marginTop: 16,
paddingVertical: 8,
color: '#f4f0d3',
textAlign: 'left',
fontSize: 31,
fontWeight: 'bold',
},
title: {
marginTop: 16,
paddingVertical: 8,
borderWidth: 4,
borderColor: '#20232a',
borderRadius: 6,
backgroundColor: '#61dafb',
color: '#20232a',
textAlign: 'center',
fontSize: 30,
fontWeight: 'bold',
},
});
export default App;