2020-07-07 14:00:27 +00:00
|
|
|
import {Layout} from "../Layout";
|
2020-07-20 21:43:42 +00:00
|
|
|
import BikeShops from "../Layers/BikeShops";
|
2020-07-20 10:39:43 +00:00
|
|
|
import Translations from "../../UI/i18n/Translations";
|
2020-07-20 23:37:48 +00:00
|
|
|
import Combine from "../../UI/Base/Combine";
|
2020-07-29 11:16:21 +00:00
|
|
|
import BikeOtherShops from "../Layers/BikeOtherShops";
|
2020-07-29 13:55:50 +00:00
|
|
|
import BikeCafes from "../Layers/BikeCafes";
|
2020-07-07 14:00:27 +00:00
|
|
|
|
2020-07-16 13:29:50 +00:00
|
|
|
|
2020-07-08 15:12:23 +00:00
|
|
|
export default class Cyclofix extends Layout {
|
2020-07-07 14:00:27 +00:00
|
|
|
constructor() {
|
|
|
|
super(
|
2020-07-26 00:01:34 +00:00
|
|
|
"cyclofix",
|
2020-08-28 01:16:21 +00:00
|
|
|
["en", "nl", "fr","gl"],
|
2020-07-20 23:13:51 +00:00
|
|
|
Translations.t.cyclofix.title,
|
2020-09-05 15:43:30 +00:00
|
|
|
["bike_repair_station", new BikeShops(), "drinking_water", "bike_parking", new BikeOtherShops(), new BikeCafes(),
|
|
|
|
// The first of november, we remember our dead
|
|
|
|
...(new Date().getMonth() + 1 == 11 && new Date().getDay() + 1 == 1 ? ["ghost_bike"] : [])],
|
2020-07-13 15:16:12 +00:00
|
|
|
16,
|
|
|
|
50.8465573,
|
|
|
|
4.3516970,
|
2020-07-20 23:37:48 +00:00
|
|
|
new Combine([
|
|
|
|
"<h3>",
|
|
|
|
Translations.t.cyclofix.title,
|
|
|
|
"</h3><br/><p>",
|
|
|
|
Translations.t.cyclofix.description,
|
|
|
|
"</p>"
|
2020-07-23 10:03:44 +00:00
|
|
|
])
|
2020-07-21 00:55:28 +00:00
|
|
|
);
|
2020-07-26 00:01:34 +00:00
|
|
|
this.icon = "./assets/bike/logo.svg"
|
|
|
|
this.description = "Easily search and contribute bicycle data nearby";
|
2020-08-29 23:13:18 +00:00
|
|
|
this.socialImage = "./assets/bike/cyclofix.jpeg";
|
|
|
|
this.widenFactor = 0.5;
|
2020-07-07 14:00:27 +00:00
|
|
|
}
|
2020-07-16 13:29:50 +00:00
|
|
|
}
|