<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <head>
        <css src="Autogedal_LegalGuarantee::css/legal-guarantee.css"/>
    </head>
    <body>
        <referenceBlock name="footer_block">
            <block class="Magento\Framework\View\Element\Template"
                   name="autogedal.legal.guarantee.footer"
                   as="legal-guarantee"
                   template="Autogedal_LegalGuarantee::legal-guarantee/footer.phtml"/>
        </referenceBlock>
        <referenceContainer name="before.body.end">
            <block class="Magento\Framework\View\Element\Template"
                   name="autogedal.legal.guarantee.modal"
                   template="Autogedal_LegalGuarantee::legal-guarantee/modal.phtml">
                <block class="Magento\Framework\View\Element\Template"
                       name="autogedal.legal.guarantee.modal.notice"
                       as="notice"
                       template="Autogedal_LegalGuarantee::legal-guarantee/notice.phtml"/>
            </block>
        </referenceContainer>
    </body>
</page>
