{#
 # For the full copyright and license information, please view the
 # docs/licenses/LICENSE.txt file that was distributed with this source code.
 #}

{% trans_default_domain 'Admin.Shopparameters.Feature' %}

{% block meta_showcase_card %}
  {% if not showcaseCardIsClosed %}
  <div id="seo-urls-showcase-card" class="showcase-card card">
    <div class="showcase-card__left shape-one helper-card__meta-background img-rtl">
      <img src="{{ asset('themes/new-theme/public/helper-card/seo@3x.svg') }}" class="img-fluid">
    </div>
    <div class="showcase-card__right">
      <h2>{{ 'Improve your SEO'|trans }}</h2>
      <p>{{ 'Edit information about your pages to gain visibility and therefore reach more visitors. We advise you to start with the index page, it stands for your homepage.'|trans }}</p>
      <a class="btn btn-outline-secondary" href="{{ helperDocLink }}" target="_blank">{{ 'Learn more'|trans({}, 'Admin.Actions') }}</a>
      {% if indexPageId and isGridDisplayed %}
        <a class="btn btn-primary" href="{{ path('admin_metas_edit', {metaId: indexPageId}) }}">{{ 'Configure index page'|trans }}</a>
      {% endif %}
    </div>
    <i class="showcase-card__close material-icons js-remove-helper-block" data-card-name="{{ metaShowcaseCardName }}" data-close-url="{{ path('admin_close_showcase_card') }}">close</i>
  </div>
  {% endif %}
{% endblock %}
