<?xml version="1.0"?>
<data inherit_id="website.layout" name="Template Header Default" active="True">
    <xpath expr="//header//nav" position="replace">
        <t t-call="website.navbar">
            <t t-set="_navbar_classes" t-valuef="shadow-sm"/>
            <div id="top_menu_container" class="container justify-content-start justify-content-lg-between">
                <!-- Brand -->
                <t t-call="website.placeholder_header_brand">
                    <t t-set="_link_class" t-valuef="me-4"/>
                </t>
                <!-- Navbar Collapse -->
                <div id="top_menu_collapse" class="collapse navbar-collapse order-last order-lg-0">
                    <t t-call="website.navbar_nav">
                        <t t-set="_nav_class" t-valuef="flex-grow-1"/>
                        <!-- Menu -->
                        <t t-foreach="website.menu_id.child_id" t-as="submenu">
                            <t t-call="website.submenu">
                                <t t-set="item_class" t-valuef="nav-item"/>
                                <t t-set="link_class" t-valuef="nav-link"/>
                            </t>
                        </t>
                        <!-- Sign In -->
                        <t t-call="portal.placeholder_user_sign_in">
                            <t t-set="_item_class" t-valuef="nav-item ms-lg-auto"/>
                            <t t-set="_link_class" t-valuef="nav-link fw-bold"/>
                        </t>
                        <!-- User Dropdown -->
                        <t t-call="portal.user_dropdown">
                            <t t-set="_user_name" t-value="true"/>
                            <t t-set="_item_class" t-valuef="nav-item dropdown ms-lg-auto"/>
                            <t t-set="_link_class" t-valuef="nav-link fw-bold"/>
                        </t>
                    </t>

                    <!-- Language Selector -->
                    <t t-call="website.placeholder_header_language_selector">
                        <t t-set="_div_classes" t-valuef="my-auto ms-lg-2"/>
                    </t>
                </div>
                <!-- Call To Action -->
                <t t-call="website.placeholder_header_call_to_action">
                    <t t-set="_div_classes" t-valuef="ms-lg-4"/>
                </t>
                <!-- Navbar Toggler -->
                <t t-call="website.navbar_toggler">
                    <t t-set="_toggler_class" t-valuef="ms-auto"/>
                </t>
            </div>
        </t>
    </xpath>
</data>

