This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "3" | |
| services: | |
| nginx: | |
| restart: always | |
| image: nginx | |
| container_name: nginx | |
| ports: | |
| - "80:80" | |
| - "443:443" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| version: "2" | |
| services: | |
| nginx: | |
| restart: always | |
| image: nginx | |
| container_name: nginx | |
| ports: | |
| - "80:80" | |
| - "443:443" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { Component } from 'react'; | |
| import { View, Text } from 'react-native' | |
| import sha1 from 'js-sha1' | |
| const url = 'http://localhost:9000/fondy' | |
| class App extends Component { | |
| state = { | |
| amount: '100', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.iyogi; | |
| import android.app.Application; | |
| import com.facebook.FacebookSdk; | |
| import com.facebook.CallbackManager; | |
| import com.facebook.appevents.AppEventsLogger; | |
| import com.facebook.react.ReactApplication; | |
| import com.facebook.reactnative.androidsdk.FBSDKPackage; | |
| import com.facebook.react.ReactNativeHost; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { PureComponent } from 'react' | |
| import { ScrollView, Text, View } from 'react-native' | |
| import { connect } from 'react-redux' | |
| import { getTickers } from '../actions/tickersAction' | |
| import { Header, Spinner } from '../common' | |
| class Main extends PureComponent { | |
| static navigationOptions = ({ navigation }) => ({ | |
| header: | |
| <Header |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { createBottomTabNavigator } from 'react-navigation' | |
| import Ionicons from 'react-native-vector-icons/Ionicons' | |
| import Tab1 from './tab1' | |
| import Tab2 from './tab2' | |
| export default createBottomTabNavigator({ | |
| Screen: { | |
| screen: Tab1, | |
| navigationOptions: { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { TouchableOpacity, StyleSheet, View, Text } from 'react-native' | |
| import Ionicons from 'react-native-vector-icons/Ionicons' | |
| const Header = ({ | |
| colorLeft, | |
| leftButton, | |
| leftIcon, | |
| title, | |
| colorRight, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React, { PureComponent } from 'react' | |
| import { TouchableOpacity, Dimensions, Image, View, Text } from 'react-native' | |
| import { Helmet } from 'react-helmet' | |
| import { Header } from '../common' | |
| import { find } from 'lodash' | |
| import { data } from './data' | |
| import './styles.css' | |
| import ArrowNext from '../ArrowNext.png' | |
| import ArrowBack from '../ArrowBack.png' | |
| import { constants } from '../../constants' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react' | |
| import { TouchableOpacity, View, Text, StyleSheet, SafeAreaView } from 'react-native' | |
| import Ionicons from 'react-native-vector-icons/Ionicons' | |
| import { w, BLUE } from '../../../constants' | |
| const Header = ({ | |
| detail, | |
| leftIcon, | |
| leftColor, | |
| headerColor, |