abiball/templates/ticket/index.html.twig

45 lines
3.0 KiB
Twig
Raw Normal View History

2025-01-23 19:59:20 +01:00
{% extends 'base.html.twig' %}
{% block title %}Tickets kaufen{% endblock %}
2025-01-23 19:59:20 +01:00
{% block body %}
<div class="min-h-screen bg-gradient-to-br from-yellow-50 via-white to-orange-50 relative overflow-hidden">
<header class="w-full bg-white/90 backdrop-blur-md shadow-lg fixed top-0 z-50 border-b border-gray-100">
<div class="container mx-auto px-4 sm:px-6 lg:px-8 py-3 sm:py-4 flex justify-between items-center">
<a href="{{ path('app_home') }}">
<img src="{{ asset('images/logo.png') }}" alt="Logo" class="w-32 sm:w-36 md:w-40 h-auto hover:opacity-90 transition-opacity" />
</a>
<a href="{{ path('app_home') }}" class="bg-gradient-to-r from-red-500 to-orange-500 hover:from-red-600 hover:to-orange-600 text-white px-4 sm:px-6 md:px-8 py-2 sm:py-2.5 rounded-full text-xs sm:text-sm font-medium shadow-md hover:shadow-lg transition-all duration-300">
Zurück zur Startseite
</a>
</div>
</header>
<main class="container mx-auto px-4 sm:px-6 lg:px-8 pt-24 sm:pt-28 md:pt-32 pb-16 sm:pb-20 flex flex-col items-center justify-center relative z-10">
<div class="w-full max-w-2xl">
<h1 class="text-3xl sm:text-4xl md:text-5xl font-bold text-gray-800 text-center mb-6 sm:mb-8 tracking-tight leading-tight">
<span class="bg-clip-text text-transparent bg-gradient-to-r from-red-500 to-orange-500">Tickets kaufen</span>
</h1>
<div class="bg-white/80 backdrop-blur-md shadow-xl rounded-2xl sm:rounded-3xl p-6 sm:p-8 md:p-10 mb-12 sm:mb-16 transform transition-all duration-300 border border-gray-100">
2025-01-29 19:06:48 +01:00
<div data-controller="form">
2025-01-29 20:38:10 +01:00
<div class="hidden" data-form-target="key">{{ env('STRIPE_PUBLIC_KEY')}}</div>
2025-01-29 19:06:48 +01:00
<div class="w-full flex inline-flex mb-5">
<div class="w-1/4 ml-6">Ticket</div>
<div class="w-1/4 ml-5">Ernährung</div>
<div class="w-1/3 ml-4">Anmerkungen</div>
<div class="w-1/6 text-center"></div>
2025-01-29 16:44:20 +01:00
</div>
2025-01-29 19:06:48 +01:00
<div class="forms">
{% include 'ticket/_partials/_form.html.twig' with {form: form} %}
2025-01-28 12:59:49 +01:00
</div>
2025-01-29 19:06:48 +01:00
<div class="flex inline-flex w-full">
<button class="ml-0" data-action="form#addEntry" type="button"><twig:ux:icon name="plus" height="32px" width="32px"/></button>
<button type="submit" data-action="form#submit" class="bg-gradient-to-r from-red-500 to-orange-500 hover:from-red-600 hover:to-orange-600 text-white px-4 sm:px-6 md:px-8 py-2 sm:py-2.5 rounded-full text-xs sm:text-sm font-medium shadow-md hover:shadow-lg transition-all duration-300 ml-auto">Submit</button>
</div>
2025-01-24 12:37:11 +01:00
</div>
</div>
</div>
</main>
</div>
2025-01-23 19:59:20 +01:00
{% endblock %}