{% comment %} ============================================================ — full-width hero banner Built on daisyUI's hero component, so the layout comes from the shipped stylesheet rather than from this template. The previous version rendered a bare `.mvp-hero` div and relied on a parallax script loaded from a CDN to position everything; when that script was dropped, the class was left with no rule behind it anywhere and the banner stopped centring its content. Props: title – heading text subtitle – short prose under the heading bg-image – background image URL; .hero already covers and centres it opacity – 0–1, how strongly the overlay dims the image (default 0.5) height – minimum height, any CSS length (e.g. "80vh") class – extra classes on the .hero surface Slots: top – above the heading (a logo, an eyebrow line) actions – below the subtitle, centred as a button row bottom – below the actions The root spreads no {{ attrs }}, deliberately: this component takes the attributes declared below and nothing else, which is what keeps a removed one (`parallax`, `speed`) inert rather than passing it through to the DOM as a stray HTML attribute that looks like it still does something. ============================================================ {% endcomment %}
{% if bg_image and opacity %}
{% endif %}
{{ top }}

{{ title }}

{% if subtitle %} {{ subtitle }} {% endif %} {% if actions %} {{ actions }} {% endif %} {{ bottom }}