diff --git a/public/env.sample.js b/public/env.sample.js index 1da07d7..f0325d8 100644 --- a/public/env.sample.js +++ b/public/env.sample.js @@ -1,14 +1,14 @@ const config = { // required - documentserver_key: '', + documentserver_key: "", // required, with trailing slash - baseurl: '', + baseurl: "", + // optional, full url, will fallback to https://lauf-fuer-kaya.de/impressum + url_imprint: "", + // optional, full url, will fallback to https://lauf-fuer-kaya.de/datenschutz + url_privacy: "", // full url (including fqdn) - baseurl_documentserver: 'http://localhost:3000', + baseurl_documentserver: "http://localhost:3000", // optional, will fallback to code128 - code_format: 'ean13', - // optional, will fallback to /imprint - url_imprint: '', - // optional, will fallback to /privacy - url_privacy: '', + code_format: "ean13", }; diff --git a/public/imprint_en.md b/public/imprint_en.md deleted file mode 100644 index 12e65a1..0000000 --- a/public/imprint_en.md +++ /dev/null @@ -1 +0,0 @@ -TODO: \ No newline at end of file diff --git a/public/privacy_en.md b/public/privacy_en.md deleted file mode 100644 index 12e65a1..0000000 --- a/public/privacy_en.md +++ /dev/null @@ -1 +0,0 @@ -TODO: \ No newline at end of file diff --git a/src/components/Footer.vue b/src/components/Footer.vue index 52681fb..59fac3e 100644 --- a/src/components/Footer.vue +++ b/src/components/Footer.vue @@ -19,8 +19,8 @@ export default { data() { return { - imprint_url: config.url_imprint || "/imprint" - , privacy_url: config.url_privacy || "/privacy" + imprint_url: config.url_imprint || "https://lauf-fuer-kaya.de/impressum" + , privacy_url: config.url_privacy || "https://lauf-fuer-kaya.de/datenschutz" } }, } diff --git a/src/locales/de.json b/src/locales/de.json index 32373e3..ca4ca8b 100644 --- a/src/locales/de.json +++ b/src/locales/de.json @@ -17,8 +17,6 @@ "download_registrationcode": "Registrierungscode herunterladen", "e_mail_adress": "E-Mail Adresse", "e_mail_des_sponsors": "E-Mail des Sponsors", - "error-loading-privacy-policy": "Fehler beim Laden der Datenschutzerklärung", - "error_loading_imprint": "Fehler beim Laden des Impressums", "error_requesting_the_login_link": "Fehler beim Anfordern des Login-Links...", "first_lap": "👏 erste Runde", "i_accept": "Ich habe die ", diff --git a/src/locales/en.json b/src/locales/en.json index d4dbf40..17a0cbc 100644 --- a/src/locales/en.json +++ b/src/locales/en.json @@ -17,8 +17,6 @@ "download_registrationcode": "Download registrationcode", "e_mail_adress": "mail address", "e_mail_des_sponsors": "E-Mail of the Sponsor", - "error-loading-privacy-policy": "Error loading Privacy Policy", - "error_loading_imprint": "Error loading Imprint", "error_requesting_the_login_link": "Error requesting the login link...", "first_lap": "👏 first lap", "i_accept": "I have read and accepted the ", diff --git a/src/routes.js b/src/routes.js index f33b66b..3ef8480 100644 --- a/src/routes.js +++ b/src/routes.js @@ -1,19 +1,13 @@ import Home from "./views/Home.vue"; -import Imprint from "./views/Imprint.vue"; -import Privacy from "./views/Privacy.vue"; import Register from "./views/Register.vue"; import Profile from "./views/Profile.vue"; import ProfileNone from "./views/ProfileNone.vue"; -console.log(config); +// console.log(config); /** @type {import('vue-router').RouterOptions['routes']} */ export const routes = [ { path: "/", component: Home }, - { path: "/imprint", component: Imprint }, - { path: "/imprint/", component: Imprint }, - { path: "/privacy", component: Privacy }, - { path: "/privacy/", component: Privacy }, { path: "/register", component: Register }, { path: "/register/", component: Register }, { path: "/register/:token", component: Register, props: true }, diff --git a/src/views/Imprint.vue b/src/views/Imprint.vue deleted file mode 100644 index 1ff3df6..0000000 --- a/src/views/Imprint.vue +++ /dev/null @@ -1,40 +0,0 @@ - - - - - {{ $t('imprint') - }} - - - - - - - - - \ No newline at end of file diff --git a/src/views/Privacy.vue b/src/views/Privacy.vue deleted file mode 100644 index 7bb9aac..0000000 --- a/src/views/Privacy.vue +++ /dev/null @@ -1,39 +0,0 @@ - - - - - {{ - $t('privacy_policy') }} - - - - - - - - \ No newline at end of file