diff --git a/client/components/InfoMap/InfoMap.jsx b/client/components/InfoMap/InfoMap.jsx new file mode 100644 index 0000000..11bdcd3 --- /dev/null +++ b/client/components/InfoMap/InfoMap.jsx @@ -0,0 +1,43 @@ +import { Map, InfoWindow, Marker, GoogleApiWrapper } from 'google-maps-react'; +import React from 'react'; +import PropTypes from 'prop-types'; +import './InfoMap.scss'; + + +const KEY = 'AIzaSyBPo6m3oLTozHOupA5V_kbBtxwgqbiVmOs'; + + +export class InfoMap extends React.Component { + constructor() { + super(); + this.state = { + }; + } + + render() { + const { google } = this.props; + return ( + + + + + +
+

something

+
+
+
+ ); + } +} + +InfoMap.propTypes = { + google: PropTypes.objectOf(PropTypes.any).isRequired +}; + +export default GoogleApiWrapper({ + apiKey: (KEY) +})(InfoMap); diff --git a/client/components/InfoMap/InfoMap.scss b/client/components/InfoMap/InfoMap.scss new file mode 100644 index 0000000..df023a3 --- /dev/null +++ b/client/components/InfoMap/InfoMap.scss @@ -0,0 +1,5 @@ +.info-map { + font-family: 'Courier New', Courier, monospace; + border: 1px solid black; + width: 500px; +} diff --git a/client/pages/Info/Info.jsx b/client/pages/Info/Info.jsx index 7df721a..6651de2 100644 --- a/client/pages/Info/Info.jsx +++ b/client/pages/Info/Info.jsx @@ -1,33 +1,40 @@ import React from 'react'; +import slack from 'images/slack.svg'; +import facebook from 'images/facebook.svg'; +import github from 'images/github-logo.svg'; +import { InfoMap } from '../../components/InfoMap/InfoMap'; import './Info.scss'; const Info = () => (
-
-

Here will be map

+
+

Hi we are team RV-034.WebUI\Node.js

+

We are hope that you have enjoyed to use our Trip-assistant

-

Contacts

+

Contact us!

Our phone 66-666-666

-

Our email ad@666.gmail.com

+

Our email email@666.gmail.com

-
-
-