parent
a00d7e0ba4
commit
2ea5eb1513
@ -0,0 +1,42 @@
|
|||||||
|
import { StyleSheet } from "react-native";
|
||||||
|
|
||||||
|
/*
|
||||||
|
Stylesheet for the GameComponent component
|
||||||
|
*/
|
||||||
|
|
||||||
|
export default StyleSheet.create(
|
||||||
|
{
|
||||||
|
image : {
|
||||||
|
borderRadius: 15,
|
||||||
|
margin: 10,
|
||||||
|
width: 70,
|
||||||
|
height: 70,
|
||||||
|
},
|
||||||
|
text :{
|
||||||
|
textAlign: 'center',
|
||||||
|
fontSize: 23,
|
||||||
|
fontFamily: 'Helvetica',
|
||||||
|
fontWeight: 'bold',
|
||||||
|
letterSpacing: 0.25,
|
||||||
|
color: 'white',
|
||||||
|
alignSelf: 'center',
|
||||||
|
},
|
||||||
|
view : {
|
||||||
|
flexDirection:'row',
|
||||||
|
width:"80%",
|
||||||
|
backgroundColor: "#2C2C34",
|
||||||
|
marginVertical: 10,
|
||||||
|
borderRadius: 15
|
||||||
|
},
|
||||||
|
undefinedView: {
|
||||||
|
flexDirection: 'column',
|
||||||
|
height: 90,
|
||||||
|
width:"80%",
|
||||||
|
backgroundColor: "#9191AC",
|
||||||
|
marginVertical: 10,
|
||||||
|
borderRadius: 15,
|
||||||
|
justifyContent: 'center',
|
||||||
|
alignItems:'center',
|
||||||
|
|
||||||
|
}
|
||||||
|
})
|
@ -0,0 +1,26 @@
|
|||||||
|
import { StatusBar } from 'expo-status-bar'
|
||||||
|
import { View, Image} from 'react-native'
|
||||||
|
import React from 'react';
|
||||||
|
import stylesScreen from './style/screens.style'
|
||||||
|
import { TopBar } from '../components/TopBar';
|
||||||
|
import { LobbyComponent } from '../components/LobbyComponent';
|
||||||
|
|
||||||
|
|
||||||
|
function Lobby(props: { navigation: any; }) {
|
||||||
|
|
||||||
|
const { navigation } = props
|
||||||
|
|
||||||
|
return (
|
||||||
|
<View style={stylesScreen.container}>
|
||||||
|
<TopBar
|
||||||
|
nav={navigation}
|
||||||
|
state='matchmacking'
|
||||||
|
/>
|
||||||
|
<View style={stylesScreen.bodyStartCenter}>
|
||||||
|
<LobbyComponent nav={navigation}></LobbyComponent>
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
export default Lobby
|
Loading…
Reference in new issue