add mobile map

This commit is contained in:
Andrey Bakhvalov 2018-11-01 19:53:23 +03:00
parent 80f078b968
commit 796af4c1b5
6 changed files with 16 additions and 2 deletions

View File

@ -7,10 +7,13 @@ import Intro from '../Intro';
import Description from '../Description';
import Features from '../Fatures';
import TryIt from '../TryIt';
import MobileMap from '../MobileMap';
import Map from '../Map';
import Development from '../Development/Development';
import Footer from '../Footer/Footer';
import martin from './small_martin.gif';
const App = () => (
<ParallaxProvider>
<GlobalStyle />
@ -29,6 +32,7 @@ const App = () => (
days of the week, and hours and to sum or average the numbers by areas.
</p>
</TryIt>
<MobileMap src={martin} alt='map example' />
<Map />
<Development />
<Footer />

Binary file not shown.

After

Width:  |  Height:  |  Size: 915 KiB

View File

@ -15,7 +15,7 @@ export default styled.div`
@media (max-width: 500px) {
height: 30vh;
margin-bottom: 10px;
margin-bottom: 150px;
font-size: 30px;
}

View File

@ -8,6 +8,6 @@ export default styled.div`
font-size: 30px;
@media (max-width: 500px) {
padding: 7vw;
padding: 7vw 7vw 50px;
}
`;

View File

@ -2,4 +2,8 @@ import styled from 'styled-components';
export default styled.div`
margin-bottom: 50px;
@media (max-width: 500px) {
margin-bottom: 20px;
}
`;

View File

@ -0,0 +1,6 @@
import styled from 'styled-components';
export default styled.img`
margin-top: -120px;
margin-bottom: 50px;
`;