<?xml version="1.0"?>
<!--
  Layout de Webkul_Marketplace 5.1.3 para todas las páginas sin su CSS de Luma (wk_block.css y preview.css, que no
  usamos y se cargaban en todas las páginas) ni el setTemplate de wishlist_sidebar, que rompía la plantilla de Hyvä.
-->
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
    <body>
        <referenceBlock name="header.links">
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-top-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Sell</argument>
                    <argument name="path" xsi:type="string">marketplace</argument>
                </arguments>
            </block>
            <block class="Webkul\Marketplace\Block\View\Html\SwitchLink" name="marketplace-account-switch-link" >
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Vendor Dashboard</argument>
                    <argument name="path" xsi:type="string">marketplace\account\dashboard</argument>
                </arguments>
            </block>
        </referenceBlock>
        <referenceBlock name="footer_links">
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-link">
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Sell</argument>
                    <argument name="path" xsi:type="string">marketplace</argument>
                </arguments>
            </block>
            <block class="Webkul\Marketplace\Block\View\Html\Link" name="marketplace-vendor-login-link" >
                <arguments>
                    <argument name="label" xsi:type="string" translate="true">Vendor Login</argument>
                    <argument name="path" xsi:type="string">marketplace/account/dashboard</argument>
                </arguments>
            </block>
        </referenceBlock>
        <referenceContainer name="content">
            <block class="Webkul\Marketplace\Block\PublishedNewsPopup" name="marketplace_account_adminnews_popup_default" template="Webkul_Marketplace::account/published_news_popup.phtml" cacheable="true" ifconfig="marketplace/general_settings/enable_module"/>
        </referenceContainer>
        <referenceContainer name="seller.content">
            <block class="Webkul\Marketplace\Block\PublishedNewsPopup" name="marketplace_account_adminnews_popup" template="Webkul_Marketplace::account/published_news_popup.phtml" cacheable="true" ifconfig="marketplace/general_settings/enable_module"/>
        </referenceContainer>
    </body>
</page>
