forked from MapComplete/MapComplete
Add language selector for privacy page
This commit is contained in:
parent
129f5c3d1f
commit
466d3e70cc
1 changed files with 6 additions and 1 deletions
|
@ -5,13 +5,18 @@
|
|||
import Translations from "./i18n/Translations"
|
||||
import { Utils } from "../Utils"
|
||||
import Add from "../assets/svg/Add.svelte"
|
||||
import LanguagePicker from "./InputElement/LanguagePicker.svelte"
|
||||
</script>
|
||||
|
||||
<div class="flex h-screen flex-col overflow-hidden p-4">
|
||||
<div class="flex h-screen flex-col overflow-hidden px-4">
|
||||
<div class="flex justify-between">
|
||||
|
||||
<h2 class="flex items-center">
|
||||
<EyeIcon class="w-6 pr-2" />
|
||||
<Tr t={Translations.t.privacy.title} />
|
||||
</h2>
|
||||
<LanguagePicker availableLanguages={Translations.t.privacy.intro.SupportedLanguages()}/>
|
||||
</div>
|
||||
<div class="h-full overflow-auto border border-gray-500 p-4">
|
||||
<PrivacyPolicy />
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue