1
0
Fork 0

Done contact

This commit is contained in:
Mo 2023-05-31 12:03:41 +02:00
parent 9a4f7b7b34
commit 63dc5b4f05
7 changed files with 24 additions and 31 deletions

View file

@ -4,6 +4,6 @@ title = "Impressum"
#### Yinghong Yang #### Yinghong Yang
#### {{ address() }} {{ address() }}
<a href="/kontakt">Kontakt</a> <a href="/kontakt" class="block mt-4">Kontakt</a>

View file

@ -5,4 +5,4 @@ template = "appointment.html"
Vereinbaren Sie frühzeitig einen Termin, indem Sie eine Nachricht auf WhatsApp/Signal schreiben. Sie können auch eine E-Mail schreiben oder anrufen. Vereinbaren Sie frühzeitig einen Termin, indem Sie eine Nachricht auf WhatsApp/Signal schreiben. Sie können auch eine E-Mail schreiben oder anrufen.
{{ contact() }} <div class="flex justify-center">{{ contact() }}</div>

View file

@ -19,7 +19,7 @@
@apply mb-2; @apply mb-2;
} }
a { a {
@apply underline hover:decoration-orange-400 transition duration-300; @apply underline hover:decoration-green-700 transition duration-300;
} }
ul { ul {
@apply mt-2 mb-3 ml-1 list-disc list-inside marker:text-sky-600; @apply mt-2 mb-3 ml-1 list-disc list-inside marker:text-sky-600;

View file

@ -1,6 +1,6 @@
/** @type {import('tailwindcss').Config} */ /** @type {import('tailwindcss').Config} */
module.exports = { module.exports = {
content: ["./templates/**/*.html"], content: ["./templates/**/*.html", "./content/**/*.md"],
theme: { theme: {
extend: {}, extend: {},
}, },

View file

@ -60,7 +60,7 @@
</div> </div>
</header> </header>
<main class="px-4 mx-auto max-w-screen-xl leading-relaxed"> <main class="px-4 max-w-screen-xl w-full mx-auto leading-relaxed">
{% block content %}{% endblock %} {% block content %}{% endblock %}
</main> </main>

View file

@ -1,7 +1,7 @@
{% extends "base.html" %} {% extends "base.html" %}
{% block content %} {% block content %}
<h2 class="text-center">{{ page.title }}</h2> <h1 class="text-center">{{ page.title }}</h1>
{{ page.content | safe }} {{ page.content | safe }}
{% endblock %} {% endblock %}

View file

@ -1,26 +1,19 @@
<div class="text-center"> <div>
<div class="d-inline-flex"> <p class="font-bold">Yinghong Yang</p>
<table class="table">
<tbody> <div class="flex gap-x-6 gap-y-2 flex-nowrap">
<tr> <div class="flex flex-col font-bold">
<th class="pe-3" scope="row">Mobil:</th> <div>Mobil:</div>
<td class="ps-3">{{ config.extra.mobile_number }}</td> <div>Tel.:</div>
</tr> <div>E-Mail:</div>
<tr> <div>Adresse:</div>
<th class="pe-3" scope="row">Tel.:</th> </div>
<td class="ps-3">{{ config.extra.phone_number }}</td>
</tr> <div class="flex flex-col">
<tr> <div>{{ config.extra.mobile_number }}</div>
<th class="pe-3" scope="row">E-Mail:</th> <div>{{ config.extra.phone_number }}</div>
<td class="ps-3"> <a href="mailto:{{ config.extra.email }}">{{ config.extra.email }}</a>
<a href="mailto:{{ config.extra.email }}">{{ config.extra.email }}</a> <div>{{ config.extra.address }}</div>
</td> </div>
</tr>
<tr>
<th class="pe-3" scope="row">Adresse:</th>
<td class="ps-3">{{ config.extra.address }}</td>
</tr>
</tbody>
</table>
</div> </div>
</div> </div>