54 lines
1.1 KiB
TypeScript
Raw Permalink Normal View History

2025-01-28 08:19:46 -06:00
import { Image, StyleSheet, Platform } from 'react-native';
import ParallaxScrollView from '@/components/default/ParallaxScrollView';
import { ThemedText, ThemedView } from '@/components/theme/Theme';
2025-01-28 08:19:46 -06:00
const HomeScreen = () => {
2025-01-28 08:19:46 -06:00
return (
<ParallaxScrollView
headerImage={
<Image
2025-01-28 12:56:22 -06:00
source={require('@/assets/images/tech_tracker_logo.png')}
2025-01-28 08:19:46 -06:00
style={styles.reactLogo}
/>
2025-01-28 08:45:02 -06:00
}
2025-01-28 12:56:22 -06:00
headerTitle={
<ThemedText type='title' style={styles.headerTitle}>Tech Tracker</ThemedText>
}
2025-01-28 08:45:02 -06:00
>
2025-01-28 08:19:46 -06:00
<ThemedView style={styles.titleContainer}>
2025-01-28 13:24:20 -06:00
2025-01-28 08:19:46 -06:00
</ThemedView>
</ParallaxScrollView>
);
};
export default HomeScreen;
2025-01-28 08:19:46 -06:00
const styles = StyleSheet.create({
titleContainer: {
flexDirection: 'row',
alignItems: 'center',
gap: 8,
},
stepContainer: {
gap: 8,
marginBottom: 8,
},
reactLogo: {
2025-01-28 13:24:20 -06:00
height: 70,
width: 72,
2025-01-28 12:56:22 -06:00
bottom: 10,
2025-01-28 13:24:20 -06:00
left: 40,
2025-01-28 12:56:22 -06:00
position: 'absolute',
},
headerTitle: {
2025-01-28 08:19:46 -06:00
position: 'absolute',
2025-01-28 12:56:22 -06:00
bottom: 20,
2025-01-28 13:24:20 -06:00
left: 75,
2025-01-28 12:56:22 -06:00
right: 0,
textAlign: 'center',
fontSize: 48,
lineHeight: 64,
fontWeight: 'bold',
2025-01-28 08:19:46 -06:00
},
});