-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathApp.js
More file actions
77 lines (73 loc) · 1.71 KB
/
Copy pathApp.js
File metadata and controls
77 lines (73 loc) · 1.71 KB
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
71
72
73
74
75
76
77
import { StatusBar } from 'expo-status-bar';
import { SafeAreaView, StyleSheet, Text, TouchableOpacity, View } from 'react-native';
export default function App() {
return (
<SafeAreaView style={styles.safe}>
<StatusBar style="light" />
<View style={styles.card}>
<Text style={styles.title}>Recallify</Text>
<Text style={styles.subtitle}>Study smarter. One screen at a time.</Text>
<TouchableOpacity style={styles.button} onPress={() => {}} activeOpacity={0.8}>
<Text style={styles.buttonText}>Get Started</Text>
</TouchableOpacity>
<Text style={styles.version}>v0.0.1</Text>
</View>
</SafeAreaView>
);
}
const styles = StyleSheet.create({
safe: {
flex: 1,
backgroundColor: '#0F172A',
alignItems: 'center',
justifyContent: 'center',
},
card: {
width: '88%',
backgroundColor: '#111827',
borderRadius: 24,
paddingVertical: 40,
paddingHorizontal: 24,
alignItems: 'center',
shadowColor: '#000',
shadowOpacity: 0.25,
shadowRadius: 16,
shadowOffset: { width: 0, height: 10 },
elevation: 8,
},
logo: {
fontSize: 56,
marginBottom: 10,
},
title: {
fontSize: 36,
fontWeight: '800',
color: '#F8FAFC',
letterSpacing: 0.5,
},
subtitle: {
marginTop: 6,
fontSize: 14,
color: '#CBD5E1',
textAlign: 'center',
},
button: {
marginTop: 24,
backgroundColor: '#6366F1',
paddingVertical: 14,
paddingHorizontal: 22,
borderRadius: 14,
width: '100%',
alignItems: 'center',
},
buttonText: {
color: '#FFFFFF',
fontSize: 16,
fontWeight: '700',
},
version: {
marginTop: 18,
color: '#64748B',
fontSize: 12,
},
});