templates/offer.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/page.css') ~ '?' ~ version() }}" rel="stylesheet">
  6.     <link href="{{ asset('/css/our-portfolio.css') ~ '?' ~ version() }}" rel="stylesheet">
  7.     <link href="{{ asset('/css/section-title.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. {% endblock %}
  11. {% block title %}Oferta - {{ parent() }}{% endblock %}
  12. {% block body %}
  13.     <main>
  14.         <div class="container-fluid no-padding-lr offer">
  15.             {% include 'partials/_header.html.twig' %}
  16.             <div class="container-xl container-xl-md container-xl-s">
  17.                 <nav aria-label="breadcrumb">
  18.                     <ol class="breadcrumb">
  19.                         <li class="breadcrumb-item"><a href="{{ url('index') }}">Strona główna</a></li>
  20.                         <li class="breadcrumb-item active" aria-current="page">Oferta</li>
  21.                     </ol>
  22.                 </nav>
  23.                 <div class="container-l container-l-md">
  24.                     <div class="sub-heading"><div class="line"></div><div class="text">{{ page.title }}</div></div>
  25.                     <h2 class="site-heading">{{ page.sub_title }}</h2>
  26.                     {% set offers = page.objects | json_decode %}
  27.                     {% for key, offer in offers %}
  28.                         <div class="page-details">
  29.                             <div class="page-photo">
  30.                                 <img src="{{ offer.image | thumb_url }}" alt="{{ '' }}" />
  31.                             </div>
  32.                             <div class="page-text">
  33.                                 <span class="number">{{ (key + 1) | parse_number }}</span>
  34.                                 {{ offer.text | raw }}
  35.                             </div>
  36.                         </div>
  37.                     {% endfor %}
  38.                 </div>
  39.             </div>
  40.             <div class="container-fluid no-padding-lr">
  41.                 {% include 'partials/_our_portfolio.html.twig' %}
  42.                 {% include 'partials/_do-you-like.html.twig' %}
  43.             </div>
  44.         </div>
  45.         {{ include('partials/_footer.html.twig') }}
  46.     </main>
  47. {% endblock %}