{% extends '@nucleus/partials/particle.html.twig' %} {% block stylesheets %} {% endblock %} {# Set Animation #} {% set animation %} {% if particle.animation != 'inherit' %} jl-scrollspy="cls: jl-animation-{{particle.animation|e}};{% if particle.animation_repeat == 'enabled' %} repeat: true;{% endif %}{% if particle.animation_delay %} delay: {{particle.animation_delay|e}};{% endif %}"{% endif %} {% endset %} {# Set Max-Width Content #} {% set content_maxwidth %} {% if particle.g_maxwidth != 'inherit' %} jl-width-{{particle.g_maxwidth}}{% if particle.g_maxwidth_breakpoint != 'always' %}@{{particle.g_maxwidth_breakpoint}}{% endif %}{% if particle.g_maxwidth_alignment == 'left' %}{% elseif particle.g_maxwidth_alignment == 'center' %} jl-margin-auto{% else %} jl-margin-auto-left{% endif %}{% endif %} {% endset %} {# Set Particle Alignment #} {% set particle_alignment %} {% if particle.align != 'inherit' %} jl-text-{{particle.align|e}}{% if particle.breakpoint != 'always' %}@{{particle.breakpoint|e}}{% endif %}{% endif %}{% if particle.align != 'inherit' and particle.breakpoint != 'always' %}{% if particle.fallback != 'inherit' %} jl-text-{{particle.fallback|e}}{% endif %}{% endif %} {% endset %} {# Set Button Class #} {% set button_cls %} {% if particle.buttonclass == 'link' %} jl-link{% elseif particle.buttonclass == 'link-muted' or particle.buttonclass == 'link-text' %} jl-{{particle.buttonclass|e}}{% else %} jl-button jl-button-{{particle.buttonclass|e}}{% endif %} {% endset %} {# Set Button Size #} {% set button_size %} {% if particle.buttonclass == 'link' or particle.buttonclass == 'link-muted' or particle.buttonclass == 'link-text' or particle.buttonclass == 'text' %}{% else %}{% if particle.link_button_size != 'default' %} jl-button-{{particle.link_button_size|e}}{% endif %}{% endif %} {% endset %} {# set Particle Title Style #} {% set particle_title_style %} {% if particle.particle_title %} <{{particle.particle_title_element|e}} id="{{ id }}" class="g5-particle-title{% if particle.particle_title_align != 'inherit' %} jl-text-{{particle.particle_title_align|e}}{% endif %}{% if particle.particle_predefined_color != 'default' %} jl-text-{{particle.particle_predefined_color|e}}{% endif %}{% if particle.particle_title_style != 'default' %} jl-{{particle.particle_title_style|e}}{% endif %}{% if particle.particle_title_decoration != 'none' %} jl-heading-{{particle.particle_title_decoration|e}}{% endif %}"> {% if particle.particle_title_decoration == 'line' %} {{particle.particle_title|raw}} {% else %} {{particle.particle_title|raw}} {% endif %} {% endif %} {% endset %} {% block particle %} {% if particle.enabled %} {{particle_title_style}}
{% if particle.show_f_namefield or particle.show_l_namefield %} {% if particle.layout == 'stackedname' %}
{% endif %} {% if particle.show_f_namefield %}
{% endif %} {% if particle.show_l_namefield %}
{% endif %} {% if particle.layout == 'stackedname' %}
{% endif %} {% endif %}
{% if particle.show_email_icon and particle.button_mode != 'button' %} {% endif %}
{% if particle.button_mode == 'button' %}
{% endif %}
{% endif %} {% endblock %} {% block javascript_footer %} {% do gantry.load('jquery') %} {% endblock %}