update home placeholder

This commit is contained in:
moist-webDev 2023-06-09 18:46:44 -04:00
parent c29e39d674
commit 66c7737993
1 changed files with 16 additions and 3 deletions

View File

@ -5,9 +5,14 @@ import { color } from '@rneui/themed/dist/config';
export default function Home({theme}:any){
const st = style(theme);
return (
<View style={style(theme).container}>
<Text style={style(theme).text}>This is home</Text>
<View style={st.container}>
<View style={{...st.row, justifyContent: 'center'}}>
<Text style={st.text}>NEWS FEED COMING SOON!</Text>
</View>
</View>
)
}
@ -16,9 +21,17 @@ export default function Home({theme}:any){
const style = (theme:any) => {
return StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
marginBottom: 180,
width: '100%',
},
text: {
color: theme.text,
}
opacity: 0.5,
},
row: {
flexDirection: 'row',
},
});
}