{extends 'file:templates/layout.tpl'}
{block 'main'}
<section class="promo-area">
  <div class="container">
    <div class="row">
      <div class="col-lg-6 col-sm-7">
        <div class="promo-txt pull-left">
          <h2 class="promo-title">[[*pagetitle]]</h2>
          {include 'file:chunks/breadcrumbs/breadcrumbs.tpl'}
        </div>
      </div>
    </div>
  </div>
</section>
<main role="main">
<div class="container">
            <div class="row">
                  <div class="col-4">
                      <div class="boxContact">
                          <h3>Контактная информация</h3>
                          <div class="info">
                              <ul class="list pa0">
                                <li><strong>Адрес:</strong> [[++adress]]</li>
                                <li><strong>Телефон:</strong> [[++phone]]</li>
                                <li><strong>Email:</strong> [[++email]]</li>
                              </ul>
                          </div>
                          <a href="#"><div class="logo2"></div></a>
                          <div class="social1">
                              <ul class="list pa0 flex">
                                  <li><a href="https://www.facebook.com/vladimir.halturin.58"><i class="fab fa-facebook-f"></i></a></li>
                                  <li><a href="https://vk.com/good__daddy"><i class="fab fa-vk"></i></a></li>
                              </ul>
                          </div>
                      </div>
                  </div>
                  <div class="col-8">
                  <div id="map" class="map-container" style="height:400px;"></div>
                </div>
            </div>
        </div>
      </main>
{/block}
{block 'add_js'}
    <script src="https://api-maps.yandex.ru/2.1/?lang=ru_RU" type="text/javascript"></script>
    <script type="text/javascript">
      ymaps.ready(init)
      var myMap,
        myPlacemark

      function init () {
        myMap = new ymaps.Map('map', {
          center: [
            [[*maps]]
      ],
        zoom: [[*zoom_maps]]
      })


        myPlacemark = new ymaps.Placemark([
          [[*maps]]
      ],
        {
          hintContent: '[[*hintContent]]',
            balloonContent
        :
          '[[*balloonContent]]'
        }
      )


        myMap.geoObjects.add(myPlacemark)
      }
    </script>
{/block}