{# Hero CTA - Reusable onboarding/introduction component Usage: {% from 'partials/hero_cta.html' import hero_cta %} {{ hero_cta( theme='amber', icon_class='fa-shield-alt', icon_shape='circle', title='Security Audit Log', description='Track every action in your training environment.', features=[ {'icon': 'fa-fingerprint', 'color': 'text-warning', 'label': 'Tamper-proof chain'}, {'icon': 'fa-search', 'color': 'text-info', 'label': 'Advanced filtering'}, ], show_condition='showHeroCTA', dismiss_method='dismissHeroCTA()', show_dismiss=true ) }} For complex content (integrations, setup steps), use the call block: {% call hero_cta(...) %}
{{ description }}
{% endif %} {% if features %}{{ description }}
{% if link_url %} {{ link_text or 'Learn more' }} {% elif button_text %} {% endif %}{{ description }}
{% endif %} {{ caller() if caller else '' }}