{% capture logo_href %}{% assign temp_href = data.logo.href | default: site.brand.href | default: '/' %}{% if temp_href and temp_href != '' and temp_href != 'null' %}{{ temp_href }}{% else %}javascript:void(0){% endif %}{% endcapture %} {% capture logo_src %}{% if data.logo.src %}{{ data.logo.src }}{% else %}{{ site.brand.images.brandmark | default: null }}{% endif %}{% endcapture %} {% capture logo_text %}{{ data.logo.text | default: site.brand.name | uj_liquify }}{% endcapture %} {% capture logo_class %}{{ data.logo.class }}{% endcapture %} {% iftruthy logo_src %} {% if data.logo.type == 'wordmark' %} {{ logo_text }} Logo {% else %}
{{ logo_text }} Logo
{% endif %} {% endiftruthy %} {% if data.logo.type != 'wordmark' %} {% iftruthy logo_text %} {{ logo_text }} {% endiftruthy %} {% endif %}
{% for action in data.actions %} {% if action.type == 'account' %}
{% include themes/classy/global/sections/account.html size="sm" attributes=action.attributes %}
{% endif %} {% endfor %}
    {% for link in data.links %} {% if link.dropdown %} {% capture link_active %}{% urlmatches link.href, "active" %}{% endcapture %} {% capture link_class %}nav-link dropdown-toggle text-body {{ link_active }} {% if link.class %}{{ link.class }}{% endif %}{% endcapture %} {% capture link_attributes %}{% if link.attributes %}{% for attr in link.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %}
    • {% for child in link.dropdown %} {% capture child_active %}{% urlmatches child.href, "active" %}{% endcapture %} {% capture child_class %}dropdown-item text-body {{ child_active }} {% if child.class %}{{ child.class }}{% endif %}{% endcapture %} {% capture child_attributes %}{% if child.attributes %}{% for attr in child.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture child_content %} {% if child.icon %} {% uj_icon child.icon, "fa-md me-2" %} {% endif %} {{ child.label }} {% endcapture %} {% if child.divider %}

    • {% else %}
    • {% iftruthy child.href %} {{ child_content }} {% endiftruthy %} {% iffalsy child.href %} {% endiffalsy %}
    • {% endif %} {% endfor %}
  • {% else %} {% capture link_active %}{% urlmatches link.href, "active" %}{% endcapture %} {% capture link_class %}nav-link text-body {{ link_active }} {% if link.class %}{{ link.class }}{% endif %}{% endcapture %} {% capture link_attributes %}{% if link.attributes %}{% for attr in link.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture link_content %} {% if link.icon %} {% uj_icon link.icon, "fa-md me-2" %} {% endif %} {{ link.label }} {% endcapture %}
  • {% iftruthy link.href %} {{ link_content }} {% endiftruthy %} {% iffalsy link.href %} {% endiffalsy %}
  • {% endif %} {% endfor %}
{% for action in data.actions %} {% if action.type == 'account' %} {% include themes/classy/global/sections/account.html size="md" attributes=action.attributes %} {% elsif action.dropdown %} {% capture action_class %}btn dropdown-toggle {% if action.class %}{{ action.class }}{% endif %}{% endcapture %} {% capture action_attributes %}{% if action.attributes %}{% for attr in action.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %}
    {% for child in action.dropdown %} {% capture child_active %}{% urlmatches child.href, "active" %}{% endcapture %} {% capture child_class %}dropdown-item text-body {{ child_active }} {% if child.class %}{{ child.class }}{% endif %}{% endcapture %} {% capture child_attributes %}{% if child.attributes %}{% for attr in child.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture child_content %} {% if child.icon %} {% uj_icon child.icon, "fa-md me-2" %} {% endif %} {{ child.label }} {% endcapture %} {% if child.divider %}

  • {% else %}
  • {% iftruthy child.href %} {{ child_content }} {% endiftruthy %} {% iffalsy child.href %} {% endiffalsy %}
  • {% endif %} {% endfor %}
{% else %} {% capture action_class %}btn {% if action.class %}{{ action.class }}{% endif %}{% endcapture %} {% capture action_attributes %}{% if action.attributes %}{% for attr in action.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture action_content %} {% if action.icon %} {% uj_icon action.icon, "fa-md me-2" %} {% endif %} {{ action.label }} {% endcapture %} {% iftruthy action.href %} {{ action_content }} {% endiftruthy %} {% iffalsy action.href %} {% endiffalsy %} {% endif %} {% endfor %}
{% for action in data.actions %} {% if action.type != 'account' %} {% if action.dropdown %} {% capture action_class %}btn dropdown-toggle w-100 mt-3 {% if action.class %}{{ action.class }}{% endif %}{% endcapture %} {% capture action_attributes %}{% if action.attributes %}{% for attr in action.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %}
    {% for child in action.dropdown %} {% capture child_active %}{% urlmatches child.href, "active" %}{% endcapture %} {% capture child_class %}dropdown-item text-body {{ child_active }} {% if child.class %}{{ child.class }}{% endif %}{% endcapture %} {% capture child_attributes %}{% if child.attributes %}{% for attr in child.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture child_content %} {% if child.icon %} {% uj_icon child.icon, "fa-md me-2" %} {% endif %} {{ child.label }} {% endcapture %} {% if child.divider %}

  • {% else %}
  • {% iftruthy child.href %} {{ child_content }} {% endiftruthy %} {% iffalsy child.href %} {% endiffalsy %}
  • {% endif %} {% endfor %}
{% else %} {% capture action_class %}btn w-100 mt-3 {% if action.class %}{{ action.class }}{% endif %}{% endcapture %} {% capture action_attributes %}{% if action.attributes %}{% for attr in action.attributes %} {{ attr[0] }}="{{ attr[1] }}"{% endfor %}{% endif %}{% endcapture %} {% capture action_content %} {% if action.icon %} {% uj_icon action.icon, "fa-md me-2" %} {% endif %} {{ action.label }} {% endcapture %} {% iftruthy action.href %} {{ action_content }} {% endiftruthy %} {% iffalsy action.href %} {% endiffalsy %} {% endif %} {% endif %} {% endfor %}