From 3288ffb3cc52bcfbb2b94c373932e9d614fba80f Mon Sep 17 00:00:00 2001 From: Philipp Dormann Date: Tue, 22 Apr 2025 21:19:00 +0200 Subject: [PATCH] chore: move privacy & imprint to website links --- public/privacy_en.md | 1 - src/App.svelte | 10 --- src/components/general/Footer.svelte | 96 ++++++++++++++------------- src/components/general/Imprint.svelte | 52 --------------- src/components/general/Privacy.svelte | 52 --------------- src/locales/de.json | 2 - src/locales/en.json | 2 - 7 files changed, 50 insertions(+), 165 deletions(-) delete mode 100644 public/privacy_en.md delete mode 100644 src/components/general/Imprint.svelte delete mode 100644 src/components/general/Privacy.svelte diff --git a/public/privacy_en.md b/public/privacy_en.md deleted file mode 100644 index f3e2f7f0..00000000 --- a/public/privacy_en.md +++ /dev/null @@ -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. diff --git a/src/App.svelte b/src/App.svelte index 2cd05e4e..f042f733 100644 --- a/src/App.svelte +++ b/src/App.svelte @@ -54,8 +54,6 @@ import UserPermissions from "./components/users/UserPermissions.svelte"; import GroupPermissions from "./components/groups/GroupPermissions.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 Contacts from "./components/contacts/Contacts.svelte"; import ContactDetail from "./components/contacts/ContactDetail.svelte"; @@ -88,14 +86,6 @@ - {:else if $router.path === "/imprint"} - - - - {:else if $router.path === "/privacy"} - - - {:else if $store.isLoggedIn} diff --git a/src/components/general/Footer.svelte b/src/components/general/Footer.svelte index 9d465b08..269ce2df 100644 --- a/src/components/general/Footer.svelte +++ b/src/components/general/Footer.svelte @@ -1,51 +1,55 @@ diff --git a/src/components/general/Imprint.svelte b/src/components/general/Imprint.svelte deleted file mode 100644 index e1732c09..00000000 --- a/src/components/general/Imprint.svelte +++ /dev/null @@ -1,52 +0,0 @@ - - -
-
-

- {$_("imprint")} -

-
-
- -
-
- {#await promise} -

{$_("imprint-loading")}

- {:then} -
- {@html html} -
- {:catch error} -
- - {$_("general_promise_error")} - {error} - -
- {/await} -
-
-