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
#### {{ 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.
{{ contact() }}
<div class="flex justify-center">{{ contact() }}</div>

View file

@ -19,7 +19,7 @@
@apply mb-2;
}
a {
@apply underline hover:decoration-orange-400 transition duration-300;
@apply underline hover:decoration-green-700 transition duration-300;
}
ul {
@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} */
module.exports = {
content: ["./templates/**/*.html"],
content: ["./templates/**/*.html", "./content/**/*.md"],
theme: {
extend: {},
},

View file

@ -60,7 +60,7 @@
</div>
</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 %}
</main>

View file

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

View file

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