11import React from 'react' ;
2- import { View , Text , ScrollView } from 'react-native' ;
2+ import { View , Text , ScrollView , TouchableOpacity } from 'react-native' ;
33import { SafeAreaView } from 'react-native-safe-area-context' ;
44import { Button , Card , CustomAlert , hideAlert } from '../../components' ;
55import { AnimatedEntry } from '../../components/AnimatedEntry' ;
@@ -9,6 +9,7 @@ import { PulsatingIcon } from '../../components/onboarding/PulsatingIcon';
99import { useOnboardingSheet } from '../../components/onboarding/useOnboardingSheet' ;
1010import { useFocusTrigger } from '../../hooks/useFocusTrigger' ;
1111import Icon from 'react-native-vector-icons/Feather' ;
12+ import IconMC from 'react-native-vector-icons/MaterialCommunityIcons' ;
1213import { useThemedStyles , useTheme } from '../../theme' ;
1314import { createStyles } from './styles' ;
1415import { useHomeScreen , HomeScreenNavigationProp } from './hooks/useHomeScreen' ;
@@ -77,8 +78,13 @@ export const HomeScreen: React.FC<HomeScreenProps> = ({ navigation }) => {
7778 < View testID = "home-screen" style = { styles . scrollView } >
7879 < ScrollView style = { styles . scrollView } contentContainerStyle = { styles . content } >
7980 < View style = { styles . header } >
80- < Text style = { styles . title } > Off Grid</ Text >
81- { showIcon && < PulsatingIcon onPress = { openSheet } /> }
81+ < View style = { styles . headerLeft } >
82+ < Text style = { styles . title } > Off Grid</ Text >
83+ { showIcon && < PulsatingIcon onPress = { openSheet } /> }
84+ </ View >
85+ < TouchableOpacity onPress = { ( ) => navigation . navigate ( 'ProDetail' ) } hitSlop = { 8 } style = { styles . crownButton } >
86+ < IconMC name = "crown" size = { 16 } color = { colors . primary } />
87+ </ TouchableOpacity >
8288 </ View >
8389
8490 { /* Active Models Section */ }
0 commit comments