feat: basic themes for event sites

This commit is contained in:
Björn Fromme
2025-12-12 13:13:36 +01:00
parent b1ff6989ec
commit e9c1dd8b9d
28 changed files with 1158 additions and 157 deletions
+9 -1
View File
@@ -1,6 +1,14 @@
<div class="flex items-center justify-between">
<a href="https://www.ep-reisen.de" title="zur E&amp;P Website">
<img src="{{ asset('build/images/logo.svg') }}" alt="" class="h-10 my-2 w-auto">
{% if booking_theme() == 'sbw' %}
<img src="{{ asset('build/images/logo_sbw.svg') }}" alt="" class="h-10 my-2 w-auto">
{% elseif booking_theme() == 'ser' %}
<img src="{{ asset('build/images/logo_ser.svg') }}" alt="" class="h-10 my-2 w-auto">
{% elseif booking_theme() == 'snz' %}
<img src="{{ asset('build/images/logo_snz.svg') }}" alt="" class="h-10 my-2 w-auto">
{% else %}
<img src="{{ asset('build/images/logo_ep.svg') }}" alt="" class="h-10 my-2 w-auto">
{% endif %}
</a>
<div class="flex items-center space-x-2">
{% if is_granted('ROLE_USER') %}
@@ -1,6 +1,11 @@
<div id="loading-indicator"
class="invisible fixed top-0 left-0 inset-0 z-50 backdrop-blur-sm flex items-center justify-center transition-all duration-100">
<svg class="text-primary-light w-32 h-32 lg:w-48 lg:h-48" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
<svg class="{{ html_classes('w-32 h-32 lg:w-48 lg:h-48', {
'text-primary-light': booking_theme() == 'base',
'text-sbw-secondary': booking_theme() == 'sbw',
'text-snz-secondary': booking_theme() == 'snz',
'text-ser-secondary': booking_theme() == 'ser',
}) }}" viewBox="0 0 44 44" xmlns="http://www.w3.org/2000/svg" stroke="currentColor">
<g fill="none" fill-rule="evenodd" stroke-width="2">
<circle cx="22" cy="22" r="1">
<animate attributeName="r"