templates/portfolios.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block stylesheets %}
  3.     {{ parent() }}
  4.     <link href="{{ asset('/css/index.css') ~ '?' ~ version() }}" rel="stylesheet">
  5.     <link href="{{ asset('/css/realisations.css') ~ '?' ~ version() }}" rel="stylesheet">
  6.     <link href="{{ asset('/css/section-title.css') ~ '?' ~ version() }}" rel="stylesheet">
  7.     <link href="{{ asset('/css/filters.css') ~ '?' ~ version() }}" rel="stylesheet">
  8.     <link href="{{ asset('/css/breadcrumbs.css') ~ '?' ~ version() }}" rel="stylesheet">
  9.     <link href="{{ asset('/css/rwd.css') ~ '?' ~ version() }}" rel="stylesheet">
  10.     <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
  11. {% endblock %}
  12. {% block title %}Realizacje - {{ parent() }}{% endblock %}
  13. {% block body %}
  14.     <main>
  15.         <div class="container-fluid no-padding-lr">
  16.             {% include 'partials/_header.html.twig' %}
  17.             <div class="container-xl container-xl-md">
  18.                 <div class="container-m">
  19.                     <nav aria-label="breadcrumb">
  20.                         <ol class="breadcrumb">
  21.                             <li class="breadcrumb-item"><a href="{{ url('index') }}">Strona główna</a></li>
  22.                             <li class="breadcrumb-item active" aria-current="page">Portfolio</li>
  23.                         </ol>
  24.                     </nav>
  25.                 </div>
  26.                 {% include 'partials/_filter_section.html.twig' with {'order': {'name': 'wg rankingu autora', 'value': 'ord'}, 'data': {'url': '/portfolio', 'title': 'Nasze realizacje'}} %}
  27.                 <div class="realisation-line">
  28.                     {% for key, realisation in realisations %}
  29.                     <div class="realisation-box">
  30.                         <a
  31.                                 href="{{ '/portfolio' ~ realisation.slug }}"
  32.                                 class="realisation-gallery-link"
  33.                         >
  34.                             {% if realisation.thumb_filename is not empty %}
  35.                             <img src="{{ static_dir ~ '/thumbs' ~ realisation.thumb_filename }}" alt="{{ realisation.title }}" />
  36.                             {% else %}
  37.                             <img src="{{ 'https://via.placeholder.com/480x568.png?text=' ~ realisation.title }}" alt="{{ realisation.title }}" />
  38.                             {% endif %}
  39.                             <span class="info-cover">
  40.                                 <span class="title">{{ realisation.title }}</span>
  41.                                 <span class="link">zobacz realizację &LongRightArrow;</span>
  42.                             </span>
  43.                         </a>
  44.                     </div>
  45.                     {% endfor %}
  46.                     {% if realisation_count > 9 %}
  47.                     <div class="next-button">
  48.                         <a class="button-link realisation-next-elements" data-number="9" href="#"><span>zobacz kolejne</span></a>
  49.                     </div>
  50.                     {% endif %}
  51.                 </div>
  52.                 {% include 'partials/_do-you-like.html.twig' %}
  53.             </div>
  54.         </div>
  55.         {{ include('partials/_footer.html.twig') }}
  56.     </main>
  57. {% endblock %}
  58. {% block javascripts %}
  59.     {{ parent() }}
  60.     <script type="text/javascript" src="{{ asset('js/filter.js') }}"></script>
  61. {% endblock %}