1
0
Fork 0

List typefaces at /impressum

This commit is contained in:
Moritz Ruth 2021-08-07 16:25:40 +02:00
parent fde69118bf
commit 3e4d92360d
No known key found for this signature in database
GPG key ID: AFD57E23E753841B
3 changed files with 55 additions and 13 deletions

View file

@ -0,0 +1,24 @@
<template>
<a
class="text-blue-700"
target="_blank"
rel="noopener noreferrer"
:href="href"
><slot/></a>
</template>
<style module>
</style>
<script>
export default {
name: "ExternalLink",
props: {
href: {
type: String,
required: true
}
}
}
</script>

View file

@ -4,19 +4,23 @@
@apply mt-4; @apply mt-4;
} }
h1 { :where(h1) {
@apply font-bold text-3xl sm:text-5xl text-gray-900; @apply font-bold text-3xl sm:text-5xl text-gray-900;
} }
h2 { :where(h2) {
@apply font-bold text-2xl sm:text-4xl text-gray-600 mt-8; @apply font-bold text-2xl sm:text-4xl text-gray-700 mt-8;
} }
ol { :where(ol) {
@apply list-decimal list-inside space-y-2; @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; @apply not-italic text-lg max-w-240;
} }
} }

View file

@ -5,7 +5,7 @@
<i>As required by German law.</i> <i>As required by German law.</i>
</p> </p>
<p> <p>
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.
</p> </p>
<h2>Angaben gemäß § 5 TMG</h2> <h2>Angaben gemäß § 5 TMG</h2>
<address> <address>
@ -19,17 +19,27 @@
hey@m0.is hey@m0.is
</a> </a>
</p> </p>
<p class="text-sm mt-10"> <p class="text-sm">
{{ t("phone") }}: +49 176 46146329<br> {{ t("phone") }}: +49 176 46146329<br>
{{ t("phone-warning-1") }}<br> {{ t("phone-warning-1") }}<br>
{{ t("phone-warning-2") }}<br> {{ t("phone-warning-2") }}<br>
<a <ExternalLink href="https://byrslf.co/why-i-don-t-answer-most-phone-calls-4a71e1418854">
class="text-blue-700" {{ t("phone-warning-link") }}
href="https://byrslf.co/why-i-don-t-answer-most-phone-calls-4a71e1418854" </ExternalLink>
target="_blank"
rel="noopener noreferrer"
>{{ t("phone-warning-link") }}</a>
</p> </p>
<h2 class="text-2xl text-blue-500 mt-20">{{ t("typefaces-used") }}</h2>
<ul>
<li>
<ExternalLink href="https://gitlab.com/bonjour-monde/fonderie/syne-typeface">
Syne
</ExternalLink>
</li>
<li>
<ExternalLink href="https://tokotype.github.io/plusjakarta-sans/">
+Jakarta Sans
</ExternalLink>
</li>
</ul>
</main> </main>
</template> </template>
@ -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-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-warning-link: Why emails are better
phone: Tel phone: Tel
typefaces-used: Typefaces used on this site
de: de:
heading: Impressum 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-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-warning-link: Warum Emails besser sind (englisch)
phone: Telefon phone: Telefon
typefaces-used: Typefaces auf dieser Seite
</i18n> </i18n>
<script> <script>
import { useI18n } from "vue-i18n" import { useI18n } from "vue-i18n"
import { computed } from "vue" import { computed } from "vue"
import ExternalLink from "../components/ExternalLink.vue"
export default { export default {
name: "LegalNoticePage", name: "LegalNoticePage",
components: { ExternalLink },
setup() { setup() {
const { locale, t } = useI18n() const { locale, t } = useI18n()