Add ScreenHeader component and update page layouts for consistent header usage

This commit is contained in:
bobbert committed 2026-03-17 22:30:22 +00:00
1 parent 33f73105ad
commit 1bd640f8d5
14 files changed
+219 -180

No files matched your search

+2 -7
View File
@@ -3,6 +3,7 @@ import { View, Text, Pressable, TextInput, StyleSheet } from 'react-native';
import { useNavigation } from '@react-navigation/native';
import MemberFooterNavbar from '../components/MemberFooterNavbar';
import useLobbyViewModel from '../ViewModel/useLobbyViewModel';
import ScreenHeader from '../components/ScreenHeader';
const GameLobbyPage = () => {
const navigation = useNavigation();
@@ -31,8 +32,8 @@ const GameLobbyPage = () => {
return (
<View style={styles.wrapper}>
<ScreenHeader title="Game Lobby" />
<View style={styles.container}>
<Text style={styles.title}>Game Lobby</Text>
<TextInput
style={styles.input}
placeholder="Join Team Code"
@@ -68,12 +69,6 @@ const styles = StyleSheet.create({
padding: 20,
gap: 12,
},
title: {
fontSize: 26,
fontWeight: '700',
color: '#111827',
marginBottom: 8,
},
input: {
borderWidth: 1,
borderColor: '#d1d5db',