@@ -2,7 +2,7 @@ | |||||
export const theme_bg_dark = "#0c0a8d"; | export const theme_bg_dark = "#0c0a8d"; | ||||
export const theme_bg = "#0c0a8d"; | export const theme_bg = "#0c0a8d"; | ||||
export const theme_fg = "#0c0a8d"; | export const theme_fg = "#0c0a8d"; | ||||
export const theme_light = "#"; | |||||
export const theme_light = "#c9ddf5"; | |||||
export const theme_fg_two = "#202028"; | export const theme_fg_two = "#202028"; | ||||
export const theme_bg_three = "#FFFFFF"; | export const theme_bg_three = "#FFFFFF"; | ||||
export const theme_fg_three = "#FFFFFF"; | export const theme_fg_three = "#FFFFFF"; | ||||
@@ -2,7 +2,6 @@ import React, {Component} from 'react'; | |||||
import { StyleSheet, Text, Image, View, TouchableOpacity } from 'react-native'; | import { StyleSheet, Text, Image, View, TouchableOpacity } from 'react-native'; | ||||
import { Content, Container, Header, Body, Title, Left, Row, Icon, Right, Button as Btn, Card } from 'native-base'; | import { Content, Container, Header, Body, Title, Left, Row, Icon, Right, Button as Btn, Card } from 'native-base'; | ||||
import * as colors from '../assets/css/Colors'; | import * as colors from '../assets/css/Colors'; | ||||
import back from "../assets/icons/back1.png"; | |||||
import { logo_with_name, font_title, font_description } from '../config/Constants'; | import { logo_with_name, font_title, font_description } from '../config/Constants'; | ||||
import { StatusBar } from '../components/GeneralComponents'; | import { StatusBar } from '../components/GeneralComponents'; | ||||
import { Button, Divider } from 'react-native-elements'; | import { Button, Divider } from 'react-native-elements'; | ||||
@@ -29,15 +28,7 @@ class ContactUs extends Component<Props> { | |||||
<View> | <View> | ||||
<View style={styles.con_style1}> | <View style={styles.con_style1}> | ||||
<TouchableOpacity style={styles.con_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | <TouchableOpacity style={styles.con_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | ||||
<Image | |||||
style={{ | |||||
width: 20, | |||||
height: 20, | |||||
backgroundColor: "white", | |||||
marginVertical: 12, | |||||
}} | |||||
source={back} | |||||
/> | |||||
<Icon onPress={this.handleBackButtonClick} style={styles.con_style3} name='arrow-back' /> | |||||
</TouchableOpacity> | </TouchableOpacity> | ||||
<View style={styles.con_style4} /> | <View style={styles.con_style4} /> | ||||
<Text style={styles.con_style5}>Contact Us</Text> | <Text style={styles.con_style5}>Contact Us</Text> | ||||
@@ -1,5 +1,5 @@ | |||||
import React, {Component} from 'react'; | import React, {Component} from 'react'; | ||||
import { StyleSheet, TouchableOpacity, Text,FlatList,Image } from 'react-native'; | |||||
import { StyleSheet, TouchableOpacity, Text,FlatList } from 'react-native'; | |||||
import { Container, Header, Content, List, ListItem, Left, Body, Right, Title, Button, Icon, Row,Col,Card, CardItem, Footer, View } from 'native-base'; | import { Container, Header, Content, List, ListItem, Left, Body, Right, Title, Button, Icon, Row,Col,Card, CardItem, Footer, View } from 'native-base'; | ||||
import { api_url, faq, font_title, font_description } from '../config/Constants'; | import { api_url, faq, font_title, font_description } from '../config/Constants'; | ||||
import Accordian from '../config/Accordian'; | import Accordian from '../config/Accordian'; | ||||
@@ -8,7 +8,6 @@ import { Loader } from '../components/GeneralComponents'; | |||||
import axios from 'axios'; | import axios from 'axios'; | ||||
import { connect } from 'react-redux'; | import { connect } from 'react-redux'; | ||||
import { fb } from '../config/firebaseConfig'; | import { fb } from '../config/firebaseConfig'; | ||||
import back from "../assets/icons/back1.png"; | |||||
import { serviceActionPending, serviceActionError, serviceActionSuccess } from '../actions/FaqActions'; | import { serviceActionPending, serviceActionError, serviceActionSuccess } from '../actions/FaqActions'; | ||||
class Faq extends Component<Props> { | class Faq extends Component<Props> { | ||||
@@ -51,15 +50,7 @@ class Faq extends Component<Props> { | |||||
<View> | <View> | ||||
<View style={styles.faq_style1}> | <View style={styles.faq_style1}> | ||||
<TouchableOpacity style={styles.faq_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | <TouchableOpacity style={styles.faq_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | ||||
<Image | |||||
style={{ | |||||
width: 20, | |||||
height: 20, | |||||
backgroundColor: "white", | |||||
marginVertical: 12, | |||||
}} | |||||
source={back} | |||||
/> | |||||
<Icon onPress={this.handleBackButtonClick} style={styles.faq_style3} name='arrow-back' /> | |||||
</TouchableOpacity> | </TouchableOpacity> | ||||
<View style={styles.faq_style4} /> | <View style={styles.faq_style4} /> | ||||
<Text style={styles.faq_style5}>Faq</Text> | <Text style={styles.faq_style5}>Faq</Text> | ||||
@@ -9,9 +9,8 @@ import { | |||||
Image, | Image, | ||||
TextInput, | TextInput, | ||||
ImageBackground, | ImageBackground, | ||||
StatusBar | |||||
} from "react-native"; | } from "react-native"; | ||||
import { Loader } from "../components/GeneralComponents"; | |||||
import { StatusBar, Loader } from "../components/GeneralComponents"; | |||||
import { | import { | ||||
img_url, | img_url, | ||||
api_url, | api_url, | ||||
@@ -156,15 +155,6 @@ export default class Home extends Component<Props> { | |||||
render() { | render() { | ||||
return ( | return ( | ||||
<Container> | <Container> | ||||
<StatusBar | |||||
backgroundColor = "#0c0a8d" | |||||
barStyle = "light-content" | |||||
hidden = {false} | |||||
translucent = {false} | |||||
networkActivityIndicatorVisible = {true} | |||||
/> | |||||
<Content padder> | <Content padder> | ||||
<View style={styles.home_style1}> | <View style={styles.home_style1}> | ||||
<ScrollView | <ScrollView | ||||
@@ -71,12 +71,11 @@ export default class More extends Component<Props> { | |||||
data={menus} | data={menus} | ||||
renderItem={({ item, index }) => ( | renderItem={({ item, index }) => ( | ||||
<ListItem icon onPress={() => this.navigate(item.route)}> | <ListItem icon onPress={() => this.navigate(item.route)}> | ||||
{/* <Left> | |||||
<Left> | |||||
<Button style={styles.more_style5}> | <Button style={styles.more_style5}> | ||||
// {/* <Icon active name={item.icon} /> */} | |||||
{/* // </Button> */} | |||||
{/* // </Left> */} | |||||
{/* // */} | |||||
<Icon active name={item.icon} /> | |||||
</Button> | |||||
</Left> | |||||
<Body> | <Body> | ||||
<Text style={styles.more_style6}>{item.menu_name}</Text> | <Text style={styles.more_style6}>{item.menu_name}</Text> | ||||
</Body> | </Body> | ||||
@@ -94,9 +93,9 @@ export default class More extends Component<Props> { | |||||
const styles = StyleSheet.create({ | const styles = StyleSheet.create({ | ||||
more_style1: { backgroundColor: colors.theme_bg_two }, | more_style1: { backgroundColor: colors.theme_bg_two }, | ||||
more_style2: { backgroundColor: colors.theme_bg_three, padding: 13 }, | |||||
more_style2: { backgroundColor: colors.theme_bg_three, padding: 10 }, | |||||
more_style3: { | more_style3: { | ||||
fontSize: 20, | |||||
fontSize: 16, | |||||
color: colors.theme_fg_two, | color: colors.theme_fg_two, | ||||
fontFamily: font_title, | fontFamily: font_title, | ||||
}, | }, | ||||
@@ -106,6 +105,5 @@ const styles = StyleSheet.create({ | |||||
fontSize: 16, | fontSize: 16, | ||||
color: colors.theme_fg_two, | color: colors.theme_fg_two, | ||||
fontFamily: font_description, | fontFamily: font_description, | ||||
paddingLeft:12 | |||||
}, | }, | ||||
}); | }); |
@@ -1,8 +1,7 @@ | |||||
import React, {Component} from 'react'; | import React, {Component} from 'react'; | ||||
import { StyleSheet, Text, View, TouchableOpacity,Image } from 'react-native'; | |||||
import { StyleSheet, Text, View, TouchableOpacity } from 'react-native'; | |||||
import { Container, Header, Content, Left, Body, Right, Title, Button, Icon, Row, Card } from 'native-base'; | import { Container, Header, Content, Left, Body, Right, Title, Button, Icon, Row, Card } from 'native-base'; | ||||
import * as colors from '../assets/css/Colors'; | import * as colors from '../assets/css/Colors'; | ||||
import back from "../assets/icons/back1.png"; | |||||
import { Loader } from '../components/GeneralComponents'; | import { Loader } from '../components/GeneralComponents'; | ||||
import { api_url, privacy,font_title,font_description } from '../config/Constants'; | import { api_url, privacy,font_title,font_description } from '../config/Constants'; | ||||
import axios from 'axios'; | import axios from 'axios'; | ||||
@@ -44,15 +43,7 @@ class PrivacyPolicy extends Component<Props> { | |||||
<View> | <View> | ||||
<View style={styles.pri_style1}> | <View style={styles.pri_style1}> | ||||
<TouchableOpacity style={styles.pri_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | <TouchableOpacity style={styles.pri_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | ||||
<Image | |||||
style={{ | |||||
width: 20, | |||||
height: 20, | |||||
backgroundColor: "white", | |||||
marginVertical: 12, | |||||
}} | |||||
source={back} | |||||
/> | |||||
<Icon onPress={this.handleBackButtonClick} style={styles.pri_style3} name='arrow-back' /> | |||||
</TouchableOpacity> | </TouchableOpacity> | ||||
<View style={styles.pri_style4} /> | <View style={styles.pri_style4} /> | ||||
<Text style={styles.pri_style5}>Privacy Policy</Text> | <Text style={styles.pri_style5}>Privacy Policy</Text> | ||||
@@ -1,8 +1,7 @@ | |||||
import React, {Component} from 'react'; | import React, {Component} from 'react'; | ||||
import { StyleSheet, Text, View, FlatList, TouchableOpacity,Image } from 'react-native'; | |||||
import { StyleSheet, Text, View, FlatList, TouchableOpacity } from 'react-native'; | |||||
import { Content, Container, Header, Body, Title, Left, Icon, Right, Button as Btn, Card, CardItem, List, ListItem, Thumbnail, Row} from 'native-base'; | import { Content, Container, Header, Body, Title, Left, Icon, Right, Button as Btn, Card, CardItem, List, ListItem, Thumbnail, Row} from 'native-base'; | ||||
import * as colors from '../assets/css/Colors'; | import * as colors from '../assets/css/Colors'; | ||||
import back from "../assets/icons/back1.png"; | |||||
import axios from 'axios'; | import axios from 'axios'; | ||||
import { Loader } from '../components/GeneralComponents'; | import { Loader } from '../components/GeneralComponents'; | ||||
import { wallet_icon, api_url, get_wallet, add_wallet ,font_description,font_title , no_wallet_lottie} from '../config/Constants'; | import { wallet_icon, api_url, get_wallet, add_wallet ,font_description,font_title , no_wallet_lottie} from '../config/Constants'; | ||||
@@ -108,15 +107,7 @@ class Wallet extends Component<Props> { | |||||
<View> | <View> | ||||
<View style={styles.wall_style1}> | <View style={styles.wall_style1}> | ||||
<TouchableOpacity style={styles.wall_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | <TouchableOpacity style={styles.wall_style2} onPress={this.handleBackButtonClick} activeOpacity={1} > | ||||
<Image | |||||
style={{ | |||||
width: 20, | |||||
height: 20, | |||||
backgroundColor: "white", | |||||
marginVertical: 12, | |||||
}} | |||||
source={back} | |||||
/> | |||||
<Icon onPress={this.handleBackButtonClick} style={styles.wall_style3} name='arrow-back' /> | |||||
</TouchableOpacity> | </TouchableOpacity> | ||||
<View style={styles.wall_style4} /> | <View style={styles.wall_style4} /> | ||||
<Text style={styles.wall_style5}>Wallet</Text> | <Text style={styles.wall_style5}>Wallet</Text> | ||||