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
| {"lastUpload":"2020-02-27T13:43:56.644Z","extensionVersion":"v3.4.3"} |
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
| settings |
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 formatJ = (journeys, dictionaries) => { | |
| const { airports, airlines, equipment: equipments } = dictionaries; | |
| let items = []; | |
| journeys.map(journey => | |
| journey.flights.map(flight => { | |
| const { origin, destination, carrier, equipment } = flight; | |
| let item = { | |
| origin: { shortName: origin, ...airports[origin] }, | |
| destination: { shortName: destination, ...airports[destination] }, | |
| carrier: airlines[carrier], |
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
| flights: [ | |
| { | |
| 'GNrpxVBAAA/B4qskOXAAAA==': { | |
| origin: 'SVO', | |
| destination: 'CDG', | |
| departure_time: '2018-09-12T08:45:00.000+03:00', | |
| arrival_time: '2018-09-12T11:50:00.000+02:00', | |
| flight_time: '245', | |
| travel_time: '245', | |
| distance: '1524', |
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 * as React from 'react'; | |
| import { Box } from 'rebass'; | |
| import styled from 'styled-components'; | |
| import theme from '../../constants/theme'; | |
| const LineBox = styled(Box)` | |
| position: relative; | |
| height: 1px; | |
| background-color: ${theme.colors.secondary}; |
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 items = [ | |
| { | |
| part: 'europe', | |
| country: 'France', | |
| city: 'Paris', | |
| price: '2672', | |
| picture: 'static/images/img-paris.jpg', | |
| }, | |
| { | |
| part: 'europe', |
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 items = [ | |
| { | |
| part: 'europe', | |
| country: 'France', | |
| city: 'Paris', | |
| price: '2672', | |
| picture: 'static/images/img-paris.jpg', | |
| }, | |
| { | |
| part: 'europe', |
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 itemstab = [ | |
| { | |
| part: 'europe', | |
| partItem: [ | |
| { | |
| country: 'China', | |
| city: 'Shanghai', | |
| price: '2488', | |
| picture: 'static/images/img-shanghai.jpg', | |
| }, |
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 * as React from 'react'; | |
| import { Box, Flex, Text, Heading } from 'rebass'; | |
| import styled from 'styled-components'; | |
| import theme from '../../constants/theme'; | |
| import Carousel from 'nuka-carousel'; | |
| import Rating from './Rating'; | |
| import items from './content'; | |
| class CarouselMobile extends React.Component { |
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 * as React from 'react'; | |
| import { Container, Flex } from 'rebass'; | |
| import { space, fontSize } from 'styled-system'; | |
| import styled from 'styled-components'; | |
| class HeaderPage extends React.Component { | |
| render() { |
NewerOlder