From 3e4d92360de9efe5ab4950c8027a0f31cf3e9665 Mon Sep 17 00:00:00 2001
From: Moritz Ruth
Date: Sat, 7 Aug 2021 16:25:40 +0200
Subject: [PATCH] List typefaces at /impressum
---
src/components/ExternalLink.vue | 24 ++++++++++++++++++++++++
src/main.css | 14 +++++++++-----
src/pages/impressum.vue | 30 ++++++++++++++++++++++--------
3 files changed, 55 insertions(+), 13 deletions(-)
create mode 100644 src/components/ExternalLink.vue
diff --git a/src/components/ExternalLink.vue b/src/components/ExternalLink.vue
new file mode 100644
index 0000000..1adb31e
--- /dev/null
+++ b/src/components/ExternalLink.vue
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+
diff --git a/src/main.css b/src/main.css
index b35dc10..bcb6a6d 100644
--- a/src/main.css
+++ b/src/main.css
@@ -4,19 +4,23 @@
@apply mt-4;
}
- h1 {
+ :where(h1) {
@apply font-bold text-3xl sm:text-5xl text-gray-900;
}
- h2 {
- @apply font-bold text-2xl sm:text-4xl text-gray-600 mt-8;
+ :where(h2) {
+ @apply font-bold text-2xl sm:text-4xl text-gray-700 mt-8;
}
- ol {
+ :where(ol) {
@apply list-decimal list-inside space-y-2;
}
- :where(address, p, ol) {
+ :where(ul) {
+ @apply list-disc list-inside space-y-1;
+ }
+
+ :where(address, p, ol, ul) {
@apply not-italic text-lg max-w-240;
}
}
diff --git a/src/pages/impressum.vue b/src/pages/impressum.vue
index a5a2e08..32422e5 100644
--- a/src/pages/impressum.vue
+++ b/src/pages/impressum.vue
@@ -5,7 +5,7 @@
As required by German law.
- Dieses Impressum gilt für diese Webseite (moritzruth.de) und alle Webseiten, welche unter Subdomains von moritzruth.de erreichbar sind.
+ Dieses Impressum gilt für diese Website (moritzruth.de) und alle Websites, welche unter Subdomains von moritzruth.de erreichbar sind.
Angaben gemäß § 5 TMG
@@ -19,17 +19,27 @@
hey@m0.is
-
+
{{ t("phone") }}: +49 176 46146329
{{ t("phone-warning-1") }}
{{ t("phone-warning-2") }}
- {{ t("phone-warning-link") }}
+
+ {{ t("phone-warning-link") }}
+
+ {{ t("typefaces-used") }}
+
+ -
+
+ Syne
+
+
+ -
+
+ +Jakarta Sans
+
+
+
@@ -41,6 +51,7 @@
phone-warning-2: The only reason I publish it is because the law may require doing so (noone knows).
phone-warning-link: Why emails are better
phone: Tel
+ typefaces-used: Typefaces used on this site
de:
heading: Impressum
@@ -49,14 +60,17 @@
phone-warning-2: Der einzige Grund, warum ich sie hier veröffentliche, ist, dass es das Gesetz (vielleicht) verlangt (niemand weiß es so genau).
phone-warning-link: Warum Emails besser sind (englisch)
phone: Telefon
+ typefaces-used: Typefaces auf dieser Seite