{% extends '@SyliusShop/layout.html.twig' %}
{# {% block title %}
Nos collections | {{ parent() }}
{% endblock %}
{% block metatags %}
{{ parent() }}
<meta name="description" content="Découvrez les collections éphémères, classiques et enfants Papa Pique et Maman Coud. Accessoires de mode et Tissu. Livraison gratuite en boutique." />
{% endblock %} #}
{% block title %}{{ bitbag_cms_render_block('metatitle-collection') }} | {{ parent() }}{% endblock %}
{% block metatags %}
{{ parent() }}
<meta name="description" content="{{ bitbag_cms_render_block('metadesc-collection')|striptags|raw|replace({"\n": "", "\r": "", "\t": ""}) }}" />
{% endblock %}
{% block container_css_classes %}
{% apply spaceless %}
bitbag_sylius_cms_plugin_shop_page_show
{% endapply %}
{% endblock %}
{% block content %}
<div class="page-content typecms6" style="background-image: url('/webapic-theme/images/asupprimer/page-bg-content-full.png')">
{# Fil d'ariane #}
{{ wo_render_breadcrumbs() }}
<div class="page-content-ctn">
<div class="page-content-left">
<img src="/webapic-theme/images/asupprimer/page-bg-content-left2.svg" class="ui image">
</div>
<div class="page-content-middle">
<h1 class="bitbag-page-name">{{ 'app.front.collections.indextitle'|trans }} PPMC</h1>
<div class="bitbag-page-content">
<p>{{ 'app.front.collections.indexdesc'|trans }}</p>
</div>
</div>
{#
<div class="page-content-right">
<div id="circle">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="300px" height="300px" viewbox="0 0 300 300" enable-background="new 0 0 300 300" xml:space="preserve">
<defs>
<path id="circlePath" d=" M 150, 150 m -60, 0 a 60,60 0 0,1 120,0 a 60,60 0 0,1 -120,0 "></path>
</defs>
<circle cx="150" cy="100" r="75" fill="none"></circle>
<g>
<use xlink:href="#circlePath" fill="none"></use>
<text fill="#fff" textLength="550px">
<textPath xlink:href="#circlePath" textLength="550px">
Les collections PPMC
</textPath>
</text>
</g>
</svg>
</div>
</div>
#}
</div>
</div>
<div class="bitbag-block">
<div class="block-type21 block-type15">
<h2>{{ 'app.front.collections.indexlast1'|trans }} <a href="{{ path('app_collection_category', {'slugCategory': linkscat.temporary}) }}"><strong>collections</strong> <span>{{ 'app.front.collections.cat1'|trans }}</span></a></h2>
<a class="link-all" href="{{ path('app_collection_category', {'slugCategory': linkscat.temporary}) }}">{{ 'app.front.collections.indexlast2'|trans }}</a>
<div class="block-type15-ctn">
{% for collection in collectionsTemporary %}
<div class="categorie">
<a href="{{ path('app_collection_show', {'slugCategory': linkscat.temporary, 'slug': collection.slug}) }}" class="top">
<div class="img-ctn">
{% if collection.imagesByType('image_collection_main_left')|length > 0 %}
<img class="ui image" src="{{ collection.imagesByType('image_collection_main_left').first.path|imagine_filter('app_taxon_image_taxon_main') }}" />
{% else %}
<img class="ui image" src="{{ asset('webapic-theme/images/placeholder-category-image.png') }}" />
{% endif %}
</div>
<h3>{{ collection.title }}</h3>
</a>
</div>
{% endfor %}
</div>
</div>
<div class="block-type21 block-type15">
<h2>{{ 'app.front.collections.indexlast1'|trans }} <a href="{{ path('app_collection_category', {'slugCategory': linkscat.temporary}) }}"><strong>collections</strong> <span>{{ 'app.front.collections.cat2'|trans }}</span></a></h2>
<a class="link-all" href="{{ path('app_collection_category', {'slugCategory': linkscat.classic}) }}">{{ 'app.front.collections.indexlast2'|trans }}</a>
<div class="block-type15-ctn">
{% for collection in collectionsClassic %}
<div class="categorie">
<a href="{{ path('app_collection_show', {'slugCategory': linkscat.classic, 'slug': collection.slug}) }}" class="top">
<div class="img-ctn">
{% if collection.imagesByType('image_collection_main_left')|length > 0 %}
<img class="ui image" src="{{ collection.imagesByType('image_collection_main_left').first.path|imagine_filter('app_taxon_image_taxon_main') }}" />
{% else %}
<img class="ui image" src="{{ asset('webapic-theme/images/placeholder-category-image.png') }}" />
{% endif %}
</div>
<h3>{{ collection.title }}</h3>
</a>
</div>
{% endfor %}
</div>
</div>
<div class="block-type21 block-type15">
<h2>{{ 'app.front.collections.indexlast1'|trans }} <a href="{{ path('app_collection_category', {'slugCategory': linkscat.temporary}) }}"><strong>collections</strong> <span>{{ 'app.front.collections.cat3'|trans }}</span></a></h2>
<a class="link-all" href="{{ path('app_collection_category', {'slugCategory': linkscat.children}) }}">{{ 'app.front.collections.indexlast2'|trans }}</a>
<div class="block-type15-ctn">
{% for collection in collectionsChildren %}
<div class="categorie">
<a href="{{ path('app_collection_show', {'slugCategory': linkscat.children, 'slug': collection.slug}) }}" class="top">
<div class="img-ctn">
{% if collection.imagesByType('image_collection_main_left')|length > 0 %}
<img class="ui image" src="{{ collection.imagesByType('image_collection_main_left').first.path|imagine_filter('app_taxon_image_taxon_main') }}" />
{% else %}
<img class="ui image" src="{{ asset('webapic-theme/images/placeholder-category-image.png') }}" />
{% endif %}
</div>
<h3>{{ collection.title }}</h3>
</a>
</div>
{% endfor %}
</div>
</div>
{# <div class="block-type21 block-type15">
<h2>Les <strong>dernières</strong> collections</h2>
<div class="block-type15-ctn">
{% for collection in lastestCollections %}
<div class="categorie">
<a href="{{ path('app_collection_show', {'slug': collection.slug}) }}" class="top">
<div class="img-ctn">
{% if collection.imagesByType('image_collection_main_left')|length > 0 %}
<img class="ui image" src="{{ collection.imagesByType('image_collection_main_left').first.path|imagine_filter('app_taxon_image_taxon_main') }}" />
{% else %}
<img class="ui image" src="{{ asset('webapic-theme/images/placeholder-category-image.png') }}" />
{% endif %}
</div>
<h2>{{ collection.title }}</h2>
</a>
</div>
{% endfor %}
</div>
</div> #}
{# <div class="block-type21 block-type15">
<h2>Toutes les collections</h2>
<div class="block-type15-ctn">
{% for collection in collections %}
<div class="categorie">
<a href="{{ path('app_collection_show', {'slug': collection.slug}) }}" class="top">
<div class="img-ctn">
{% if collection.imagesByType('image_collection_main_left')|length > 0 %}
<img class="ui image" src="{{ collection.imagesByType('image_collection_main_left').first.path|imagine_filter('app_taxon_image_taxon_main') }}" />
{% else %}
<img class="ui image" src="{{ asset('webapic-theme/images/placeholder-category-image.png') }}" />
{% endif %}
</div>
<h2>{{ collection.title }}</h2>
</a>
</div>
{% endfor %}
</div>
</div> #}
</div>
{% endblock %}