templates/main/bus-stops.html.twig line 1

Open in your IDE?
  1. {% extends 'base.html.twig' %}
  2. {% block head %}
  3.     <script type="application/ld+json">
  4.         {
  5.                                                                         "@context": "https://schema.org",
  6.                                                                     "@type": "LocalBusiness",
  7.                                                                         "name": "Dragon Tree Travel Unipessoal Lda",
  8.                                                                         "image": "https://gettohikes.com/build/images/icons/footer-logo.png",
  9.                                                                         "@id": "1",
  10.                                                                     "url": "https://gettohikes.com/",
  11.                                                                     "telephone": "914 000 440",
  12.                                                                         "priceRange": "$",
  13.                                                                         "address": {
  14.                                                                         "@type": "PostalAddress",
  15.                                                                         "streetAddress": "Estrada João Gonçalves Zarco 435",
  16.                                                                         "addressLocality": "Madeira",
  17.                                                                         "postalCode": "9325-033",
  18.                                                                     "addressCountry": "PT"
  19.                                                                         }, 
  20.                                                                         "geo": {
  21.                                                                         "@type": "GeoCoordinates",
  22.                                                                         "latitude": 32.6703265,
  23.                                                                         "longitude": -16.9807572
  24.                                                                         }
  25.                                                                         }
  26.     </script>
  27.     <link rel="alternate" hreflang="en" href="https://gettohikes.com/en/bus-stops"/>
  28.     <link rel="alternate" hreflang="fr" href="https://gettohikes.com/fr/bus-stops"/>
  29.     <link rel="alternate" hreflang="pt" href="https://gettohikes.com/pt/bus-stops"/>
  30.     <link rel="alternate" hreflang="de" href="https://gettohikes.com/de/bus-stops"/>
  31.     <link rel="alternate" hreflang="pl" href="https://gettohikes.com/pl/bus-stops"/>
  32.     <link rel="alternate" hreflang="x-default" href="https://gettohikes.com/en/bus-stops"/>
  33.     {% if app.request.locale == 'en' %}
  34.         <link rel="canonical" href="https://gettohikes.com/en/bus-stops"/>
  35.     {% endif %}
  36.     {% if app.request.locale == 'fr' %}
  37.         <link rel="canonical" href="https://gettohikes.com/fr/bus-stops"/>
  38.     {% endif %}
  39.     {% if app.request.locale == 'pt' %}
  40.         <link rel="canonical" href="https://gettohikes.com/pt/bus-stops"/>
  41.     {% endif %}
  42.     {% if app.request.locale == 'de' %}
  43.         <link rel="canonical" href="https://gettohikes.com/de/bus-stops"/>
  44.     {% endif %}
  45.     {% if app.request.locale == 'pl' %}
  46.         <link rel="canonical" href="https://gettohikes.com/pl/bus-stops"/>
  47.     {% endif %}
  48. {% endblock %}
  49. {% block title %}
  50.     {% if seo['meta-title'] %}
  51.         {{ seo['meta-title'] }}
  52.     {% endif %}
  53. {% endblock %}
  54. {% block meta_description %}
  55.     {% if seo['meta-desc'] %}
  56.         {{ seo['meta-desc'] }}
  57.     {% endif %}
  58. {% endblock %}
  59. {% block meta_keywords %}
  60.     {% if seo['meta-keywords'] %}
  61.         {{ seo['meta-keywords'] }}
  62.     {% endif %}
  63. {% endblock %}
  64. {% block meta_nofollow %}
  65.     {% if seo['nofollow'] %}noindex, nofollow
  66.     {% endif %}
  67. {% endblock %}
  68. {% block header %}
  69.     {% include './partials/secondaryHeader.html.twig' %}
  70. {% endblock %}
  71. {% block body %}
  72.     <div class="container bus-stops">
  73.         <div class="row px-4">
  74.             <nav aria-label="breadcrumb" class="px-0">
  75.                 <ol class="breadcrumb">
  76.                     <li class="breadcrumb-item">
  77.                         <a href="/">{{ 'pages.breadcrumb.home'|trans }}</a>
  78.                     </li>
  79.                     <li class="breadcrumb-item active" aria-current="page">{{ page.title }}</li>
  80.                 </ol>
  81.             </nav>
  82.         </div>
  83.         <div class="row">
  84.             <div class="col-12 col-lg-6 px-4">
  85.                 <div class="bus-stops-header">
  86.                     <h1>{{ page.title }}</h1>
  87.                     <div class="bus-stops-header-description">
  88.                         {{ page.description|raw }}
  89.                     </div>
  90.                 </div>
  91.             </div>
  92.             <div class="col-12 col-lg-6 px-4"><img src="{{ absolute_url( asset('build/images/icons/BUS_STOP.svg') ) }}" alt="bus stops" class="bus-stops-image"></div>
  93.         </div>
  94.     </div>
  95.     <div class="container-fluid maps px-0">
  96.         <div id='map' class='map'></div>
  97.         <div class="container">
  98.             <div class="marker">
  99.                 <h4>{{ 'pages.busStops.title'|trans }}</h4>
  100.                 <ul class='marker-list'></ul>
  101.             </div>
  102.         </div>
  103.     </div>
  104.     <div class="col-12 gallery d-none d-lg-flex">
  105.         {% for item in page.gallery.galleryItems %}
  106.             {% if item.media %}
  107.                 <img src="{{ sonata_path(item.media, 'reference') }}" loading="lazy" alt="{{item.media.description}}">
  108.             {% endif %}
  109.         {% endfor %}
  110.     </div>
  111.     <div class="swiper gallery-swiper d-lg-none">
  112.         <div class="swiper-wrapper">
  113.             {% for item in page.gallery.galleryItems %}
  114.                 {% if item.media %}
  115.                     <div class="swiper-slide">
  116.                         <img src="{{ sonata_path(item.media, 'reference') }}" loading="lazy" alt="{{item.media.description}}">
  117.                     </div>
  118.                 {% endif %}
  119.             {% endfor %}
  120.         </div>
  121.     </div>
  122. {% endblock %}
  123. {% block footer %}
  124.     {% include './partials/footer.html.twig' %}
  125. {% endblock %}
  126. {% block javascripts %}
  127.     {{ parent() }}
  128. {% endblock %}