eletrotupi / tcc/ frontend/app/(tabs)/settings.tsx6e7ecd390ce119d438ab5b3ab16fa1d9edeb434a
1.2 KB | 49 lines Raw
1
import { StyleSheet } from 'react-native';
2
import ParallaxScrollView from '@/components/misc/parallax-scroll-view';
3

4
import { ThemedText } from '@/components/misc/themed-text';
5
import { ThemedView } from '@/components/misc/themed-view';
6
import { IconSymbol } from '@/components/ui/icon-symbol';
7
import { Fonts } from '@/constants/theme';
8

9
export default function Settings() {
10
  return (
11
    <ParallaxScrollView
12
      headerBackgroundColor={{ light: '#D0D0D0', dark: '#353636' }}
13
      headerImage={
14
        <IconSymbol
15
          size={310}
16
          color="#808080"
17
          name="chevron.left.forwardslash.chevron.right"
18
          style={styles.headerImage}
19
        />
20
      }>
21
      <ThemedView style={styles.titleContainer}>
22
        <ThemedText
23
          type="title"
24
          style={{
25
            fontFamily: Fonts.rounded,
26
          }}>
27
          Explore
28
        </ThemedText>
29
      </ThemedView>
30
      <ThemedText>
31
        This app includes example code to help you get started.
32
      </ThemedText>
33
    </ParallaxScrollView>
34
  )
35
}
36

37

38
const styles = StyleSheet.create({
39
  headerImage: {
40
    color: '#808080',
41
    bottom: -90,
42
    left: -35,
43
    position: 'absolute',
44
  },
45
  titleContainer: {
46
    flexDirection: 'row',
47
    gap: 8,
48
  },
49
});