forked from cemaden-educacao/WPD-MobileApp
analuizaff
4 years ago
3 changed files with 53 additions and 34 deletions
-
22src/app/screens/AccountScreen.js
-
34src/app/screens/MessagesScreen.js
-
25src/app/screens/OfficialMessagesScreen.js
@ -1,28 +1,31 @@ |
|||||
import React from "react"; |
import React from "react"; |
||||
import { Image, StyleSheet, View } from "react-native"; |
|
||||
|
import { StyleSheet, View, Text } from "react-native"; |
||||
|
|
||||
import colors from "../config/colors"; |
import colors from "../config/colors"; |
||||
|
import Screen from "../components/Screen"; |
||||
|
import { AntDesign } from '@expo/vector-icons'; |
||||
|
|
||||
function OfficialMessagesScreen(props) { |
function OfficialMessagesScreen(props) { |
||||
return ( |
return ( |
||||
|
<Screen style={styles.screen}> |
||||
<View style={styles.container}> |
<View style={styles.container}> |
||||
<Image |
|
||||
resizeMode="contain" |
|
||||
style={styles.image} |
|
||||
source={require("../assets/previsao_tempo.png")} |
|
||||
/> |
|
||||
|
<AntDesign name="warning" size={60} color="black" /> |
||||
|
<Text style={{ fontSize: 30, fontWeight: "bold" }}>Em construção...</Text> |
||||
</View> |
</View> |
||||
|
</Screen> |
||||
); |
); |
||||
} |
} |
||||
|
|
||||
const styles = StyleSheet.create({ |
const styles = StyleSheet.create({ |
||||
|
screen: { |
||||
|
backgroundColor: colors.light, |
||||
|
}, |
||||
container: { |
container: { |
||||
backgroundColor: colors.black, |
|
||||
flex: 1, |
flex: 1, |
||||
}, |
|
||||
image: { |
|
||||
width: "100%", |
|
||||
height: "100%", |
|
||||
|
flexDirection: "column", |
||||
|
alignItems: "center", |
||||
|
justifyContent: "flex-start" |
||||
|
|
||||
}, |
}, |
||||
}); |
}); |
||||
|
|
||||
|
Write
Preview
Loading…
Cancel
Save
Reference in new issue