openmove / odh-mentor-otp

https://mobility.meran.eu
1 stars 3 forks source link

car sharing thumbnails #80

Closed stefanocudini closed 3 years ago

stefanocudini commented 3 years ago

@valerio-fornace

we need a set of car thumbnail images in addition we would need an anonymous neutral image in cases where the model is not readable(may be grey)

original images can be used here https://www.carsharing.bz.it/it/auto/

models: https://mobility.api.opendatahub.bz.it/v2/flat%2Cnode/CarsharingCar

we can code-side apply these classes to some div elements but they need to be defined in the css files models name and css classes

"Nissan Leaf"                   .nissan-leaf
"Renault Zoe"                   .renault-zoe
"VW Caddy Caddy 2.0 TDI"        .vw-caddy-caddy-20-tdi
"VW e-Golf"                     .vw-egolf
"VW e-UP!"                  .vw-eup
"VW Golf Golf 1.6 TDI"          .vw-golf-golf-16-tdi
"VW Golf"                   .vw-golf
"VW Golf VW Golf"               .vw-golf-vw-golf
"VW up!"                        .vw-up
"VW up! VW up!"                 .vw-up-vw-up
stefanocudini commented 3 years ago

TODO here: https://github.com/openmove/odh-mentor-otp/blob/development/journey/app/lib/otp-ui/vehicle-rental-overlay/index.js#L38