templates/Layout/_header.html.twig line 15

Open in your IDE?
  1. {# Default header #}
  2. {% if nodemenu is defined %}
  3.     <div class="header">
  4.         <div class="header__toolbar">
  5.             <div class="dis">
  6.                 <div class="dis__fonts">
  7.                     <a href="#" class="dis__font dis__font--smaller" title="Zmniejsz rozmiar fontu" aria-label="Zmniejsz rozmiar fontu">A--</a>
  8.                     <a href="#" class="dis__font dis__font--bigger" title="Zwiększ rozmiar fontu" aria-label="Zwiększ rozmiar fontu">A++</a>
  9.                 </div>
  10.                 <a href="#" class="dis__set-contrast" title="Ustaw kontrast" aria-label="Ustaw kontrast"><span>Kontrast</span></a>
  11.             </div>
  12.             <div class="header__toolbar-social">
  13.                 {% set facebook = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'facebook' } )) %}
  14.                 {% set instagram = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'instagram' } )) %}
  15.                 {% set youtube = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'youtube' } )) %}
  16.                 {% set bip = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'bip' } )) %}
  17.                 {% set rss = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'rss' } )) %}
  18.                 {% set twitter = render(controller('App\\Controller\\SocialLinkController:feedAction', { 'type' : 'twitter' } )) %}
  19.                 {% if facebook %}
  20.                     <a href="{{ facebook }}" class="social_fb" rel="noopener" target="_blank">
  21.                         <svg xmlns="http://www.w3.org/2000/svg" width="7.424" height="16" viewBox="0 0 7.424 16"><title>Facebook</title><path d="M7.131,8.009H4.9V16H1.573V8.009H0V5.193H1.573V3.365A3.957,3.957,0,0,1,1.829,1.92,2.807,2.807,0,0,1,2.834.585,3.511,3.511,0,0,1,4.919,0L7.387.018V2.761H5.6a.709.709,0,0,0-.457.146.77.77,0,0,0-.238.622V5.193H7.424Z" fill="#fff"/></svg>
  22.                     </a>
  23.                 {% endif %}
  24.                 {% if twitter %}
  25.                     <a href="{{ twitter }}" class="social_tt" rel="noopener" target="_blank">
  26.                         <svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 1200 1227" fill="none">
  27.                             <title>Twitter</title><path d="M714.163 519.284L1160.89 0H1055.03L667.137 450.887L357.328 0H0L468.492 681.821L0 1226.37H105.866L515.491 750.218L842.672 1226.37H1200L714.137 519.284H714.163ZM569.165 687.828L521.697 619.934L144.011 79.6944H306.615L611.412 515.685L658.88 583.579L1055.08 1150.3H892.476L569.165 687.854V687.828Z" fill="white"/>
  28.                         </svg>
  29.                     </a>
  30.                 {% endif %}
  31.                 {% if youtube %}
  32.                     <a href="{{ youtube }}" class="social_yt" rel="noopener" target="_blank">
  33.                         <svg xmlns="http://www.w3.org/2000/svg" width="13.309" height="16" viewBox="0 0 13.309 16"><title>YouTube</title><path d="M895.7,1367.1a4.175,4.175,0,0,1-.338,1.437,1.6,1.6,0,0,1-.723.723,1.872,1.872,0,0,1-.54.174q-.284.045-1.034.1-.806.036-3.312.055t-3.614-.018q-1.108-.037-1.693-.11a3.343,3.343,0,0,1-.924-.247,1.409,1.409,0,0,1-.54-.467,2.826,2.826,0,0,1-.229-.54,4.678,4.678,0,0,1-.174-.668,20.986,20.986,0,0,1-.119-2.946,14.04,14.04,0,0,1,.21-2.635,2,2,0,0,1,.576-1.079,1.889,1.889,0,0,1,1.116-.43q.7-.064,2.333-.1t3.385-.018a30.689,30.689,0,0,1,4.209.192,1.54,1.54,0,0,1,.952.658,3.43,3.43,0,0,1,.439,1.474q.055.457.073,1.9A22.032,22.032,0,0,1,895.7,1367.1Zm-9.332-4.392v-.842h-2.8v.842h.933v5.123h.9v-5.123h.97Zm-1.409-9.095.439-.018a1.308,1.308,0,0,1,.467.037q.027.037.32,1.135t.311,1.1q.018,0,.256-.915l.384-1.354h.458c.195,0,.323,0,.384.01s.085.021.073.046l-1.1,3.5v2.452h-.9v-2.47Zm3.642,9.772h-.842v3.385l-.2.2a.653.653,0,0,1-.247.183.164.164,0,0,1-.155-.055.729.729,0,0,1-.064-.375q-.01-.319-.009-1.528v-1.811h-.842v1.921q0,1.153.018,1.555a2.513,2.513,0,0,0,.055.659.52.52,0,0,0,.174.256.622.622,0,0,0,.357.1.733.733,0,0,0,.375-.065,1.784,1.784,0,0,0,.338-.256l.2-.183v.457h.842v-4.446Zm-.595-4.429a1.609,1.609,0,0,1-.082-.512q-.019-.275-.018-1.07t.018-1.089a1.726,1.726,0,0,1,.082-.522,1.421,1.421,0,0,1,.211-.339.989.989,0,0,1,.54-.32,1.341,1.341,0,0,1,.677.009,1.047,1.047,0,0,1,.54.329,1.222,1.222,0,0,1,.2.339,2.059,2.059,0,0,1,.073.522q.018.293.018,1.061,0,.861-.018,1.125a3.039,3.039,0,0,1-.055.43,1.27,1.27,0,0,1-.3.421,1.2,1.2,0,0,1-.833.339,1.744,1.744,0,0,1-.384-.083.939.939,0,0,1-.439-.311A1.341,1.341,0,0,1,888,1358.961Zm.723-1.592q0,.787.018,1.061a.891.891,0,0,0,.082.4.282.282,0,0,0,.247.091.54.54,0,0,0,.174-.028.2.2,0,0,0,.119-.137,1.953,1.953,0,0,0,.055-.421q.018-.274.018-.952a7.97,7.97,0,0,0-.055-1.372.341.341,0,0,0-.6,0A7.578,7.578,0,0,0,888.723,1357.369Zm2.91,6.881a1.657,1.657,0,0,0-.165-.622.66.66,0,0,0-.238-.229.592.592,0,0,0-.3-.1.8.8,0,0,0-.32.083,1.089,1.089,0,0,0-.329.229l-.22.183v-1.922h-.805v5.965h.805v-.4l.183.165a1.269,1.269,0,0,0,.329.229.844.844,0,0,0,.375.055.783.783,0,0,0,.357-.083.658.658,0,0,0,.238-.293,1.2,1.2,0,0,0,.092-.384q.018-.22.018-1.3C891.663,1365.032,891.657,1364.506,891.633,1364.25Zm-.887-.009a1.748,1.748,0,0,1,.064.448v1.025l-.018,1.244-.128.11a.319.319,0,0,1-.192.091.582.582,0,0,1-.247-.091l-.165-.091v-2.727l.2-.11c.085-.036.146-.061.183-.073a.22.22,0,0,1,.146.018A.247.247,0,0,1,890.745,1364.24Zm.192-5.343q-.019-.338-.018-1.765l-.018-2.031h.842v1.866q0,1.208.018,1.547a.978.978,0,0,0,.055.375c.11.086.256.03.439-.165l.164-.164V1355.1h.842v4.5h-.842v-.458l-.219.183a1.134,1.134,0,0,1-.339.256.905.905,0,0,1-.339.055.619.619,0,0,1-.311-.064.578.578,0,0,1-.2-.229A1.344,1.344,0,0,1,890.938,1358.9Zm3.733,7.384h-.878v.274a1.3,1.3,0,0,1-.037.357.378.378,0,0,1-.156.2.275.275,0,0,1-.256.036.427.427,0,0,1-.229-.192.949.949,0,0,1-.055-.238,4.05,4.05,0,0,1-.018-.458v-.512h1.61v-.659a3.751,3.751,0,0,0-.073-.887,1.23,1.23,0,0,0-.265-.485,1.168,1.168,0,0,0-.4-.311,1.084,1.084,0,0,0-.5-.073,1.324,1.324,0,0,0-.439.064,1.1,1.1,0,0,0-.366.229,1,1,0,0,0-.265.366,2.217,2.217,0,0,0-.119.6q-.018.367-.018,1.153.018.732.037,1a1.076,1.076,0,0,0,.073.375,1.132,1.132,0,0,0,.567.641,1.074,1.074,0,0,0,.549.128,1.426,1.426,0,0,0,.549-.092,1.021,1.021,0,0,0,.485-.411,1.563,1.563,0,0,0,.174-.723Zm-1.629-1.208v-.329a.953.953,0,0,1,.119-.567.364.364,0,0,1,.384-.091c.176.036.265.256.265.658v.329Z" transform="translate(-882.451 -1353.599)" fill="#fff"/></svg>
  34.                     </a>
  35.                 {% endif %}
  36.                 {% if instagram %}
  37.                     <a href="{{ instagram }}" class="social_ig" rel="noopener" target="_blank">
  38.                         <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><title>Instagram</title><g transform="translate(-1104 -727)"><path d="M760.838,1001.131H754.7a4.93,4.93,0,0,0-4.93,4.93v6.14a4.93,4.93,0,0,0,4.93,4.929h6.141a4.929,4.929,0,0,0,4.93-4.929v-6.14A4.93,4.93,0,0,0,760.838,1001.131Zm3.394,10.481a3.983,3.983,0,0,1-3.983,3.983h-4.962a3.983,3.983,0,0,1-3.984-3.983v-4.962a3.984,3.984,0,0,1,3.984-3.983h4.962a3.984,3.984,0,0,1,3.983,3.983Z" transform="translate(354.233 -274.131)" fill="#fff"/><path d="M787.149,1032.755a4.214,4.214,0,1,0,4.214,4.214A4.214,4.214,0,0,0,787.149,1032.755Zm0,6.75a2.536,2.536,0,1,1,2.535-2.535A2.536,2.536,0,0,1,787.149,1039.5Z" transform="translate(325.066 -301.941)" fill="#fff"/><path d="M843.67,1024.389a1.072,1.072,0,1,1-1.072-1.072A1.072,1.072,0,0,1,843.67,1024.389Z" transform="translate(273.539 -293.641)" fill="#fff"/></g></svg>
  39.                     </a>
  40.                 {% endif %}
  41.                 {% if rss %}
  42.                     <a href="{{ rss }}" class="social_rss" rel="noopener" target="_blank">
  43.                         <svg xmlns="http://www.w3.org/2000/svg" width="15.946" height="16" viewBox="0 0 15.946 16"><title>Kanał RSS</title><g transform="translate(-1095.31 -849.073)"><path d="M1095.31,854.522a10.413,10.413,0,0,1,7.442,3.09,10.7,10.7,0,0,1,3.09,7.46h-3.072a7.5,7.5,0,0,0-2.185-5.3,7.374,7.374,0,0,0-5.275-2.194Zm3.968,7.351a2.157,2.157,0,0,0-.777-.777,2.066,2.066,0,0,0-1.061-.283,2.114,2.114,0,0,0-1.07.283,2.062,2.062,0,0,0-.777.777,2.113,2.113,0,0,0-.283,1.07,2.062,2.062,0,0,0,.283,1.06,2.156,2.156,0,0,0,.777.777,2.06,2.06,0,0,0,1.07.293,2.013,2.013,0,0,0,1.061-.293,2.26,2.26,0,0,0,.777-.777,2.083,2.083,0,0,0,0-2.13Zm-3.949-12.8a15.53,15.53,0,0,1,6.181,1.262,16.048,16.048,0,0,1,9.746,14.738h-3.072a12.955,12.955,0,0,0-7.863-11.9,12.573,12.573,0,0,0-4.992-1.024v-3.072Z" transform="translate(0)" fill="#fff"/></g></svg>
  44.                     </a>
  45.                 {% endif %}
  46.                 {% if bip %}
  47.                     <a href="{{ bip }}" class="social_bip" rel="noopener" target="_blank">
  48.                         <svg xmlns="http://www.w3.org/2000/svg" width="37.398" height="16" viewBox="0 0 37.398 16"><title>Biuletyn Informacji Publicznej Urzędu Miasta Gdyni</title><g transform="translate(-999.255 -473.889)"><path d="M999.255,477.961l8.718,8.85v-8.85Z" transform="translate(0 -0.717)" fill="#fff"/><path d="M1018.77,477.244a4.738,4.738,0,0,0-2.451.7v-2.883a1.17,1.17,0,0,0-2.34,0v6.978a4.792,4.792,0,1,0,4.791-4.792m0,7.242a2.451,2.451,0,1,1,2.451-2.45,2.454,2.454,0,0,1-2.451,2.45m7.2-8.019a1.287,1.287,0,1,0-1.286-1.286,1.286,1.286,0,0,0,1.286,1.286m1.8,8.138c-.159-.078-.634-.321-.634-2.181v-4a1.17,1.17,0,1,0-2.339,0v4c0,1.417.2,3.4,1.92,4.273a1.171,1.171,0,0,0,1.053-2.092m6.679-7.367a4.8,4.8,0,0,0-4.791,4.79v6.69a1.171,1.171,0,0,0,2.342,0v-2.594a4.74,4.74,0,0,0,2.45.7,4.791,4.791,0,1,0,0-9.582m0,7.242a2.45,2.45,0,1,1,2.45-2.451,2.451,2.451,0,0,1-2.45,2.451" transform="translate(-2.592)" fill="#fff"/></g></svg>
  49.                     </a>
  50.                 {% endif %}
  51.             </div>
  52.             <div class="header__toolbar-lang">
  53.                 <a href="#">
  54.                     <svg xmlns="http://www.w3.org/2000/svg" width="33.4" height="16" viewBox="0 0 33.4 16"><title>Tłumaczenie strony</title><g transform="translate(-1768 -17)"><path d="M2.4,2.4A7.263,7.263,0,0,1,8,0a7.263,7.263,0,0,1,5.6,2.4A7.263,7.263,0,0,1,16,8a7.263,7.263,0,0,1-2.4,5.6A7.263,7.263,0,0,1,8,16a7.263,7.263,0,0,1-5.6-2.4A7.984,7.984,0,0,1,0,8,7.263,7.263,0,0,1,2.4,2.4Zm6.667,12a3.276,3.276,0,0,0,2-1.2A5.824,5.824,0,0,0,12,10.4a2.208,2.208,0,0,0-.667-1.6A2.347,2.347,0,0,0,9.6,8H8.267a3.893,3.893,0,0,1-1.2-.267,1.21,1.21,0,0,1-.4-.933.693.693,0,0,1,.267-.533A1.011,1.011,0,0,1,7.467,6a.91.91,0,0,1,.667.4c.267.133.4.267.533.267A.8.8,0,0,0,9.2,6.533.8.8,0,0,0,9.333,6a2.122,2.122,0,0,0-.667-1.333,5.515,5.515,0,0,0,.667-2.533.287.287,0,0,0-.267-.267A4.122,4.122,0,0,0,8,1.6,6.67,6.67,0,0,0,4.533,2.667a3.357,3.357,0,0,0-1.2,2.667A3.414,3.414,0,0,0,4.4,7.867,3.643,3.643,0,0,0,6.933,8.933h0v.533A1.712,1.712,0,0,0,7.467,10.8a1.942,1.942,0,0,0,1.2.8V14c0,.133,0,.133.133.267S8.933,14.4,9.067,14.4Z" transform="translate(1768 17)" fill="#fff"/><path d="M6.7,8.1,2,3.4,3.4,2,6.7,5.3,10,2l1.4,1.4Z" transform="translate(1790 20)" fill="#fff"/></g></svg>
  55.                 </a>
  56.                 <ul class="list-unstyled ct-language__dropdown">
  57.                     <li><a href="#googtrans(pl|af)" class="lang-af lang-select" data-lang="af">Afrikaans</a>
  58.                     </li>
  59.                     <li><a href="#googtrans(pl|ak)" class="lang-ak lang-select" data-lang="ak">Akan</a></li>
  60.                     <li><a href="#googtrans(pl|sq)" class="lang-sq lang-select" data-lang="sq">Albanian</a></li>
  61.                     <li><a href="#googtrans(pl|am)" class="lang-am lang-select" data-lang="am">Amharic</a></li>
  62.                     <li><a href="#googtrans(pl|ar)" class="lang-ar lang-select" data-lang="ar">Arabic</a></li>
  63.                     <li><a href="#googtrans(pl|hy)" class="lang-hy lang-select" data-lang="hy">Armenian</a></li>
  64.                     <li><a href="#googtrans(pl|az)" class="lang-az lang-select" data-lang="az">Azerbaijani</a>
  65.                     </li>
  66.                     <li><a href="#googtrans(pl|eu)" class="lang-eu lang-select" data-lang="eu">Basque</a></li>
  67.                     <li><a href="#googtrans(pl|be)" class="lang-be lang-select" data-lang="be">Belarusian</a>
  68.                     </li>
  69.                     <li><a href="#googtrans(pl|be)" class="lang-be lang-select" data-lang="bem">Bemba</a></li>
  70.                     <li><a href="#googtrans(pl|bn)" class="lang-bn lang-select" data-lang="bn">Bengali</a></li>
  71.                     <li><a href="#googtrans(pl|bh)" class="lang-bh lang-select" data-lang="bh">Bihari</a></li>
  72.                     <li><a href="#googtrans(pl|bs)" class="lang-bs lang-select" data-lang="bs">Bosnian</a></li>
  73.                     <li><a href="#googtrans(pl|br)" class="lang-br lang-select" data-lang="br">Breton</a></li>
  74.                     <li><a href="#googtrans(pl|bg)" class="lang-bg lang-select" data-lang="bg">Bulgarian</a>
  75.                     </li>
  76.                     <li><a href="#googtrans(pl|km)" class="lang-km lang-select" data-lang="km">Cambodian</a>
  77.                     </li>
  78.                     <li><a href="#googtrans(pl|ca)" class="lang-ca lang-select" data-lang="ca">Catalan</a></li>
  79.                     <li><a href="#googtrans(pl|ch)" class="lang-ch lang-select" data-lang="chr">Cherokee</a>
  80.                     </li>
  81.                     <li><a href="#googtrans(pl|ny)" class="lang-ny lang-select" data-lang="ny">Chichewa</a></li>
  82.                     <li><a href="#googtrans(pl|zh)" class="lang-zh lang-select" data-lang="zh-CN">Chinese
  83.                             (Simplified)</a></li>
  84.                     <li><a href="#googtrans(pl|zh)" class="lang-zh lang-select" data-lang="zh-TW">Chinese
  85.                             (Traditional)</a></li>
  86.                     <li><a href="#googtrans(pl|co)" class="lang-co lang-select" data-lang="co">Corsican</a></li>
  87.                     <li><a href="#googtrans(pl|hr)" class="lang-hr lang-select" data-lang="hr">Croatian</a></li>
  88.                     <li><a href="#googtrans(pl|cs)" class="lang-cs lang-select" data-lang="cs">Czech</a></li>
  89.                     <li><a href="#googtrans(pl|da)" class="lang-da lang-select" data-lang="da">Danish</a></li>
  90.                     <li><a href="#googtrans(pl|nl)" class="lang-nl lang-select" data-lang="nl">Dutch</a></li>
  91.                     <li><a href="#googtrans(pl|en)" class="lang-en lang-select" data-lang="en">English</a></li>
  92.                     <li><a href="#googtrans(pl|eo)" class="lang-eo lang-select" data-lang="eo">Esperanto</a>
  93.                     </li>
  94.                     <li><a href="#googtrans(pl|et)" class="lang-et lang-select" data-lang="et">Estonian</a></li>
  95.                     <li><a href="#googtrans(pl|ee)" class="lang-ee lang-select" data-lang="ee">Ewe</a></li>
  96.                     <li><a href="#googtrans(pl|fo)" class="lang-fo lang-select" data-lang="fo">Faroese</a></li>
  97.                     <li><a href="#googtrans(pl|tl)" class="lang-tl lang-select" data-lang="tl">Filipino</a></li>
  98.                     <li><a href="#googtrans(pl|fi)" class="lang-fi lang-select" data-lang="fi">Finnish</a></li>
  99.                     <li><a href="#googtrans(pl|fr)" class="lang-fr lang-select" data-lang="fr">French</a></li>
  100.                     <li><a href="#googtrans(pl|fy)" class="lang-fy lang-select" data-lang="fy">Frisian</a></li>
  101.                     <li><a href="#googtrans(pl|ga)" class="lang-ga lang-select" data-lang="gaa">Ga</a></li>
  102.                     <li><a href="#googtrans(pl|gl)" class="lang-gl lang-select" data-lang="gl">Galician</a></li>
  103.                     <li><a href="#googtrans(pl|ka)" class="lang-ka lang-select" data-lang="ka">Georgian</a></li>
  104.                     <li><a href="#googtrans(pl|de)" class="lang-de lang-select" data-lang="de">German</a></li>
  105.                     <li><a href="#googtrans(pl|el)" class="lang-el lang-select" data-lang="el">Greek</a></li>
  106.                     <li><a href="#googtrans(pl|gn)" class="lang-gn lang-select" data-lang="gn">Guarani</a></li>
  107.                     <li><a href="#googtrans(pl|gu)" class="lang-gu lang-select" data-lang="gu">Gujarati</a></li>
  108.                     <li><a href="#googtrans(pl|ht)" class="lang-ht lang-select" data-lang="ht">Haitian
  109.                             Creole</a></li>
  110.                     <li><a href="#googtrans(pl|ha)" class="lang-ha lang-select" data-lang="ha">Hausa</a></li>
  111.                     <li><a href="#googtrans(pl|ha)" class="lang-ha lang-select" data-lang="haw">Hawaiian</a>
  112.                     </li>
  113.                     <li><a href="#googtrans(pl|iw)" class="lang-iw lang-select" data-lang="iw">Hebrew</a></li>
  114.                     <li><a href="#googtrans(pl|hi)" class="lang-hi lang-select" data-lang="hi">Hindi</a></li>
  115.                     <li><a href="#googtrans(pl|hu)" class="lang-hu lang-select" data-lang="hu">Hungarian</a>
  116.                     </li>
  117.                     <li><a href="#googtrans(pl|is)" class="lang-is lang-select" data-lang="is">Icelandic</a>
  118.                     </li>
  119.                     <li><a href="#googtrans(pl|ig)" class="lang-ig lang-select" data-lang="ig">Igbo</a></li>
  120.                     <li><a href="#googtrans(pl|id)" class="lang-id lang-select" data-lang="id">Indonesian</a>
  121.                     </li>
  122.                     <li><a href="#googtrans(pl|ia)" class="lang-ia lang-select" data-lang="ia">Interlingua</a>
  123.                     </li>
  124.                     <li><a href="#googtrans(pl|ga)" class="lang-ga lang-select" data-lang="ga">Irish</a></li>
  125.                     <li><a href="#googtrans(pl|it)" class="lang-it lang-select" data-lang="it">Italian</a></li>
  126.                     <li><a href="#googtrans(pl|ja)" class="lang-ja lang-select" data-lang="ja">Japanese</a></li>
  127.                     <li><a href="#googtrans(pl|jw)" class="lang-jw lang-select" data-lang="jw">Javanese</a></li>
  128.                     <li><a href="#googtrans(pl|kn)" class="lang-kn lang-select" data-lang="kn">Kannada</a></li>
  129.                     <li><a href="#googtrans(pl|kk)" class="lang-kk lang-select" data-lang="kk">Kazakh</a></li>
  130.                     <li><a href="#googtrans(pl|rw)" class="lang-rw lang-select" data-lang="rw">Kinyarwanda</a>
  131.                     </li>
  132.                     <li><a href="#googtrans(pl|rn)" class="lang-rn lang-select" data-lang="rn">Kirundi</a></li>
  133.                     <li><a href="#googtrans(pl|kg)" class="lang-kg lang-select" data-lang="kg">Kongo</a></li>
  134.                     <li><a href="#googtrans(pl|ko)" class="lang-ko lang-select" data-lang="ko">Korean</a></li>
  135.                     <li><a href="#googtrans(pl|kr)" class="lang-kr lang-select" data-lang="kri">Krio (Sierra
  136.                             Leone)</a></li>
  137.                     <li><a href="#googtrans(pl|ku)" class="lang-ku lang-select" data-lang="ku">Kurdish</a></li>
  138.                     <li><a href="#googtrans(pl|ck)" class="lang-ck lang-select" data-lang="ckb">Kurdish
  139.                             (Soranî)</a></li>
  140.                     <li><a href="#googtrans(pl|ky)" class="lang-ky lang-select" data-lang="ky">Kyrgyz</a></li>
  141.                     <li><a href="#googtrans(pl|lo)" class="lang-lo lang-select" data-lang="lo">Laothian</a></li>
  142.                     <li><a href="#googtrans(pl|la)" class="lang-la lang-select" data-lang="la">Latin</a></li>
  143.                     <li><a href="#googtrans(pl|lv)" class="lang-lv lang-select" data-lang="lv">Latvian</a></li>
  144.                     <li><a href="#googtrans(pl|ln)" class="lang-ln lang-select" data-lang="ln">Lingala</a></li>
  145.                     <li><a href="#googtrans(pl|lt)" class="lang-lt lang-select" data-lang="lt">Lithuanian</a>
  146.                     </li>
  147.                     <li><a href="#googtrans(pl|lo)" class="lang-lo lang-select" data-lang="loz">Lozi</a></li>
  148.                     <li><a href="#googtrans(pl|lg)" class="lang-lg lang-select" data-lang="lg">Luganda</a></li>
  149.                     <li><a href="#googtrans(pl|ac)" class="lang-ac lang-select" data-lang="ach">Luo</a></li>
  150.                     <li><a href="#googtrans(pl|mk)" class="lang-mk lang-select" data-lang="mk">Macedonian</a>
  151.                     </li>
  152.                     <li><a href="#googtrans(pl|mg)" class="lang-mg lang-select" data-lang="mg">Malagasy</a></li>
  153.                     <li><a href="#googtrans(pl|ms)" class="lang-ms lang-select" data-lang="ms">Malay</a></li>
  154.                     <li><a href="#googtrans(pl|ml)" class="lang-ml lang-select" data-lang="ml">Malayalam</a>
  155.                     </li>
  156.                     <li><a href="#googtrans(pl|mt)" class="lang-mt lang-select" data-lang="mt">Maltese</a></li>
  157.                     <li><a href="#googtrans(pl|mi)" class="lang-mi lang-select" data-lang="mi">Maori</a></li>
  158.                     <li><a href="#googtrans(pl|mr)" class="lang-mr lang-select" data-lang="mr">Marathi</a></li>
  159.                     <li><a href="#googtrans(pl|mf)" class="lang-mf lang-select" data-lang="mfe">Mauritian
  160.                             Creole</a></li>
  161.                     <li><a href="#googtrans(pl|mo)" class="lang-mo lang-select" data-lang="mo">Moldavian</a>
  162.                     </li>
  163.                     <li><a href="#googtrans(pl|mn)" class="lang-mn lang-select" data-lang="mn">Mongolian</a>
  164.                     </li>
  165.                     <li><a href="#googtrans(pl|sr)" class="lang-sr lang-select"
  166.                            data-lang="sr-ME">Montenegrin</a></li>
  167.                     <li><a href="#googtrans(pl|ne)" class="lang-ne lang-select" data-lang="ne">Nepali</a></li>
  168.                     <li><a href="#googtrans(pl|pc)" class="lang-pc lang-select" data-lang="pcm">Nigerian
  169.                             Pidgin</a></li>
  170.                     <li><a href="#googtrans(pl|ns)" class="lang-ns lang-select" data-lang="nso">Northern
  171.                             Sotho</a></li>
  172.                     <li><a href="#googtrans(pl|no)" class="lang-no lang-select" data-lang="no">Norwegian</a>
  173.                     </li>
  174.                     <li><a href="#googtrans(pl|nn)" class="lang-nn lang-select" data-lang="nn">Norwegian
  175.                             (Nynorsk)</a></li>
  176.                     <li><a href="#googtrans(pl|oc)" class="lang-oc lang-select" data-lang="oc">Occitan</a></li>
  177.                     <li><a href="#googtrans(pl|or)" class="lang-or lang-select" data-lang="or">Oriya</a></li>
  178.                     <li><a href="#googtrans(pl|om)" class="lang-om lang-select" data-lang="om">Oromo</a></li>
  179.                     <li><a href="#googtrans(pl|ps)" class="lang-ps lang-select" data-lang="ps">Pashto</a></li>
  180.                     <li><a href="#googtrans(pl|fa)" class="lang-fa lang-select" data-lang="fa">Persian</a></li>
  181.                     <li><a href="#googtrans(pl|pl)" class="lang-pl lang-select" data-lang="pl">Polish</a></li>
  182.                     <li><a href="#googtrans(pl|pt)" class="lang-pt lang-select" data-lang="pt-BR">Portuguese
  183.                             (Brazil)</a></li>
  184.                     <li><a href="#googtrans(pl|pt)" class="lang-pt lang-select" data-lang="pt-PT">Portuguese
  185.                             (Portugal)</a></li>
  186.                     <li><a href="#googtrans(pl|pa)" class="lang-pa lang-select" data-lang="pa">Punjabi</a></li>
  187.                     <li><a href="#googtrans(pl|qu)" class="lang-qu lang-select" data-lang="qu">Quechua</a></li>
  188.                     <li><a href="#googtrans(pl|ro)" class="lang-ro lang-select" data-lang="ro">Romanian</a></li>
  189.                     <li><a href="#googtrans(pl|rm)" class="lang-rm lang-select" data-lang="rm">Romansh</a></li>
  190.                     <li><a href="#googtrans(pl|ny)" class="lang-ny lang-select" data-lang="nyn">Runyakitara</a>
  191.                     </li>
  192.                     <li><a href="#googtrans(pl|ru)" class="lang-ru lang-select" data-lang="ru">Russian</a></li>
  193.                     <li><a href="#googtrans(pl|gd)" class="lang-gd lang-select" data-lang="gd">Scots Gaelic</a>
  194.                     </li>
  195.                     <li><a href="#googtrans(pl|sr)" class="lang-sr lang-select" data-lang="sr">Serbian</a></li>
  196.                     <li><a href="#googtrans(pl|sh)" class="lang-sh lang-select"
  197.                            data-lang="sh">Serbo-Croatian</a></li>
  198.                     <li><a href="#googtrans(pl|st)" class="lang-st lang-select" data-lang="st">Sesotho</a></li>
  199.                     <li><a href="#googtrans(pl|tn)" class="lang-tn lang-select" data-lang="tn">Setswana</a></li>
  200.                     <li><a href="#googtrans(pl|cr)" class="lang-cr lang-select" data-lang="crs">Seychellois
  201.                             Creole</a></li>
  202.                     <li><a href="#googtrans(pl|sn)" class="lang-sn lang-select" data-lang="sn">Shona</a></li>
  203.                     <li><a href="#googtrans(pl|sd)" class="lang-sd lang-select" data-lang="sd">Sindhi</a></li>
  204.                     <li><a href="#googtrans(pl|si)" class="lang-si lang-select" data-lang="si">Sinhalese</a>
  205.                     </li>
  206.                     <li><a href="#googtrans(pl|sk)" class="lang-sk lang-select" data-lang="sk">Slovak</a></li>
  207.                     <li><a href="#googtrans(pl|sl)" class="lang-sl lang-select" data-lang="sl">Slovenian</a>
  208.                     </li>
  209.                     <li><a href="#googtrans(pl|so)" class="lang-so lang-select" data-lang="so">Somali</a></li>
  210.                     <li><a href="#googtrans(pl|es)" class="lang-es lang-select" data-lang="es">Spanish</a></li>
  211.                     <li><a href="#googtrans(pl|es)" class="lang-es lang-select" data-lang="es-419">Spanish
  212.                             (Latin American)</a></li>
  213.                     <li><a href="#googtrans(pl|su)" class="lang-su lang-select" data-lang="su">Sundanese</a>
  214.                     </li>
  215.                     <li><a href="#googtrans(pl|sw)" class="lang-sw lang-select" data-lang="sw">Swahili</a></li>
  216.                     <li><a href="#googtrans(pl|sv)" class="lang-sv lang-select" data-lang="sv">Swedish</a></li>
  217.                     <li><a href="#googtrans(pl|tg)" class="lang-tg lang-select" data-lang="tg">Tajik</a></li>
  218.                     <li><a href="#googtrans(pl|ta)" class="lang-ta lang-select" data-lang="ta">Tamil</a></li>
  219.                     <li><a href="#googtrans(pl|tt)" class="lang-tt lang-select" data-lang="tt">Tatar</a></li>
  220.                     <li><a href="#googtrans(pl|te)" class="lang-te lang-select" data-lang="te">Telugu</a></li>
  221.                     <li><a href="#googtrans(pl|th)" class="lang-th lang-select" data-lang="th">Thai</a></li>
  222.                     <li><a href="#googtrans(pl|ti)" class="lang-ti lang-select" data-lang="ti">Tigrinya</a></li>
  223.                     <li><a href="#googtrans(pl|to)" class="lang-to lang-select" data-lang="to">Tonga</a></li>
  224.                     <li><a href="#googtrans(pl|lu)" class="lang-lu lang-select" data-lang="lua">Tshiluba</a>
  225.                     </li>
  226.                     <li><a href="#googtrans(pl|tu)" class="lang-tu lang-select" data-lang="tum">Tumbuka</a></li>
  227.                     <li><a href="#googtrans(pl|tr)" class="lang-tr lang-select" data-lang="tr">Turkish</a></li>
  228.                     <li><a href="#googtrans(pl|tk)" class="lang-tk lang-select" data-lang="tk">Turkmen</a></li>
  229.                     <li><a href="#googtrans(pl|tw)" class="lang-tw lang-select" data-lang="tw">Twi</a></li>
  230.                     <li><a href="#googtrans(pl|ug)" class="lang-ug lang-select" data-lang="ug">Uighur</a></li>
  231.                     <li><a href="#googtrans(pl|uk)" class="lang-uk lang-select" data-lang="uk">Ukrainian</a>
  232.                     </li>
  233.                     <li><a href="#googtrans(pl|ur)" class="lang-ur lang-select" data-lang="ur">Urdu</a></li>
  234.                     <li><a href="#googtrans(pl|uz)" class="lang-uz lang-select" data-lang="uz">Uzbek</a></li>
  235.                     <li><a href="#googtrans(pl|vi)" class="lang-vi lang-select" data-lang="vi">Vietnamese</a>
  236.                     </li>
  237.                     <li><a href="#googtrans(pl|cy)" class="lang-cy lang-select" data-lang="cy">Welsh</a></li>
  238.                     <li><a href="#googtrans(pl|wo)" class="lang-wo lang-select" data-lang="wo">Wolof</a></li>
  239.                     <li><a href="#googtrans(pl|xh)" class="lang-xh lang-select" data-lang="xh">Xhosa</a></li>
  240.                     <li><a href="#googtrans(pl|yi)" class="lang-yi lang-select" data-lang="yi">Yiddish</a></li>
  241.                     <li><a href="#googtrans(pl|yo)" class="lang-yo lang-select" data-lang="yo">Yoruba</a></li>
  242.                     <li><a href="#googtrans(pl|zu)" class="lang-zu lang-select" data-lang="zu">Zulu</a></li>
  243.                 </ul>
  244.                 {# Language nav #}
  245.                 {% set langs = get_locales() %}
  246.                 {% if langs|length > 1 %}
  247.                     <div class="language-nav">
  248.                     <span class="language-nav__active-lang">
  249.                         {{ app.request.locale }}
  250.                     </span>
  251.                         <nav>
  252.                             {% for lang in langs %}
  253.                                 {% if lang != app.request.locale %}
  254.                                     <a href="{{ path('_slug', { '_locale': lang }) }}" class="language-nav__link">
  255.                                         {{ lang }}
  256.                                     </a>
  257.                                 {% endif %}
  258.                             {% endfor %}
  259.                         </nav>
  260.                     </div>
  261.                 {% endif %}
  262.             </div>
  263.             <div class="header__toolbar-search">
  264.                 {% set searchPageNode = nodemenu.getNodeByInternalName('search') %}
  265.                 {% if searchPageNode %}
  266.                     <form method="get" action="{{ path('_slug', { 'url': searchPageNode.slug }) }}"
  267.                           class="searchbox-form js-searchbox-form pull-left" autocomplete="off">
  268.                         <div class="searchbox">
  269.                             <div class="searchbox__content js-searchbox-content">
  270.                                 <label for="query" style="display: none">Wyszukiwarka</label>
  271.                                 <input type="text" name="query" id="query"
  272.                                        value="{% if q_query is defined and q_query != '' %}{{ q_query }}{% endif %}"
  273.                                        placeholder="{{ 'search.title'|trans }}" title="{{ 'search.title'|trans }}" class="searchbox__input" aria-label="Search">
  274.                             </div>
  275.                         </div>
  276.                         <button type='submit' class="header__toolbar-search-toggle"  aria-label="{{ 'searchButton.title'|trans }}"></button>
  277.                     </form>
  278.                 {% endif %}
  279.             </div>
  280.             <div class="header__toolbar-menu">
  281.                 <a href="#"><i class="fas fa-bars"></i></a>
  282.             </div>
  283.         </div>
  284.         <nav class="header__menu main-nav">
  285.             {{ get_menu('main_navigation', app.request.locale, {'activeClass': 'active', 'rootOpen': '<ul class="header-nav__list">', 'childOpen': '<li class="header-nav__list-item">'}) }}
  286.             {#            <ul>#}
  287.             {#                {% set activeSubnode = nodemenu.getActiveForDepth(1) %}#}
  288.             {#                {% for node in activeSubnode.children %}#}
  289.             {#                    {% if not node.node.isHiddenFromNav() %}#}
  290.             {#                        <li {% if(node.active) %}class="active"{% endif %}>#}
  291.             {#                            <a href="{{ path('_slug', { 'url': node.slug }) }}" class="main-nav__link {% if(node.active) %}main-nav__link--active{% endif %}">#}
  292.             {#                                {{ node.title }}#}
  293.             {#                            </a>#}
  294.             {#                            {% if 'ContentPage' in node.node.refEntityName and node.children|length >0  %}#}
  295.             {#                                <ul class="main-nav__subitems">#}
  296.             {#                                    {% for node2 in node.children | slice(0, 3) %}#}
  297.             {#                                        {% if not node.node.isHiddenFromNav() %}#}
  298.             {#                                            <li {% if(node.active) %}class="active"{% endif %}>#}
  299.             {#                                                <a href="{{ path('_slug', { 'url': node2.slug }) }}" class="main-nav__subitem">#}
  300.             {#                                                    {{ node2.title }}#}
  301.             {#                                                </a>#}
  302.             {#                                            </li>#}
  303.             {#                                        {% endif %}#}
  304.             {#                                    {% endfor %}#}
  305.             {#                                </ul>#}
  306.             {#                            {% endif %}#}
  307.             {#                        </li>#}
  308.             {#                    {% endif %}#}
  309.             {#                {% endfor %}#}
  310.             {#            </ul>#}
  311.         </nav>
  312.         <div class="header__logo">
  313.             {% set homepagePageNode = nodemenu.getNodeByInternalName('homepage') %}
  314.             <a href="{{ path('_slug', { 'url': homepagePageNode.slug }) }}">
  315.                 <img src="{{ asset('/frontend/img/general/logo.svg') }}" alt="Gdyńskie Centrum Sportu"/>
  316.             </a>
  317.         </div>
  318.     </div>
  319. {% endif %}