import { View, Text, ScrollView, Image, Pressable, Dimensions } 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(); const screenWidth = Dimensions.get('window').width; const imageWidth = screenWidth * 0.9; // 90% of screen width const aspectRatio = 210 / 375; return ( {user?.nickname} router.push('/(account)/(wallet)/walletPage')} > 錢包 router.replace('myVehiclePage')} > 我的車輛 router.push('/activityRecordPage')} > 活動記錄 router.push('uberVerificationPage')}> router.push('/accountSettingPage')} className="flex-row items-center" hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }} > 帳戶管理 router.push('/assistancePage')} className="flex-row items-center" hitSlop={{ top: 10, bottom: 10, left: 10, right: 10 }} > 排除解難 登出 ); }; export default AccountMainPageComponent;