aboutsummaryrefslogtreecommitdiff
path: root/src/components/common/ComingSoon.tsx
blob: d7654a2078349338057792b7410772eb9ccc4565 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
import * as React from 'react';
import {StyleSheet, View, Text, Image} from 'react-native';
import {BackgroundGradientType} from '../../types';
import {SCREEN_WIDTH} from '../../utils';
import {Background} from '../onboarding';

const ComingSoon: React.FC = () => {
  return (
    <Background
      style={styles.container}
      gradientType={BackgroundGradientType.Light}>
      <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: SCREEN_WIDTH,
    height: SCREEN_WIDTH,
  },
  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: '5%',
    marginHorizontal: '10%',
  },
});
export default ComingSoon;