{% extends oob.oob_extends %}

{# OOB elements for HTMX navigation - all elements that need updating #}

{# Import shared OOB macros #}
{% from '_types/root/_oob_menu.html' import mobile_menu with context %}

{% block oobs %}

  {% from '_types/root/_n/macros.html' import oob_header with context %}
  {{oob_header(
    oob.parent_id,
    oob.child_id,
    oob.header,
  )}}

  {% from oob.parent_header import header_row with context %}
  {{ header_row(oob=True) }}
{% endblock %}


{# Mobile menu - from market/index.html _main_mobile_menu block #}
{% set mobile_nav %}
  {% include oob.nav %}
{% endset %}
{{ mobile_menu(mobile_nav) }}


{% block content %}
    {% include oob.main %}
{% endblock %}


