mapcomplete/UI/BigComponents/PrivacyPolicy.ts

26 lines
694 B
TypeScript
Raw Normal View History

2022-09-08 21:40:48 +02:00
import Combine from "../Base/Combine"
import Translations from "../i18n/Translations"
import Title from "../Base/Title"
2021-11-16 04:16:51 +01:00
export default class PrivacyPolicy extends Combine {
constructor() {
const t = Translations.t.privacy
super([
new Title(t.title, 2),
t.intro,
new Title(t.trackingTitle),
t.tracking,
new Title(t.geodataTitle),
t.geodata,
new Title(t.editingTitle),
t.editing,
new Title(t.miscCookiesTitle),
t.miscCookies,
new Title(t.whileYoureHere),
t.surveillance,
2022-09-08 21:40:48 +02:00
])
2021-11-16 04:16:51 +01:00
this.SetClass("link-underline")
}
2022-09-08 21:40:48 +02:00
}