<?php /** @var \Dotdigitalgroup\Email\Block\Adminhtml\Dashboard $block */?>
<div class="content-header">
    <?= $block->getChildHtml('adminhtml.system.config.switcher');?>
</div>
<div class="message-system">
    <?= $block->getChildHtml('store_language');?>
    <div class="message-system-inner add-top-border">
        <div class="ddg-dashboard-container">
            <table cellspacing="25" class="ddg-dashboard-table">
                <tr>
                    <td class="ddg-dashboard-cell">
                        <?= $block->getChildHtml('dotdigitalgroup.email.dashboard_left') ?>
                    </td>
                    <td class="ddg-dashboard-cell">
                        <?= $block->getChildHtml('dotdigitalgroup.email.dashboard_right') ?>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</div>

<?= $block->getChildHtml('dotdigitalgroup.email.dashboard_config') ?>

<script type="text/x-magento-init">
    {
        "*": {
            "Dotdigitalgroup_Email/js/dashboard":{
                "contactLink":"<?= $block->escapeUrl($block->getContactSyncLink()); ?>",
                "importerLink":"<?= $block->escapeUrl($block->getImporterLink()); ?>"
            }
        }
    }
</script>
