mirror of
https://github.com/maplibre/martin.git
synced 2024-12-19 12:51:37 +03:00
add mobile map
This commit is contained in:
parent
80f078b968
commit
796af4c1b5
@ -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 />
|
||||
|
BIN
frontend/src/Components/App/small_martin.gif
Normal file
BIN
frontend/src/Components/App/small_martin.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 915 KiB |
@ -15,7 +15,7 @@ export default styled.div`
|
||||
|
||||
@media (max-width: 500px) {
|
||||
height: 30vh;
|
||||
margin-bottom: 10px;
|
||||
margin-bottom: 150px;
|
||||
|
||||
font-size: 30px;
|
||||
}
|
||||
|
@ -8,6 +8,6 @@ export default styled.div`
|
||||
font-size: 30px;
|
||||
|
||||
@media (max-width: 500px) {
|
||||
padding: 7vw;
|
||||
padding: 7vw 7vw 50px;
|
||||
}
|
||||
`;
|
||||
|
@ -2,4 +2,8 @@ import styled from 'styled-components';
|
||||
|
||||
export default styled.div`
|
||||
margin-bottom: 50px;
|
||||
|
||||
@media (max-width: 500px) {
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
`;
|
||||
|
6
frontend/src/Components/MobileMap.js
Normal file
6
frontend/src/Components/MobileMap.js
Normal file
@ -0,0 +1,6 @@
|
||||
import styled from 'styled-components';
|
||||
|
||||
export default styled.img`
|
||||
margin-top: -120px;
|
||||
margin-bottom: 50px;
|
||||
`;
|
Loading…
Reference in New Issue
Block a user