forked from MapComplete/MapComplete
Refactoring: move all code files into a src directory
This commit is contained in:
parent
de99f56ca8
commit
e75d2789d2
389 changed files with 0 additions and 12 deletions
25
src/UI/BigComponents/PrivacyPolicy.ts
Normal file
25
src/UI/BigComponents/PrivacyPolicy.ts
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
import Combine from "../Base/Combine"
|
||||
import Translations from "../i18n/Translations"
|
||||
import Title from "../Base/Title"
|
||||
|
||||
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,
|
||||
])
|
||||
this.SetClass("link-underline")
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue