diff --git a/cron.sh b/cron.sh deleted file mode 100755 index 5435105..0000000 --- a/cron.sh +++ /dev/null @@ -1,8 +0,0 @@ -#! /bin/bash - -mkdir ./extracts -cd ./extracts -wget https://donnees.roulez-eco.fr/opendata/jour -unzip jour -mv *.xml ../gasStations.xml -rm jour \ No newline at end of file diff --git a/package.json b/package.json index 64da0bb..4410f1f 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "react": "^16.13.0", "react-bootstrap": "^1.0.0-beta.17", "react-dom": "^16.13.0", + "react-icons": "^3.9.0", "react-map-gl": "^5.2.3", "react-moment": "^0.9.7", "react-scripts": "3.4.0", @@ -64,4 +65,4 @@ "husky": "^4.2.3", "lint-staged": "^10.0.8" } -} \ No newline at end of file +} diff --git a/public/car.png b/public/car.png deleted file mode 100644 index 4eaf4bd..0000000 Binary files a/public/car.png and /dev/null differ diff --git a/public/gas-station.png b/public/gas-station.png deleted file mode 100644 index c77de83..0000000 Binary files a/public/gas-station.png and /dev/null differ diff --git a/public/gps.png b/public/gps.png deleted file mode 100644 index 0ff3406..0000000 Binary files a/public/gps.png and /dev/null differ diff --git a/public/waze.png b/public/waze.png deleted file mode 100644 index 57e427b..0000000 Binary files a/public/waze.png and /dev/null differ diff --git a/src/App.css b/src/App.css index 124051f..587ff76 100644 --- a/src/App.css +++ b/src/App.css @@ -1,9 +1,17 @@ .locationIcon { width: 32px; +} + +div.mapboxgl-marker { margin-top: -16px; margin-left: -16px; } +div.mapboxgl-marker.gasStation { + margin-top: -24px; + margin-left: -30px; +} + div.react-toast-notifications__container { z-index: 1031 ; } diff --git a/src/App.js b/src/App.js index f5277d9..5e376c3 100644 --- a/src/App.js +++ b/src/App.js @@ -113,7 +113,7 @@ class Application extends React.Component { toggleAboutModal={this.toggleAboutModal} /> -