<?xml version="1.0"?>
<data inherit_id="website.layout" name="Template Header Sidebar" active="False">
    <xpath expr="//header" position="attributes">
        <attribute name="t-attf-class" add="o_header_sidebar" separator=" "/>
    </xpath>
    <xpath expr="//header//nav" position="replace">
        <t t-call="website.navbar">
            <t t-set="_navbar_classes" t-valuef="shadow pb-3"/>
            <div id="top_menu_container" class="container h-100">
                <!-- Brand -->
                <t t-call="website.placeholder_header_brand"/>
                <!-- Navbar Toggler -->
                <t t-call="website.navbar_toggler"/>
                <!-- Navbar Collapse -->
                <div id="top_menu_collapse" class="collapse navbar-collapse flex-column align-self-stretch align-items-stretch">
                    <t t-call="website.navbar_nav">
                        <t t-set="_nav_class" t-valuef="mb-auto"/>
                        <!-- 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>
                        <!-- Language Selector -->
                        <li class="nav-item ms-lg-1">
                            <t t-call="website.placeholder_header_language_selector">
                                <t t-set="_div_classes" t-valuef="dropup"/>
                                <t t-set="_dropdown_menu_class" t-valuef="dropdown-menu-lg-left"/>
                            </t>
                        </li>
                        <!-- Call To Action -->
                        <li class="nav-item mt-3">
                            <t t-call="website.placeholder_header_call_to_action"/>
                        </li>
                        <li class="nav-item d-lg-none">
                            <ul class="nav navbar-nav">
                                <!-- Sign In -->
                                <t t-call="portal.placeholder_user_sign_in">
                                    <t t-set="_item_class" t-valuef="nav-item"/>
                                    <t t-set="_link_class" t-valuef="nav-link"/>
                                </t>
                                <!-- User Dropdown -->
                                <t t-call="portal.user_dropdown">
                                    <t t-set="_icon" t-value="true"/>
                                    <t t-set="_user_name" t-value="true"/>
                                    <t t-set="_item_class" t-valuef="nav-item dropdown me-auto"/>
                                    <t t-set="_link_class" t-valuef="nav-link"/>
                                </t>
                            </ul>
                        </li>
                    </t>
                    <div class="oe_structure oe_structure_solo" id="oe_structure_header_sidebar_1"/>
                    <ul class="nav navbar-nav d-none d-lg-block">
                        <!-- Sign In -->
                        <t t-call="portal.placeholder_user_sign_in">
                            <t t-set="_item_class" t-valuef="nav-item"/>
                            <t t-set="_link_class" t-valuef="nav-link"/>
                        </t>
                        <!-- User Dropdown -->
                        <t t-call="portal.user_dropdown">
                            <t t-set="_icon" t-value="true"/>
                            <t t-set="_user_name" t-value="true"/>
                            <t t-set="_item_class" t-valuef="nav-item dropup me-auto"/>
                            <t t-set="_link_class" t-valuef="nav-link"/>
                            <t t-set="_dropdown_menu_class" t-valuef="position-absolute"/>
                        </t>
                    </ul>
                </div>
            </div>
        </t>
    </xpath>
</data>

