{% extends '@nucleus/partials/particle.html.twig' %} {% block stylesheets %} {% endblock %} {# Set Viewport Height #} {% if particle.viewport_height == 'full' %} {% set viewport_height = 'jl-height-viewport="offset-top: true;"' %} {% elseif particle.viewport_height == 'percent' %} {% set viewport_height = 'jl-height-viewport="offset-top: true; offset-bottom: 20;"' %} {% elseif particle.viewport_height == 'section' %} {% set viewport_height = 'jl-height-viewport="offset-top: true; offset-bottom: 50;"' %} {% elseif particle.viewport_height == 'expand' %} {% set viewport_height = 'jl-height-viewport="expand: true;"' %} {% endif %} {# Set Title/Meta/Content Text Transform #} {% set title_text_transform = particle.title_text_transform ? ' jl-text-' ~ particle.title_text_transform|e ~ '' %} {% set meta_text_transform = particle.meta_text_transform ? ' jl-text-' ~ particle.meta_text_transform|e ~ '' %} {% set content_text_transform = particle.content_text_transform ? ' jl-text-' ~ particle.content_text_transform|e ~ '' %} {# Set Max-Width Content Section #} {% set container_maxwidth = particle.container_maxwidth != 'default' ? 'jl-container jl-container-' ~ particle.container_maxwidth|e ~ '' : 'jl-container' %} {# Set Padding #} {% if particle.padding == 'default' %} {% set padding = ' jl-section' %} {% elseif particle.padding == 'none' %} {% set padding = ' jl-section jl-padding-remove-vertical' %} {% else %} {% set padding = ' jl-section jl-section-' ~ particle.padding|e ~ '' %} {% endif %} {# Set Background color #} {% set parallax_bg_color = particle.parallax_bg_color ? 'style="background-color: ' ~ particle.parallax_bg_color ~ ';"' %} {% set parallax_overlay = (particle.parallax_bg_overlay ? '
') %} {% set parallax_easing = particle.parallax_easing ? 'easing:' ~ particle.parallax_easing / 10 ~ '' %} {# 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 Parallax Background #} {% set parallaxbackground %} {% if particle.parallax_image %}
{{parallax_overlay|raw}} {% if particle.container_maxwidth != 'none' %}
{% endif %} {% endif %} {% endset %} {# End Parallax Background #} {% set endparallaxbackground %} {% if particle.parallax_image %} {% if particle.container_maxwidth != 'none' %}
{% endif %}
{% endif %} {% endset %} {# Set Horizontal #} {% set pahorizontal %} {% if particle.pa_horizontal_start or particle.pa_horizontal_end %}x: {% if particle.pa_horizontal_start == '' %}0{% else %}{{particle.pa_horizontal_start }}{% endif %},{% if particle.pa_horizontal_end == '' %}0{% else %}{{particle.pa_horizontal_end }}{% endif %};{% endif %} {% endset %} {# Set Vertical #} {% set pavertical %} {% if particle.pa_vertical_start or particle.pa_vertical_end %}y: {% if particle.pa_vertical_start == '' %}0{% else %}{{particle.pa_vertical_start }}{% endif %},{% if particle.pa_vertical_end == '' %}0{% else %}{{particle.pa_vertical_end }}{% endif %};{% endif %} {% endset %} {# Set Scale #} {% set scale %} {% if particle.scale_start or particle.scale_end %}scale: {% if particle.scale_start == '' %}1{% else %}{{particle.scale_start / 100 }}{% endif %},{% if particle.scale_end == '' %}1{% else %} {{particle.scale_end / 100 }}{% endif %};{% endif %} {% endset %} {# Set Rotate #} {% set rotate %}{% if particle.rotate_start or particle.rotate_end %} rotate: {% if particle.rotate_start == '' %}0{% else %}{{particle.rotate_start}}{% endif %},{% if particle.rotate_end == '' %}0{% else %}{{particle.rotate_end}}{% endif %};{% endif %} {% endset %} {# Set Opacity #} {% set opacity %} {% if particle.opacity_start or particle.opacity_end %}opacity: {% if particle.opacity_start == '' %}1{% else %}{{particle.opacity_start / 100 }}{% endif %},{% if particle.opacity_end == '' %}1{% else %}{{particle.opacity_end / 100 }}{% endif %};{% endif %} {% endset %} {# Set Scrollspy Animation #} {% set scrollspy_cls = particle.animation != 'inherit' and particle.animation != 'parallax' ? ' jl-scrollspy-class' %} {# Set Animation #} {% set animation %} {% if particle.animation != 'inherit' and particle.animation != 'parallax' %} jl-scrollspy="target: [jl-scrollspy-class]; cls: jl-animation-{{particle.animation|e}};{% if particle.animation_repeat == 'enabled' %} repeat: true;{% endif %} delay:{% if particle.delay_element_animations %} {{particle.animation_delay|default('200')|e}};{% else %} false;{% endif %}" {% elseif particle.animation == 'parallax' %} {% if particle.pa_horizontal_start or particle.pa_horizontal_end or particle.pa_vertical_start or particle.pa_vertical_end or particle.scale_start or particle.scale_end or particle.rotate_start or particle.rotate_end or particle.opacity_start or particle.opacity_end or particle.easing or particle.pa_viewport or particle.pa_breakpoint %} jl-parallax="{{pahorizontal}}{{pavertical}}{{scale}}{{rotate}}{{opacity}}{% if particle.easing == '' %}{% else %}easing: {{ particle.easing / 100 }};{% endif %}{% if particle.pa_viewport != '' %}viewport:{{ particle.pa_viewport / 100 }};{% endif %}{% if particle.pa_breakpoint != 'always' %}media: @{{particle.pa_breakpoint|e}}{% endif %}"{% 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 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 %} {% set slider_animation_set = particle.slider_animation_set == 'enabled' ? 'sets: 1;' %} {% set slider_animation_center = particle.slider_animation_center == 'enabled' ? 'center: 1;' %} {% set slider_animation_finite = particle.slider_animation_finite == 'enabled' ? 'finite: 1;' %} {% set slider_animation_autoplay = particle.slider_animation_autoplay == 'enabled' ? 'autoplay: 1;' %} {% set slider_animation_interval = (particle.slider_animation_autoplay == 'enabled' and particle.slider_animation_interval) ? 'autoplay-interval:' ~ particle.slider_animation_interval * 1000 ~ ';' %} {% set slider_pause_onhover = particle.slider_pause_onhover == 'disabled' ? 'pauseOnHover: false;' %} {% set velocity = particle.slider_velocity ? 'velocity:' ~ particle.slider_velocity / 100 ~ ';' %} {# Set Image Width/Height #} {% set imagewidth = particle.image_width ? ' width="' ~ particle.image_width ~ '"' %} {% set imageheight = particle.image_height ? ' height="' ~ particle.image_height ~ '"' %} {# Set Masonry #} {% set grid_masonry = particle.grid_masonry ? 'masonry: 1;' %} {% set grid_parallax = particle.grid_parallax ? 'parallax: ' ~ particle.grid_parallax ~ ';' %} {# Set Image Border Class #} {% if particle.cardstyle == 'blank' or ( particle.cardstyle != 'blank' and particle.image_padding == false ) %} {% set image_border_cls = particle.image_border != 'none' ? ' jl-border-' ~ particle.image_border|e ~ '' %} {% endif %} {# Image Box Shadow #} {% if particle.cardstyle == 'blank' %} {% set image_boxshadow = particle.box_shadow != 'none' ? ' jl-box-shadow-' ~ particle.box_shadow|e ~ '' %} {% set image_boxshadow_hover = particle.box_shadow_hover != 'none' ? ' jl-box-shadow-hover-' ~ particle.box_shadow_hover|e ~ '' %} {% endif %} {# Image Box Shadow #} {% set image_boxshadow %} {% if particle.box_shadow != 'none' %} jl-box-shadow-{{particle.box_shadow|e}}{% endif %}{% if particle.box_shadow_hover != 'none' %} jl-box-shadow-hover-{{particle.box_shadow_hover|e}}{% endif %} {% endset %} {# Set Card Max Width Class #} {% set card_maxwidth_cls = particle.card_maxwidth != 'none' ? ' jl-margin-auto jl-width-' ~ particle.card_maxwidth|e ~ '' %} {# Set Image Margin Top Class #} {% if ( ( particle.image_alignment == 'bottom' and particle.image_padding == false ) or ( particle.cardstyle == 'blank' and particle.image_alignment == 'bottom' ) or particle.image_alignment == 'between' ) %} {% set image_top_cls = particle.image_margin_top != 'default' ? ' jl-margin-' ~ particle.image_margin_top|e ~ '-top' : ' jl-margin-top' %} {% endif %} {% if particle.image_alignment == 'left' or particle.image_alignment == 'right' %} {% set cover = (particle.image_padding and particle.cardstyle != 'blank') ? ' jl-cover' %} {% endif %} {# Set Item Content #} {% set itemcontent %} {% for item in particle.items %} {# Set Link Scroll #} {% set linkscroll = item.buttonlink|e matches '/#/' ? ' jl-scroll' %} {# Set Item Meta #} {% set item_meta %} {% if item.memberrole %}
{{item.memberrole|raw}}
{% endif %} {% endset %} {# Social Margin Top #} {% if particle.icon_position == 'default' %} {% set social_margin_top = particle.social_margin_top != 'default' ? ' jl-margin-' ~ particle.social_margin_top|e ~ '-top' : ' jl-margin-top' %} {% endif %} {# Icon Overlay Transition #} {% set icon_overlay_transition = particle.icon_overlay_hover ? ' jl-transition-' ~ particle.icon_overlay_transition|e ~ '' %} {# Set Icon Alignment #} {% set icon_alignment %} {% if particle.icon_align != 'inherit' and particle.icon_position == 'overlay' and particle.icon_vertical_button == false %} jl-flex-{{particle.icon_align|e}}{% endif %} {% endset %} {# Set Item Image #} {% set item_image %} {% if item.memberimg %} {% if item.background_blendmode != 'inherit' and item.bgcolor %}
{{item.memberimgalt}}
{% else %} {{item.memberimgalt}} {% endif %} {% endif %} {% endset %} {# Set Image Left/Right #} {% set item_imagelr %} {% if particle.image_padding %} {{item.memberimgalt}} {% if particle.cardstyle != 'blank' %} {{item.memberimgalt}} {% endif %} {% else %} {% endif %} {% endset %} {# Set Item Title #} {% set item_title %} {% if item.membername %} <{{particle.title_element|e}} class="tm-title jl-margin-remove-bottom{{title_text_transform}}{% if particle.title_margin_top == 'default' %} jl-margin-top{% else %} jl-margin-{{ particle.title_margin_top|e }}-top{% endif %}{% if particle.title_color != 'default' %} jl-text-{{particle.title_color|e}}{% endif %}{% if particle.title_style != 'default' %} jl-{{particle.title_style|e}}{% endif %}{% if particle.title_decoration != 'none' %} jl-heading-{{particle.title_decoration|e}}{% endif %}"> {% if particle.title_decoration == 'line' %} {% endif %} {{ item.membername|raw }} {% if particle.title_decoration == 'line' %} {% endif %} {% endif %} {% endset %} {# Set Item Content #} {% set item_content %} {% if item.memberdescription %}
{{ item.memberdescription|raw }}
{% endif %} {% endset %} {# Set Social Button #} {% set item_social %} {% if item.membericon %} {% if particle.icon_style != 'default' and particle.icon_position != 'overlay' %}
    {% for icons in item.membericon %}
  • {% endfor %}
{% else %} {% endif %} {% endif %} {% endset %} {% if particle.grid_type == 'slider' %} {% if item.content_bgcolor != '' %}
  • {% else %}
  • {% endif %} {% else %} {% if item.content_bgcolor != '' %}
    {% else %}
    {% endif %} {% endif %} {% if particle.image_alignment == 'top' or particle.image_alignment == 'bottom' or particle.image_alignment == 'between' %} {# Default Style #} {% if particle.cardstyle == 'blank' %} {# Card Blank #}
    {% if particle.image_alignment == 'top' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {% if particle.image_alignment == 'between' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %} {% if particle.image_alignment == 'bottom' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %}
    {# End Card Blank #} {% else %} {# Card styles #} {% if particle.image_padding == '1' %}
    {% if particle.image_alignment == 'top' %} {% if particle.icon_position == 'overlay' %}
    {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %}
    {{item_image}}
    {% endif %} {% endif %}
    {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {% if particle.image_alignment == 'between' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %}
    {% if particle.image_alignment == 'bottom' %} {% if particle.icon_position == 'overlay' %}
    {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %}
    {{item_image}}
    {% endif %} {% endif %} {% else %}
    {% if particle.image_alignment == 'top' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {% if particle.image_alignment == 'between' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %} {% if particle.image_alignment == 'bottom' %} {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %} {% endif %} {% endif %}
    {# End card style #} {% endif %} {# End Default Style #} {% else %} {# Grid Style #} {% if particle.cardstyle == 'blank' %} {# Card Blank #}
    {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_imagelr}}
    {{item_social}}
    {% else %} {{item_imagelr}} {% endif %}
    {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %}
    {# End Card Blank #} {% else %} {# Card styles #} {% if particle.image_padding == '1' %}
    {% if particle.image_padding == '1' %}
    {% else %}
    {% endif %}
    {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_imagelr}}
    {{item_social}}
    {% else %} {{item_imagelr}} {% endif %}
    {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %}
    {% else %}
    {% if particle.icon_position == 'overlay' %} {% if particle.icon_overlay_hover %}
    {% else %}
    {% endif %} {{item_image}}
    {{item_social}}
    {% else %} {{item_image}} {% endif %}
    {% if particle.meta_alignment == 'top' %} {{item_meta}} {% endif %} {{item_title}} {% if particle.meta_alignment == 'bottom' %} {{item_meta}} {% endif %} {{item_content}} {% if particle.meta_alignment == 'content' %} {{item_meta}} {% endif %} {% if particle.icon_position == 'default' %} {{item_social}} {% endif %}
    {% endif %}
    {# End card style #} {% endif %} {# End Grid style #} {% endif %} {% if particle.grid_type == 'slider' %}
  • {% else %} {% endif %} {% endfor %} {% endset %} {% set grid_column_gap = particle.grid_column_gap != 'default' ? ' jl-grid-column-' ~ particle.grid_column_gap ~ '' %} {% set grid_row_gap = particle.grid_row_gap != 'default' ? ' jl-grid-row-' ~ particle.grid_row_gap ~ '' %} {% if ( particle.grid_column_gap == particle.grid_row_gap ) and not (particle.grid_column_gap == 'default' and particle.grid_row_gap == 'default') %} {% set grid_cr_gap = ' jl-grid-' ~ particle.grid_column_gap ~ '' %} {% else %} {% set grid_cr_gap = grid_column_gap ~ grid_row_gap %} {% endif %} {% set center_columns = particle.center_columns ? ' jl-flex-center' %} {% set center_rows = particle.center_rows ? ' jl-flex-middle' %} {% block particle %} {% if particle.enabled %} {{parallaxbackground}} {{particle_title_style}} {% if particle.grid_type == 'slider' %}
    {# Load Outside container #} {% if particle.slidenav_position == 'outside' %}
    {% endif %} {# End outside #}
      {{itemcontent}}
    {% if particle.slidenav_position == 'outside' %}
    {% endif %} {% if particle.slidenav_icon_left and particle.slidenav_icon_right %} {% set slidenav_icon_left = '' %} {% set slidenav_icon_right = '' %} {% else %} {% set slidenav_large_style = particle.larger_slidenav ? ' jl-slidenav-large' %} {% set slidenav_next = 'jl-slidenav-next' %} {% set slidenav_prev = 'jl-slidenav-previous' %} {% endif %} {% set slidenav_text_color = particle.slidenav_color != 'default' ? ' jl-' ~ particle.slidenav_color ~ '' %} {# Slidenav #} {% if particle.slidenav_position != 'none' %} {% if particle.slidenav_position == 'default' %} {% elseif particle.slidenav_position == 'outside' %} {% else %} {% endif %} {% endif %} {# End Slidenav #}
    {# Navigation #} {% if particle.navigation == 'enabled' %} {% if particle.navigation_color != 'default' %}
    {% endif %}
      {% for item in particle.items %}
    • {% endfor %}
    {% if particle.navigation_color != 'default' %}
    {% endif %} {% endif %} {# End Navigation #}
    {% else %}
    {{itemcontent}}
    {% endif %} {{endparallaxbackground}} {% endif %} {% endblock %}