theraPy/templates/base.html
2024-10-14 20:04:11 +02:00

37 lines
1.3 KiB
HTML

<!doctype html>
<html lang="de" data-theme="therapytheme">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}{% endblock %} - TheraPy jetzt</title>
<link rel="stylesheet" href="{{ url_for('static', filename='css/main.css') }}">
</head>
<body>
<div class="bg-gradient-to-r from-blue-400 via-purple-400 to-pink-400 min-h-screen">
<nav class="navbar bg-primary text-primary-content justify-center items-center text-center">
<div class="flex">
<a class="btn btn-ghost text-xl" href="/">TheraPy</a>
</div>
<div class="flex justify-center mr-auto">
<a class="mx-2" href="/">TheraPy</a>
<a class="mx-2" href="/about">Über</a>
</div>
<div class="flex justify-right">
<a class="mx-2" href="/privacy">Datenschutz</a>
<a class="mx-2" href="/impress">Impressum</a>
</div>
</nav>
<section class="content p-4">
<header>
{% block header %}{% endblock %}
</header>
{% for message in get_flashed_messages() %}
<div class="flash bg-red-500 text-white p-2 mb-2 rounded">{{ message }}</div>
{% endfor %}
{% block content %}{% endblock %}
</section>
</div>
</body>
</html>