chore: move privacy & imprint to website links
This commit is contained in:
parent
81a8ce002c
commit
3288ffb3cc
@ -1 +0,0 @@
|
|||||||
Nostrud tempor dolor aute ea excepteur aute mollit elit eiusmod exercitation. Magna laborum pariatur adipisicing pariatur cupidatat exercitation duis aliquip pariatur sint exercitation deserunt labore. Consectetur id laboris dolore nostrud do velit ipsum. Eu laboris velit do commodo ad ea sint ex cillum. Cillum ipsum qui eiusmod laborum mollit sunt dolore incididunt. Cillum sunt culpa veniam voluptate et qui ut magna anim occaecat ut mollit dolor. Duis irure proident eu incididunt dolore sunt nisi aute dolore amet eu fugiat laboris quis.
|
|
@ -54,8 +54,6 @@
|
|||||||
import UserPermissions from "./components/users/UserPermissions.svelte";
|
import UserPermissions from "./components/users/UserPermissions.svelte";
|
||||||
import GroupPermissions from "./components/groups/GroupPermissions.svelte";
|
import GroupPermissions from "./components/groups/GroupPermissions.svelte";
|
||||||
import RunnerDetail from "./components/runners/RunnerDetail.svelte";
|
import RunnerDetail from "./components/runners/RunnerDetail.svelte";
|
||||||
import Imprint from "./components/general/Imprint.svelte";
|
|
||||||
import Privacy from "./components/general/Privacy.svelte";
|
|
||||||
import ResetPassword from "./components/auth/ResetPassword.svelte";
|
import ResetPassword from "./components/auth/ResetPassword.svelte";
|
||||||
import Contacts from "./components/contacts/Contacts.svelte";
|
import Contacts from "./components/contacts/Contacts.svelte";
|
||||||
import ContactDetail from "./components/contacts/ContactDetail.svelte";
|
import ContactDetail from "./components/contacts/ContactDetail.svelte";
|
||||||
@ -88,14 +86,6 @@
|
|||||||
<Route path="/about">
|
<Route path="/about">
|
||||||
<About />
|
<About />
|
||||||
</Route>
|
</Route>
|
||||||
{:else if $router.path === "/imprint"}
|
|
||||||
<Route path="/imprint">
|
|
||||||
<Imprint />
|
|
||||||
</Route>
|
|
||||||
{:else if $router.path === "/privacy"}
|
|
||||||
<Route path="/privacy">
|
|
||||||
<Privacy />
|
|
||||||
</Route>
|
|
||||||
{:else if $store.isLoggedIn}
|
{:else if $store.isLoggedIn}
|
||||||
<Dashboard>
|
<Dashboard>
|
||||||
<Transition>
|
<Transition>
|
||||||
|
@ -1,51 +1,55 @@
|
|||||||
<script>
|
<script>
|
||||||
import { onMount } from "svelte";
|
import { onMount } from "svelte";
|
||||||
import { _ } from "svelte-i18n";
|
import { _ } from "svelte-i18n";
|
||||||
$: releaseinfo = "";
|
$: releaseinfo = "";
|
||||||
onMount(() => {
|
onMount(() => {
|
||||||
releaseinfo = document
|
releaseinfo = document
|
||||||
.getElementById("buildinfo")
|
.getElementById("buildinfo")
|
||||||
.textContent.replace("RELEASE_INFO-", "")
|
.textContent.replace("RELEASE_INFO-", "")
|
||||||
.replace("-RELEASE_INFO", "");
|
.replace("-RELEASE_INFO", "");
|
||||||
});
|
});
|
||||||
const year = new Date().getFullYear();
|
const year = new Date().getFullYear();
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<footer class="p-5 w-full">
|
<footer class="p-5 w-full">
|
||||||
<p class="text-sm text-gray-500 mt-4">
|
<p class="text-sm text-gray-500 mt-4">
|
||||||
Lauf für Kaya! Läufersystem - Copyright ©
|
Lauf für Kaya! Läufersystem - Copyright ©
|
||||||
{year}
|
{year}
|
||||||
+ proudly powered by
|
+ proudly powered by
|
||||||
<a
|
<a
|
||||||
class="underline"
|
class="underline"
|
||||||
href="https://odit.services"
|
href="https://odit.services"
|
||||||
rel="noopener,noreferrer"
|
rel="noopener,noreferrer"
|
||||||
target="_blank">ODIT.Services</a
|
target="_blank">ODIT.Services</a
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
<p class="text-sm text-gray-500 mt-4">
|
<p class="text-sm text-gray-500 mt-4">
|
||||||
<a
|
<a
|
||||||
class="underline"
|
class="underline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener, noreferrer"
|
rel="noopener, noreferrer"
|
||||||
href="https://git.odit.services/lfk/frontend/">LfK!Frontend</a
|
href="https://git.odit.services/lfk/frontend/">LfK!Frontend</a
|
||||||
>@<a
|
>@<a
|
||||||
class="underline"
|
class="underline"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener, noreferrer"
|
rel="noopener, noreferrer"
|
||||||
href="https://git.odit.services/lfk/frontend/src/tag/{releaseinfo}"
|
href="https://git.odit.services/lfk/frontend/src/tag/{releaseinfo}"
|
||||||
>{releaseinfo}</a
|
>{releaseinfo}</a
|
||||||
>
|
>
|
||||||
-
|
-
|
||||||
<a
|
<a
|
||||||
rel="noopener, noreferrer"
|
rel="noopener, noreferrer"
|
||||||
class="underline"
|
class="underline"
|
||||||
href="https://docs.lauf-fuer-kaya.de"
|
href="https://docs.lauf-fuer-kaya.de"
|
||||||
target="_blank">{$_("documentation")}</a
|
target="_blank">{$_("documentation")}</a
|
||||||
>
|
>
|
||||||
-
|
-
|
||||||
<a class="underline" href="/privacy">{$_("privacy")}</a>
|
<a class="underline" href="https://lauf-fuer-kaya.de/datenschutz/"
|
||||||
-
|
>{$_("privacy")}</a
|
||||||
<a class="underline" href="/imprint">{$_("imprint")}</a>
|
>
|
||||||
</p>
|
-
|
||||||
|
<a class="underline" href="https://lauf-fuer-kaya.de/impressum/"
|
||||||
|
>{$_("imprint")}</a
|
||||||
|
>
|
||||||
|
</p>
|
||||||
</footer>
|
</footer>
|
||||||
|
@ -1,52 +0,0 @@
|
|||||||
<script>
|
|
||||||
import { _, getLocaleFromNavigator } from "svelte-i18n";
|
|
||||||
import { parse } from "marked";
|
|
||||||
import Footer from "./Footer.svelte";
|
|
||||||
// import * as css from "../base/simple.css";
|
|
||||||
let html = "";
|
|
||||||
async function load() {
|
|
||||||
let md = await fetch("/imprint_" + getLocaleFromNavigator() + ".md");
|
|
||||||
let text = (await md.text()).toString();
|
|
||||||
if (text.includes("<meta")) {
|
|
||||||
md.ok = false;
|
|
||||||
}
|
|
||||||
if (!md.ok) {
|
|
||||||
md = await fetch("/imprint_en.md");
|
|
||||||
text = await md.text();
|
|
||||||
}
|
|
||||||
html = parse(text);
|
|
||||||
}
|
|
||||||
const promise = load();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="pt-12 px-4 sm:px-6 lg:px-8 lg:pt-20 bg-gray-900 pb-12">
|
|
||||||
<div class="text-center mb-8">
|
|
||||||
<h1
|
|
||||||
class="mt-9 font-display text-4xl leading-none font-semibold text-white sm:text-5xl lg:text-6xl"
|
|
||||||
>
|
|
||||||
{$_("imprint")}
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pt-0 pb-16 overflow-hidden lg:pt-12 lg:py-24">
|
|
||||||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
|
||||||
{#await promise}
|
|
||||||
<p class="text-center w-full">{$_("imprint-loading")}</p>
|
|
||||||
{:then}
|
|
||||||
<div class="simplecontent">
|
|
||||||
{@html html}
|
|
||||||
</div>
|
|
||||||
{:catch error}
|
|
||||||
<div
|
|
||||||
class="text-white px-6 py-4 border-0 rounded relative mb-4 bg-red-500"
|
|
||||||
>
|
|
||||||
<span class="inline-block align-middle mr-8">
|
|
||||||
<b class="capitalize">{$_("general_promise_error")}</b>
|
|
||||||
{error}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{/await}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<Footer />
|
|
@ -1,52 +0,0 @@
|
|||||||
<script>
|
|
||||||
import { _, getLocaleFromNavigator } from "svelte-i18n";
|
|
||||||
import { parse } from "marked";
|
|
||||||
import Footer from "./Footer.svelte";
|
|
||||||
// import * as css from "../base/simple.css?inline";
|
|
||||||
let html = "";
|
|
||||||
async function load() {
|
|
||||||
let md = await fetch("/privacy_" + getLocaleFromNavigator() + ".md");
|
|
||||||
let text = (await md.text()).toString();
|
|
||||||
if (text.includes("<meta")) {
|
|
||||||
md.ok = false;
|
|
||||||
}
|
|
||||||
if (!md.ok) {
|
|
||||||
md = await fetch("/privacy_en.md");
|
|
||||||
text = await md.text();
|
|
||||||
}
|
|
||||||
html = parse(text);
|
|
||||||
}
|
|
||||||
const promise = load();
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<div class="pt-12 px-4 sm:px-6 lg:px-8 lg:pt-20 bg-gray-900 pb-12">
|
|
||||||
<div class="text-center mb-8">
|
|
||||||
<h1
|
|
||||||
class="mt-9 font-display text-4xl leading-none font-semibold text-white sm:text-5xl lg:text-6xl"
|
|
||||||
>
|
|
||||||
{$_("privacy")}
|
|
||||||
</h1>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pt-0 pb-16 overflow-hidden lg:pt-12 lg:py-24">
|
|
||||||
<div class="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
|
|
||||||
{#await promise}
|
|
||||||
<p class="text-center w-full">{$_("privacy-loading")}</p>
|
|
||||||
{:then}
|
|
||||||
<div class="simplecontent">
|
|
||||||
{@html html}
|
|
||||||
</div>
|
|
||||||
{:catch error}
|
|
||||||
<div
|
|
||||||
class="text-white px-6 py-4 border-0 rounded relative mb-4 bg-red-500"
|
|
||||||
>
|
|
||||||
<span class="inline-block align-middle mr-8">
|
|
||||||
<b class="capitalize">{$_("general_promise_error")}</b>
|
|
||||||
{error}
|
|
||||||
</span>
|
|
||||||
</div>
|
|
||||||
{/await}
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<Footer />
|
|
@ -259,7 +259,6 @@
|
|||||||
"import-runners": "Läufer importieren",
|
"import-runners": "Läufer importieren",
|
||||||
"import__target-organization": "Ziel Organisation",
|
"import__target-organization": "Ziel Organisation",
|
||||||
"imprint": "Impressum ",
|
"imprint": "Impressum ",
|
||||||
"imprint-loading": "Impressum lädt...",
|
|
||||||
"inactive": "Inaktiv",
|
"inactive": "Inaktiv",
|
||||||
"inherited-permissions": "geerbte",
|
"inherited-permissions": "geerbte",
|
||||||
"installed-version": "Installierte Version",
|
"installed-version": "Installierte Version",
|
||||||
@ -366,7 +365,6 @@
|
|||||||
"please_wait_a_moment_while_we_assign_the_card": "Karte wird zugewiesen...",
|
"please_wait_a_moment_while_we_assign_the_card": "Karte wird zugewiesen...",
|
||||||
"prefix": "Prefix",
|
"prefix": "Prefix",
|
||||||
"privacy": "Datenschutz",
|
"privacy": "Datenschutz",
|
||||||
"privacy-loading": "Datenschutzerklärung lädt...",
|
|
||||||
"profile": "Profil",
|
"profile": "Profil",
|
||||||
"profile-deleted": "Profil gelöscht!",
|
"profile-deleted": "Profil gelöscht!",
|
||||||
"profile-picture": "Profilbild",
|
"profile-picture": "Profilbild",
|
||||||
|
@ -259,7 +259,6 @@
|
|||||||
"import-runners": "Import runners",
|
"import-runners": "Import runners",
|
||||||
"import__target-organization": "Target Organization",
|
"import__target-organization": "Target Organization",
|
||||||
"imprint": "Imprint",
|
"imprint": "Imprint",
|
||||||
"imprint-loading": "Imprint loading...",
|
|
||||||
"inactive": "Inactive",
|
"inactive": "Inactive",
|
||||||
"inherited-permissions": "inherited",
|
"inherited-permissions": "inherited",
|
||||||
"installed-version": "Installed version",
|
"installed-version": "Installed version",
|
||||||
@ -366,7 +365,6 @@
|
|||||||
"please_wait_a_moment_while_we_assign_the_card": "Please wait a moment while we assign the card...",
|
"please_wait_a_moment_while_we_assign_the_card": "Please wait a moment while we assign the card...",
|
||||||
"prefix": "Prefix",
|
"prefix": "Prefix",
|
||||||
"privacy": "Privacy",
|
"privacy": "Privacy",
|
||||||
"privacy-loading": "Privacy loading...",
|
|
||||||
"profile": "Profile",
|
"profile": "Profile",
|
||||||
"profile-deleted": "Profile deleted!",
|
"profile-deleted": "Profile deleted!",
|
||||||
"profile-picture": "Profile Picture",
|
"profile-picture": "Profile Picture",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user