aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/ComingSoon.tsx
diff options
context:
space:
mode:
authorHusam Salhab <47015061+hsalhab@users.noreply.github.com>2020-10-26 18:50:54 -0400
committerGitHub <noreply@github.com>2020-10-26 18:50:54 -0400
commitd48119be38e1dd3f0abc8a4b61c11aa4d0635810 (patch)
tree7d6553fb5d3a725c592955c3d3f8e217f9b9b6a4 /src/components/common/ComingSoon.tsx
parent17fbfa29c1b78703b872221e3b590aca3ef5cf7e (diff)
[TMA-280] Add coming soon (#73)
* move async-storage * removed lock files * added lock files to gitignore * added the wrong file to gitignore * added coming soon screens * moved search next to profile * Added the right icons and abstracted cs to ComingSoon.tsx * Update Checkpoint.tsx Co-authored-by: Ashm Walia <ashmwalia@outlook.com>
Diffstat (limited to 'src/components/common/ComingSoon.tsx')
-rw-r--r--src/components/common/ComingSoon.tsx51
1 files changed, 51 insertions, 0 deletions
diff --git a/src/components/common/ComingSoon.tsx b/src/components/common/ComingSoon.tsx
new file mode 100644
index 00000000..5e1414e2
--- /dev/null
+++ b/src/components/common/ComingSoon.tsx
@@ -0,0 +1,51 @@
+import * as React from 'react';
+import {StyleSheet, View, Text, Image} from 'react-native';
+import {Background} from '../onboarding';
+
+const ComingSoon: React.FC = () => {
+ return (
+ <Background style={styles.container}>
+ <View style={styles.textContainer}>
+ <Text style={styles.header}>Coming Soon</Text>
+ <Text style={styles.subtext}>
+ Stay tuned! We are working on constructing this page
+ </Text>
+ </View>
+ <Image
+ source={require('../../assets/images/coming-soon.png')}
+ style={styles.image}
+ />
+ </Background>
+ );
+};
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ alignItems: 'center',
+ },
+ image: {
+ width: 400,
+ height: 400,
+ },
+ textContainer: {
+ marginTop: '30%',
+ },
+ header: {
+ color: '#fff',
+ fontSize: 32,
+ fontWeight: '600',
+ textAlign: 'center',
+ marginBottom: '4%',
+ marginHorizontal: '10%',
+ },
+ subtext: {
+ color: '#fff',
+ fontSize: 16,
+ fontWeight: '600',
+ textAlign: 'center',
+ marginBottom: '16%',
+ marginHorizontal: '10%',
+ },
+});
+export default ComingSoon;