2022-10-24 14:35:18 +00:00
|
|
|
<!DOCTYPE html>
|
2022-12-17 17:12:50 +00:00
|
|
|
<html lang="de">
|
2022-10-24 14:35:18 +00:00
|
|
|
<head>
|
|
|
|
<meta charset="utf-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
|
|
|
|
|
|
<title>
|
2023-05-30 14:10:24 +00:00
|
|
|
{%- block title -%}
|
|
|
|
{%- if page.title -%}
|
|
|
|
{{- page.title -}}
|
|
|
|
{%- elif section.title -%}
|
|
|
|
{{- section.title -}}
|
|
|
|
{%- else -%}
|
|
|
|
{{- config.title -}}
|
|
|
|
{%- endif -%}
|
|
|
|
{%- endblock -%}
|
2022-10-24 14:35:18 +00:00
|
|
|
</title>
|
|
|
|
|
2023-05-30 14:10:24 +00:00
|
|
|
<meta name="description"
|
|
|
|
content="{%- block description -%}{%- if page.description -%}{{- page.description -}}{%- elif section.description -%}{{- section.description -}}{%- else -%}{{- config.description -}}{%- endif -%}{%- endblock -%}">
|
2022-10-24 14:35:18 +00:00
|
|
|
|
2023-05-30 14:10:24 +00:00
|
|
|
<link rel="icon"
|
|
|
|
type="image/x-icon"
|
|
|
|
href="{{ get_url(path='images/logo.svg') | safe }}" />
|
2022-11-21 12:03:46 +00:00
|
|
|
|
2023-05-30 14:10:24 +00:00
|
|
|
<link href="{{ get_url(path='main.css') | safe }}?v={{ now(timestamp=true) }}"
|
|
|
|
rel="stylesheet" />
|
2022-10-24 23:11:48 +00:00
|
|
|
|
2023-05-30 12:07:39 +00:00
|
|
|
{% block styles %}{% endblock %}
|
2022-10-24 14:35:18 +00:00
|
|
|
</head>
|
2023-05-30 15:13:28 +00:00
|
|
|
<body class="flex flex-col mx-auto min-h-screen text-lg">
|
|
|
|
<header class="flex flex-col">
|
|
|
|
{% set image = resize_image(path="images/background/nav_background.jpg", height=750, op="fit_height") %}
|
|
|
|
<div class="flex content-end flex-wrap"
|
|
|
|
style="background-image: url('{{ image.url }}');
|
|
|
|
background-position: center;
|
|
|
|
height: 40vh;
|
|
|
|
background-size: cover">
|
|
|
|
<div class="w-full mb-3" style="background-color: rgba(0, 0, 0, 0.6)">
|
|
|
|
<div class="text-white py-2 px-4 mx-auto max-w-screen-2xl">
|
|
|
|
<h1>{{ config.title }}</h1>
|
|
|
|
<h5>{{ config.extra.address }}</h5>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="w-full pt-3"
|
|
|
|
style="background-image: linear-gradient({{ config.extra.primary_color }}, 15%, white)">
|
|
|
|
<div class="flex gap-x-2 items-center px-3 mb-3 sm:gap-x-4 max-w-screen-2xl mx-auto">
|
|
|
|
<a class="p-0.5 transition duration-500 hover:scale-110"
|
|
|
|
href="{{ get_url(path='/') | safe }}">
|
|
|
|
<img class="object-contain w-16 h-16 rounded"
|
|
|
|
src="{{ get_url(path='images/logo.svg') | safe }}" />
|
|
|
|
</a>
|
|
|
|
|
|
|
|
<nav class="flex gap-x-3 items-center sm:gap-x-4">
|
|
|
|
{% for menu_item in config.extra.menu_items %}
|
|
|
|
<a class="no-underline transition duration-150 hover:bg-green-700 hover:text-white outline rounded outline-1 outline-green-700 text-green-700 px-2 py-1"
|
|
|
|
href="{{ menu_item.url | safe }}">{{ menu_item.name }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</nav>
|
|
|
|
</div>
|
|
|
|
</div>
|
2023-05-30 14:10:24 +00:00
|
|
|
</header>
|
|
|
|
|
2023-05-30 15:13:28 +00:00
|
|
|
<main class="leading-relaxed max-w-screen-2xl mx-auto">
|
2023-05-30 12:07:39 +00:00
|
|
|
{% block content %}{% endblock %}
|
2023-05-30 14:10:24 +00:00
|
|
|
</main>
|
|
|
|
|
2023-05-30 15:13:28 +00:00
|
|
|
<footer class="pt-6 pb-3 mt-auto sm:mx-2">
|
|
|
|
<nav class="flex flex-col gap-y-3 justify-around py-3 text-center bg-gray-200 sm:flex-row sm:rounded-full">
|
2023-05-30 14:10:24 +00:00
|
|
|
{% for footer_item in config.extra.footer_items %}
|
|
|
|
<a class="text-sm no-underline" href="{{ footer_item.url | safe }}">{{ footer_item.name }}</a>
|
|
|
|
{% endfor %}
|
|
|
|
</nav>
|
2022-10-24 14:35:18 +00:00
|
|
|
</footer>
|
|
|
|
|
2023-05-30 12:07:39 +00:00
|
|
|
{% block scripts %}{% endblock %}
|
2022-10-24 14:35:18 +00:00
|
|
|
</body>
|
|
|
|
</html>
|