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 { Text, View, ScrollView, StyleSheet } from 'react-native' | |
| import * as Animatable from 'react-native-animatable' | |
| import Accordion from 'react-native-collapsible/Accordion' | |
| const CONTENT = [ | |
| { | |
| title: 'Maintenance: booking request sent', | |
| date: '13.04.2018, 04:00 - 08:00', | |
| descr: 'DriveTech 10', |
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
| const path = require('path') | |
| const HtmlWebpackPlugin = require('html-webpack-plugin') | |
| const ENV = process.env | |
| const isProduction = ENV.NODE_ENV === 'production' | |
| const client = { | |
| entry: './index.js', | |
| output: { | |
| path:__dirname +'/build', | |
| filename: 'index_bundle.js' |
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
| NODE_ENV=production webpack --config webpack.production.config.js --progress --profile --colors [INSERT] | |
| The CLI moved into a separate package: webpack-cli | |
| Would you like to install webpack-cli? (That will run yarn add -D webpack-cli) (yes/NO)yes | |
| yarn add v1.5.1 | |
| [1/4] 🔍 Resolving packages... | |
| warning webpack-cli > jscodeshift > babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! | |
| warning webpack-cli > webpack-addons > jscodeshift > babel-preset-es2015@6.24.1: 🙌 Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update! | |
| warning webpack-cli > jscodeshift > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. | |
| warning webpack-cli > webpack-addons > jscodeshift > nomnom@1.8.1: Package no longer supported. Contact support@npmjs.com for more info. | |
| [2/4] 🚚 Fetching packages... |
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 './class.css' | |
| class Classes extends Component { | |
| constructor () { | |
| super() | |
| this.state = { | |
| show: true | |
| } | |
| } |
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 { ScrollView, View, Text } from 'react-native' | |
| class App extends Component { | |
| state = { | |
| scrollY: window.scrollY | |
| } | |
| componentDidMount() { | |
| window.addEventListener('scroll', this.handleScroll) |
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 { graphql, compose } from 'react-apollo' | |
| import MaterialIcons from 'react-native-vector-icons/MaterialIcons' | |
| import { Fumi } from 'react-native-textinput-effects' | |
| import FontAwesomeIcon from 'react-native-vector-icons/FontAwesome' | |
| import Ionicons from 'react-native-vector-icons/Ionicons' | |
| import { View, TouchableOpacity, ScrollView, AsyncStorage, Keyboard } from 'react-native' | |
| import { connect } from 'react-redux' | |
| import { InputUI, ButtonUI, Card, Loading } from '../common' | |
| import * as actions from '../actions' |
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 = ({ | |
| navigation, | |
| colorLeft, | |
| leftButton, | |
| leftIcon, | |
| title, |
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 = ({ | |
| navigation, | |
| colorLeft, | |
| leftButton, | |
| leftIcon, | |
| title, |
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
| <script src="https://widgets.healcode.com/javascripts/healcode.js" type="text/javascript"></script> | |
| <link href="https://fonts.googleapis.com/css?family=Crimson+Text|Lato|Lora|Open+Sans|PT+Serif|Roboto" rel="stylesheet"> | |
| <style type="text/css"> | |
| /* Главный заголовок */ | |
| div.healcode .healcode-title-text { | |
| color: rgba(0, 0, 255, 0) !important; | |
| } | |
| div.healcode a.action_icon .action_text.my_account_text { | |
| font-family: 'Open Sans' !important; |
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 './class.css' | |
| class Classes extends Component { | |
| constructor() { | |
| super() | |
| this.state = { | |
| show: true | |
| } | |
| } |