MapComplete/src/UI/PrivacyGui.svelte

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
740 B
Svelte
Raw Normal View History

<script lang="ts">
import PrivacyPolicy from "./BigComponents/PrivacyPolicy.svelte"
import Tr from "./Base/Tr.svelte"
import { EyeIcon } from "@rgossiaux/svelte-heroicons/solid"
import Translations from "./i18n/Translations"
import { Utils } from "../Utils"
import Add from "../assets/svg/Add.svelte"
</script>
2023-12-21 01:46:18 +01:00
<div class="flex h-screen flex-col overflow-hidden p-4">
<h2 class="flex items-center">
<EyeIcon class="w-6 pr-2" />
<Tr t={Translations.t.privacy.title} />
</h2>
2023-12-21 01:46:18 +01:00
<div class="h-full overflow-auto border border-gray-500 p-4">
<PrivacyPolicy />
</div>
2023-12-21 01:46:18 +01:00
<a class="button flex" href={Utils.HomepageLink()}>
<Add class="h-6 w-6" />
<Tr t={Translations.t.general.backToIndex} />
</a>
</div>