import { View, Text, ScrollView, Image, Pressable } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; import { router } from 'expo-router'; import { useAuth } from '../../context/AuthProvider'; import { AccountSettingIconSvg, ActivitySvg, MyCarSvg, QuestionMarkIconSvg, SettingIconSvg, WalletSvg } from '../global/SVG'; const AccountMainPageComponent = () => { const { user, logout } = useAuth(); return ( {user?.nickname} router.push('/(account)/(wallet)/walletPage') } > 錢包 router.replace('myVehiclePage')} > 我的車輛 console.log('activity records pressed')} > 活動記錄 router.push('uberVerificationPage')} > router.push('/accountSettingPage')} className="flex-row items-center" hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }} > 帳戶管理 設定 排除解難 登出 ); }; export default AccountMainPageComponent;