mapcomplete/Logic/PersonalLayout.ts

26 lines
733 B
TypeScript
Raw Normal View History

2020-07-31 04:58:58 +02:00
import {Layout} from "../Customizations/Layout";
import Translations from "../UI/i18n/Translations";
2020-11-06 01:58:26 +01:00
import {Img} from "../UI/Img";
import Svg from "../Svg";
2020-07-31 04:58:58 +02:00
export class PersonalLayout extends Layout {
2020-07-31 04:58:58 +02:00
public static NAME: string = "personal";
constructor() {
super(
PersonalLayout.NAME,
2020-07-31 04:58:58 +02:00
["en"],
Translations.t.favourite.title,
[],
12,
0,
0,
Translations.t.favourite.description,
);
2020-10-25 17:26:15 +01:00
this.maintainer = "MapComplete"
this.description = "The personal theme allows to select one or more layers from all the layouts, creating a truly personal editor"
2020-11-06 01:58:26 +01:00
this.icon = Img.AsData(Svg.add)
2020-07-31 04:58:58 +02:00
}
}