import React from 'react';
import { View, Text, StyleSheet, Button } from 'react-native';
import { router } from 'expo-router';


const UserHomeScreen = () => {
  return (
    <View style={styles.container}>
      <Text style={styles.welcomeText}>UserHomeScreen</Text>
      <Button
              title="Back to Opening Screen"
              onPress={() => router.back()}
      />
    </View>
  );
};

const styles = StyleSheet.create({
  container: {
    flex: 1,
    backgroundColor: '#FFFFFF',
    alignItems: 'center',
    justifyContent: 'center',
    paddingHorizontal: 20,
  },
  welcomeText: {
    fontSize: 24,
    fontWeight: 'bold',
    color: '#000000',
    marginBottom: 20,
  },
  
});

export default UserHomeScreen;
