Fix mobile tracked as regular files (not submodule)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
42
mobile/src/screens/auth/PendingApprovalScreen.tsx
Normal file
42
mobile/src/screens/auth/PendingApprovalScreen.tsx
Normal file
@@ -0,0 +1,42 @@
|
||||
import React from 'react';
|
||||
import { StyleSheet, Text, TouchableOpacity, View } from 'react-native';
|
||||
import { useAuth } from '../../hooks/useAuth';
|
||||
|
||||
export function PendingApprovalScreen() {
|
||||
const { logout } = useAuth();
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<Text style={styles.emoji}>⏳</Text>
|
||||
<Text style={styles.title}>Account Pending Approval</Text>
|
||||
<Text style={styles.body}>
|
||||
Your registration has been received. An organizer will review and approve your account.
|
||||
You will receive a notification once approved.
|
||||
</Text>
|
||||
<TouchableOpacity style={styles.button} onPress={logout}>
|
||||
<Text style={styles.buttonText}>Log Out</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
);
|
||||
}
|
||||
|
||||
const styles = StyleSheet.create({
|
||||
container: {
|
||||
flex: 1,
|
||||
justifyContent: 'center',
|
||||
alignItems: 'center',
|
||||
padding: 32,
|
||||
backgroundColor: '#fff',
|
||||
},
|
||||
emoji: { fontSize: 60, marginBottom: 24 },
|
||||
title: { fontSize: 22, fontWeight: '700', textAlign: 'center', marginBottom: 16 },
|
||||
body: { fontSize: 15, color: '#555', textAlign: 'center', lineHeight: 22, marginBottom: 40 },
|
||||
button: {
|
||||
borderWidth: 1,
|
||||
borderColor: '#6C3FC5',
|
||||
borderRadius: 8,
|
||||
paddingVertical: 12,
|
||||
paddingHorizontal: 32,
|
||||
},
|
||||
buttonText: { color: '#6C3FC5', fontWeight: '600' },
|
||||
});
|
||||
Reference in New Issue
Block a user