templates/index/homepage.html.twig line 1

Open in your IDE?
  1. {% extends 'center.html.twig' %}
  2. {% block title %}
  3.     {{ 'title.shopping_center'|trans }} | {{ parent() }}
  4. {% endblock %}
  5. {% block page %}
  6.     <div class="container pt-10">
  7.         <div class="row">
  8.             <div class="col-xl-6 col-md-12 col-sm-12 col-xs-12">
  9.                 {{ include('parts/slider.html.twig') }}
  10.             </div>
  11.             <div class="col-xl-6 col-md-12 col-sm-12 col-xs-12">
  12.                 <div class="row">
  13.                     <div class="col-xl-6 col-md-12 col-sm-12 col-xs-12">
  14.                         <a href="{{ path('app_city_businesses', {'city': center.url}) }}"
  15.                            class="card card-arrow bg-white text-red-hover">
  16.                             <figure class="media equal-1-1">
  17.                                 <span style="background-image: url('{{ asset('assets/images/homepage/shopping.jpg') }}')"></span>
  18.                             </figure>
  19.                             <div class="card-body">
  20.                                 <h5 class="card-title">Obchody a služby</h5>
  21.                             </div>
  22.                         </a>
  23.                     </div>
  24.                     <div class="col-xl-6 col-md-6 col-sm-12 col-xs-12">
  25.                         <a href="{{ path('app_city_cinema', {'city': center.url}) }}"
  26.                            class="card card-arrow bg-white text-red-hover">
  27.                             <figure class="media equal-1-1">
  28.                                 <span style="background-image: url('{{ asset('assets/images/homepage/cinema.jpg') }}')"></span>
  29.                             </figure>
  30.                             <div class="card-body">
  31.                                 <h5 class="card-title">Kino</h5>
  32.                             </div>
  33.                         </a>
  34.                     </div>
  35.                     <div class="col-xl-6 col-md-12 col-sm-12 col-xs-12">
  36.                         <a href="{{ path('app_city_discounts', {'city': center.url}) }}"
  37.                            class="card card-arrow bg-white text-red-hover">
  38.                             <figure class="media equal-1-1">
  39.                                 <span style="background-image: url('{{ asset('assets/images/homepage/discounts.jpg') }}')"></span>
  40.                             </figure>
  41.                             <div class="card-body">
  42.                                 <h5 class="card-title">{{ 'label.discounts'|trans }}</h5>
  43.                             </div>
  44.                         </a>
  45.                     </div>
  46.                     <div class="col-xl-6 col-md-12 col-sm-12 col-xs-12">
  47.                         <a href="{{ path('app_city_about', {'city': center.url}) }}"
  48.                            class="card card-arrow bg-white text-red-hover">
  49.                             <figure class="media equal-1-1">
  50.                                 <span style="background-image: url('{{ asset('assets/images/nc-max-logo.png') }}'); background-size: auto !important; background-repeat: no-repeat;"></span>
  51.                             </figure>
  52.                             <div class="card-body">
  53.                                 <h5 class="card-title">{{ 'label.about_us'|trans }}</h5>
  54.                             </div>
  55.                         </a>
  56.                     </div>
  57.                 </div>
  58.             </div>
  59.         </div>
  60.     </div>
  61. {% endblock %}