<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" layout="1column" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceContainer name="content">
            <container name="htmltag.homepage-login-block" htmlTag="div" htmlClass="hero-homestyle-alt01-login" before="-">
                <!-- customer.form.login.extra -->
                <container name="customer.login.container" label="Customer Login Container" htmlTag="div" htmlClass="login-container-home">
                    <!-- cacheable - this disables FPC on the homepage, but until this login block is ajax or something, needs to check logged in/out -->
                    <block class="Magento\Customer\Block\Form\Login" name="customer_form_login" template="Magento_Theme::home-login.phtml" cacheable="false">
                        <container name="form.additional.info" as="form_additional_info"/>
                    </block>
                </container>
                <block class="Magento\Cookie\Block\RequireCookie" name="require-cookie" template="Magento_Cookie::require_cookie.phtml">
                    <arguments>
                        <argument name="triggers" xsi:type="array">
                            <item name="loginButton" xsi:type="string">.action.login</item>
                        </argument>
                    </arguments>
                </block>
            </container>
        </referenceContainer>
    </body>
</page>
