import React from 'react'; import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; import { router } from 'expo-router'; import Animated, { FadeInDown, FadeInUp } from 'react-native-reanimated'; import { COLORS, SPACING, TYPOGRAPHY, BORDER_RADIUS, SHADOWS } from '../constants/theme'; import { useLanguage } from '../stores/LanguageContext'; import { SafeAreaView } from 'react-native-safe-area-context'; import { Languages, Scissors } from 'lucide-react-native'; export default function RootLanguageSelection() { const { setLanguage } = useLanguage(); const handleSelect = (lang: 'pt' | 'es') => { setLanguage(lang); router.replace('/landing'); }; return ( BarberFlow Selecione seu idioma Seleccione su idioma para continuar handleSelect('pt')} > 🇧🇷 Português Bem-vindo ao sistema handleSelect('es')} > 🇪🇸 Español Bienvenido al sistema ); } const styles = StyleSheet.create({ container: { flex: 1, backgroundColor: COLORS.background }, content: { flex: 1, padding: SPACING.xl, justifyContent: 'center', maxWidth: 500, width: '100%', alignSelf: 'center' }, logoContainer: { alignItems: 'center', marginBottom: SPACING.xxxl }, logoCircle: { width: 80, height: 80, borderRadius: 40, backgroundColor: `${COLORS.primary}15`, alignItems: 'center', justifyContent: 'center', marginBottom: SPACING.md, borderWidth: 1, borderColor: COLORS.primary }, brandName: { ...TYPOGRAPHY.h1, color: COLORS.text, letterSpacing: 2 }, header: { alignItems: 'center', marginBottom: SPACING.xxl }, title: { ...TYPOGRAPHY.h2, color: COLORS.text, marginBottom: 8 }, subtitle: { ...TYPOGRAPHY.body, color: COLORS.textMuted }, options: { gap: SPACING.md }, langCard: { flexDirection: 'row', alignItems: 'center', padding: SPACING.xl, backgroundColor: COLORS.surface, borderRadius: BORDER_RADIUS.xl, borderWidth: 1, borderColor: COLORS.divider, ...(SHADOWS.medium as any) }, flag: { fontSize: 32, marginRight: SPACING.lg }, langInfo: { flex: 1 }, langName: { ...TYPOGRAPHY.h3, color: COLORS.text }, langDesc: { ...TYPOGRAPHY.caption, color: COLORS.textMuted } });