{% extends 'page.html.twig' %}
{% block title %}
{{ parent() }}
<meta name="turbo-cache-control" content="no-cache" />
{% endblock %}
{% block mainClasses %}
flex flex-grow
{% endblock %}
{% set backgroundImage = pimcore_website_config('authPagesBackgroundImage') %}
{% block content %}
<div class="relative w-full min-h-full py-8 md:py-28">
{% if backgroundImage %}
{{
backgroundImage.thumbnail('hero-background').html({
pictureAttributes: { class: 'absolute z-0 inset-0' },
imgAttributes: { class: 'h-full w-full object-cover' }
})|raw
}}
<div class="absolute inset-0 bg-primary-500 opacity-80"></div>
{% endif %}
<div class="container relative z-10 max-w-screen-sm">
<div class="text-white">
{% block authHeader %}
{% endblock %}
</div>
<div class="p-4 bg-white md:p-14">
{% block authContent %}
{% endblock %}
</div>
<div class="text-center mt-9">
{% block authFooter %}
{% endblock %}
</div>
</div>
</div>
{% endblock %}