import * as Device from 'expo-device'; import { Platform, StyleSheet } from 'react-native'; import { SafeAreaView } from 'react-native-safe-area-context'; import { AnimatedIcon } from '@/components/animated-icon'; import { HintRow } from '@/components/hint-row'; import { ThemedText } from '@/components/themed-text'; import { ThemedView } from '@/components/themed-view'; import { WebBadge } from '@/components/web-badge'; import { BottomTabInset, MaxContentWidth, Spacing } from '@/constants/theme'; function getDevMenuHint() { if (Platform.OS === 'web') { return use browser devtools; } if (Device.isDevice) { return ( shake device or press m in terminal ); } const shortcut = Platform.OS === 'android' ? 'cmd+m (or ctrl+m)' : 'cmd+d'; return ( press {shortcut} ); } export default function HomeScreen() { return ( Welcome to Expo get started src/app/index.tsx} /> npm run reset-project} /> {Platform.OS === 'web' && } ); } const styles = StyleSheet.create({ container: { flex: 1, justifyContent: 'center', flexDirection: 'row', }, safeArea: { flex: 1, paddingHorizontal: Spacing.four, alignItems: 'center', gap: Spacing.three, paddingBottom: BottomTabInset + Spacing.three, maxWidth: MaxContentWidth, }, heroSection: { alignItems: 'center', justifyContent: 'center', flex: 1, paddingHorizontal: Spacing.four, gap: Spacing.four, }, title: { textAlign: 'center', }, code: { textTransform: 'uppercase', }, stepContainer: { gap: Spacing.three, alignSelf: 'stretch', paddingHorizontal: Spacing.three, paddingVertical: Spacing.four, borderRadius: Spacing.four, }, });