Add create game and manage game pages, update navigation and session handling for individual and business users

This commit is contained in:
bobbert committed 2026-03-17 23:33:30 +00:00
1 parent 1bd640f8d5
commit 6e5fe2b8b8
21 files changed
+831 -137

No files matched your search

+51
View File
@@ -0,0 +1,51 @@
import React from 'react';
import {Pressable, StyleSheet, Text, View} from 'react-native';
import {useNavigation} from '@react-navigation/native';
import ScreenHeader from '../components/ScreenHeader';
const ManageGamePage = () => {
const navigation = useNavigation();
return (
<View style={styles.wrapper}>
<ScreenHeader title="Manage Game" />
<View style={styles.container}>
<Text style={styles.body}>Manage your active team from here.</Text>
<Pressable style={styles.button} onPress={() => navigation.navigate('(routes)/team')}>
<Text style={styles.buttonText}>Open Team Manager</Text>
</Pressable>
</View>
</View>
);
};
const styles = StyleSheet.create({
wrapper: {
flex: 1,
backgroundColor: '#ffffff',
},
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
gap: 12,
padding: 20,
},
body: {
color: '#4b5563',
fontSize: 15,
},
button: {
backgroundColor: '#2563eb',
borderRadius: 8,
paddingHorizontal: 16,
paddingVertical: 12,
},
buttonText: {
color: '#ffffff',
fontWeight: '600',
},
});
export default ManageGamePage;