From 99d04e9d2c8b11aa307279459bd4f8624ad2ef97 Mon Sep 17 00:00:00 2001 From: Moritz Ruth Date: Fri, 2 Jul 2021 16:05:28 +0200 Subject: [PATCH] Add TaC --- src/App.vue | 8 ++-- src/main.css | 20 ++++------ src/pages/contact.vue | 18 ++++----- src/pages/terms-and-conditions.vue | 62 +++++++++++++++++++++++++++++- 4 files changed, 81 insertions(+), 27 deletions(-) diff --git a/src/App.vue b/src/App.vue index 44bf228..62edcfe 100644 --- a/src/App.vue +++ b/src/App.vue @@ -54,10 +54,10 @@ import NavigationMenu from "./components/NavigationMenu.vue" const FOOTER_LINKS = [ - // { - // labelKey: "footer.tac", - // to: "/terms-and-conditions" - // }, + { + labelKey: "footer.tac", + to: "/terms-and-conditions" + }, { labelKey: "footer.legal", to: "/legal-notice" diff --git a/src/main.css b/src/main.css index 66ff7ad..efc4f5b 100644 --- a/src/main.css +++ b/src/main.css @@ -1,7 +1,7 @@ @layer base { .prose { - & > * { - @apply mt-6; + & > *, & section > * { + @apply mt-4; } h1 { @@ -9,18 +9,14 @@ } h2 { - @apply font-bold text-2xl sm:text-4xl text-blue-700; - - h1 ~ & { - @apply mt-4; - } - - p ~ & { - @apply mt-10; - } + @apply font-bold text-2xl sm:text-4xl text-blue-700 mt-8; } - address, p { + ol { + @apply list-decimal list-inside space-y-2; + } + + address, p, ol { @apply not-italic text-lg max-w-240; } } diff --git a/src/pages/contact.vue b/src/pages/contact.vue index 79afeff..5c841a4 100644 --- a/src/pages/contact.vue +++ b/src/pages/contact.vue @@ -1,15 +1,15 @@ en: - message: Not yet available. heading: Terms and Conditions + message: Only available in German at the moment. de: - message: Noch nicht verfügbar. heading: Allgemeine Geschäftsbedingungen + message: ""