From f6e7cecdec73c7510eaa200a79c4ae405a6ffa90 Mon Sep 17 00:00:00 2001 From: emergent-agent-e1 Date: Sat, 8 Nov 2025 08:43:33 +0000 Subject: [PATCH] auto-commit for 0a9afaec-e68c-463e-a217-9d281f5d4b7c --- .../src/screens/Wallet/WalletSetupScreen.tsx | 167 ++++++++++++++++++ 1 file changed, 167 insertions(+) create mode 100644 frontend/src/screens/Wallet/WalletSetupScreen.tsx diff --git a/frontend/src/screens/Wallet/WalletSetupScreen.tsx b/frontend/src/screens/Wallet/WalletSetupScreen.tsx new file mode 100644 index 00000000..71bb9361 --- /dev/null +++ b/frontend/src/screens/Wallet/WalletSetupScreen.tsx @@ -0,0 +1,167 @@ +import React from 'react'; +import { + View, + Text, + StyleSheet, + TouchableOpacity, + SafeAreaView, + Dimensions, +} from 'react-native'; +import { Ionicons } from '@expo/vector-icons'; +import { LinearGradient } from 'expo-linear-gradient'; + +const { width } = Dimensions.get('window'); + +export default function WalletSetupScreen({ navigation }: any) { + return ( + + + + {/* Header */} + + + Setup Your Wallet + + Create a new wallet or import an existing one to get started + + + + {/* Options */} + + {/* Create New Wallet */} + navigation.navigate('CreateWallet')} + activeOpacity={0.8} + > + + + + Create New Wallet + + Generate a new wallet with a secure seed phrase + + + + + + + {/* Import Wallet */} + navigation.navigate('ImportWallet')} + activeOpacity={0.8} + > + + + + Import Wallet + + Import an existing wallet using your seed phrase + + + + + + + + {/* Footer Info */} + + + + Your keys are stored securely on your device + + + + + + ); +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + }, + gradient: { + flex: 1, + }, + content: { + flex: 1, + padding: 20, + justifyContent: 'space-between', + }, + header: { + alignItems: 'center', + marginTop: 40, + }, + title: { + fontSize: 28, + fontWeight: 'bold', + color: '#FFF', + marginTop: 20, + textAlign: 'center', + }, + subtitle: { + fontSize: 16, + color: '#FFF', + marginTop: 12, + textAlign: 'center', + opacity: 0.9, + paddingHorizontal: 20, + }, + optionsContainer: { + flex: 1, + justifyContent: 'center', + gap: 20, + }, + optionCard: { + backgroundColor: '#FFF', + borderRadius: 20, + padding: 24, + shadowColor: '#000', + shadowOffset: { width: 0, height: 4 }, + shadowOpacity: 0.1, + shadowRadius: 8, + elevation: 5, + }, + iconContainer: { + width: 80, + height: 80, + borderRadius: 40, + backgroundColor: '#F5F5F5', + alignItems: 'center', + justifyContent: 'center', + marginBottom: 16, + }, + optionTitle: { + fontSize: 22, + fontWeight: '700', + color: '#333', + marginBottom: 8, + }, + optionDescription: { + fontSize: 15, + color: '#666', + lineHeight: 22, + }, + arrow: { + position: 'absolute', + top: 24, + right: 24, + }, + footer: { + flexDirection: 'row', + alignItems: 'center', + justifyContent: 'center', + gap: 8, + marginBottom: 20, + }, + footerText: { + fontSize: 14, + color: '#FFF', + opacity: 0.9, + }, +});