jekyll-theme-pirati-sk 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (240) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +187 -0
  3. data/_data/campaigns.yml +19 -0
  4. data/_data/menu.yml +80 -0
  5. data/_data/parties.yml +7 -0
  6. data/_includes/404.html +4 -0
  7. data/_includes/accordeon/accordeon.html +10 -0
  8. data/_includes/article-box/article-box.html +15 -0
  9. data/_includes/article-box/list.html +11 -0
  10. data/_includes/article-infobox.html +5 -0
  11. data/_includes/articles/author.html +8 -0
  12. data/_includes/articles/horizontal-article.html +52 -0
  13. data/_includes/articles/list-responsive.html +5 -0
  14. data/_includes/articles/pagination.html +26 -0
  15. data/_includes/articles/tag-filtered-news.html +16 -0
  16. data/_includes/articles/vertical-article.html +72 -0
  17. data/_includes/avatar.html +9 -0
  18. data/_includes/buttons/basic.html +3 -0
  19. data/_includes/buttons/icon.html +8 -0
  20. data/_includes/buttons/super.html +4 -0
  21. data/_includes/calendar.html +21 -0
  22. data/_includes/candidate-badge.html +57 -0
  23. data/_includes/contact-line.html +4 -0
  24. data/_includes/contacts/residence.html +31 -0
  25. data/_includes/contacts/summary-table.html +64 -0
  26. data/_includes/countdown.html +13 -0
  27. data/_includes/disqus_comments.html +20 -0
  28. data/_includes/elections-header.html +21 -0
  29. data/_includes/footer.html +138 -0
  30. data/_includes/google-analytics.html +12 -0
  31. data/_includes/head-custom.html +0 -0
  32. data/_includes/head.html +76 -0
  33. data/_includes/header.html +167 -0
  34. data/_includes/headline-media.html +16 -0
  35. data/_includes/hero/advanced.html +65 -0
  36. data/_includes/hero/simple.html +13 -0
  37. data/_includes/homepage/banner.html +11 -0
  38. data/_includes/homepage/buttom.html +8 -0
  39. data/_includes/homepage/calendar.html +5 -0
  40. data/_includes/homepage/countdown.html +3 -0
  41. data/_includes/homepage/four-buttoms.html +18 -0
  42. data/_includes/homepage/gif-box.html +9 -0
  43. data/_includes/homepage/news.html +9 -0
  44. data/_includes/homepage/social.html +10 -0
  45. data/_includes/icon-github.html +1 -0
  46. data/_includes/icon-github.svg +1 -0
  47. data/_includes/icon-twitter.html +1 -0
  48. data/_includes/icon-twitter.svg +1 -0
  49. data/_includes/js/main.html +62 -0
  50. data/_includes/page-header.html +9 -0
  51. data/_includes/party.html +15 -0
  52. data/_includes/people/fullname.html +11 -0
  53. data/_includes/people/list-group.html +4 -0
  54. data/_includes/people/list-responsive.html +10 -0
  55. data/_includes/people/profile-badge.html +70 -0
  56. data/_includes/program/list.html +11 -0
  57. data/_includes/program/priorities.html +14 -0
  58. data/_includes/regions/crossroad.html +60 -0
  59. data/_includes/regions/crossroad2.html +5 -0
  60. data/_includes/regions/item.html +26 -0
  61. data/_includes/right-bar/bar_board.html +22 -0
  62. data/_includes/right-bar/bar_fb.html +11 -0
  63. data/_includes/right-bar/bar_garant.html +5 -0
  64. data/_includes/right-bar/bar_kodo.html +12 -0
  65. data/_includes/right-bar/bar_map.html +38 -0
  66. data/_includes/right-bar/bar_page_contact.html +2 -0
  67. data/_includes/right-bar/bar_people.html +16 -0
  68. data/_includes/right-bar/bar_person_articles.html +6 -0
  69. data/_includes/right-bar/bar_profile.html +77 -0
  70. data/_includes/right-bar/bar_program.html +27 -0
  71. data/_includes/right-bar/bar_tag_articles.html +10 -0
  72. data/_includes/right-bar/bar_textbox.html +12 -0
  73. data/_includes/right-bar/bar_tw.html +2 -0
  74. data/_includes/right-bar/bar_video.html +16 -0
  75. data/_includes/right-bar/custom-bars.html +0 -0
  76. data/_includes/right-bar/program-extras.html +0 -0
  77. data/_includes/right-bar/rbar.html +55 -0
  78. data/_includes/right-bar/rbar_articles.html +14 -0
  79. data/_includes/right-bar/rbar_profiles.html +11 -0
  80. data/_includes/sharebox.html +21 -0
  81. data/_includes/social-icon-group.html +23 -0
  82. data/_includes/social-icons.html +8 -0
  83. data/_includes/social.html +14 -0
  84. data/_includes/tables/zebra.html +25 -0
  85. data/_includes/youtube.html +3 -0
  86. data/_layouts/blank-article.html +24 -0
  87. data/_layouts/blank.html +10 -0
  88. data/_layouts/communal-elections.html +172 -0
  89. data/_layouts/compress.html +10 -0
  90. data/_layouts/contacts.html +78 -0
  91. data/_layouts/default.html +19 -0
  92. data/_layouts/home.html +34 -0
  93. data/_layouts/members.html +35 -0
  94. data/_layouts/page.html +5 -0
  95. data/_layouts/person.html +47 -0
  96. data/_layouts/pirate-center.html +91 -0
  97. data/_layouts/post.html +69 -0
  98. data/_layouts/program-post.html +9 -0
  99. data/_layouts/redirected.html +13 -0
  100. data/_layouts/regions.html +15 -0
  101. data/_layouts/regions2.html +9 -0
  102. data/_layouts/taglist.html +31 -0
  103. data/assets/icons/blog.png +0 -0
  104. data/assets/icons/compass.png +0 -0
  105. data/assets/icons/facebook.png +0 -0
  106. data/assets/icons/github.png +0 -0
  107. data/assets/icons/googleplus.png +0 -0
  108. data/assets/icons/instagram.png +0 -0
  109. data/assets/icons/linkedin.png +0 -0
  110. data/assets/icons/pinterest.png +0 -0
  111. data/assets/icons/piratewiki.png +0 -0
  112. data/assets/icons/redmine.png +0 -0
  113. data/assets/icons/twitter.png +0 -0
  114. data/assets/icons/vkontakte.png +0 -0
  115. data/assets/icons/youtube.png +0 -0
  116. data/assets/img/brand/logo-group.png +0 -0
  117. data/assets/img/brand/logo-group.svg +27 -0
  118. data/assets/img/brand/logo-round.png +0 -0
  119. data/assets/img/brand/logo-round.svg +104 -0
  120. data/assets/img/brand/logo.ai +5083 -16
  121. data/assets/img/brand/logo.pdf +1405 -4
  122. data/assets/img/brand/logo.png +0 -0
  123. data/assets/img/brand/logo.svg +10 -0
  124. data/assets/img/brand/logo_easy.png +0 -0
  125. data/assets/img/brand/logo_napis.ai +5003 -21
  126. data/assets/img/brand/logo_napis.pdf +1482 -3
  127. data/assets/img/brand/logo_napis.png +0 -0
  128. data/assets/img/brand/logo_napis.svg +48 -0
  129. data/assets/img/brand/logo_napis_male.png +0 -0
  130. data/assets/img/brand/logo_napis_white.ai +5106 -16
  131. data/assets/img/brand/logo_napis_white.pdf +1532 -2
  132. data/assets/img/brand/logo_napis_white.png +0 -0
  133. data/assets/img/brand/logo_napis_white.svg +51 -0
  134. data/assets/img/brand/logo_white.ai +5194 -23
  135. data/assets/img/brand/logo_white.pdf +1388 -4
  136. data/assets/img/brand/logo_white.png +0 -0
  137. data/assets/img/brand/logo_white.svg +14 -0
  138. data/assets/img/brand/logotyp_email.png +0 -0
  139. data/assets/img/brand/logow.svg +19 -0
  140. data/assets/img/favicon/apple-touch-icon-114x114.png +0 -0
  141. data/assets/img/favicon/apple-touch-icon-120x120.png +0 -0
  142. data/assets/img/favicon/apple-touch-icon-144x144.png +0 -0
  143. data/assets/img/favicon/apple-touch-icon-152x152.png +0 -0
  144. data/assets/img/favicon/apple-touch-icon-57x57.png +0 -0
  145. data/assets/img/favicon/apple-touch-icon-60x60.png +0 -0
  146. data/assets/img/favicon/apple-touch-icon-72x72.png +0 -0
  147. data/assets/img/favicon/apple-touch-icon-76x76.png +0 -0
  148. data/assets/img/favicon/favicon-128x128.png +0 -0
  149. data/assets/img/favicon/favicon-16x16.png +0 -0
  150. data/assets/img/favicon/favicon-196x196.png +0 -0
  151. data/assets/img/favicon/favicon-32x32.png +0 -0
  152. data/assets/img/favicon/favicon-96x96.png +0 -0
  153. data/assets/img/favicon/favicon.ico +0 -0
  154. data/assets/img/favicon/mstile-144x144.png +0 -0
  155. data/assets/img/favicon/mstile-150x150.png +0 -0
  156. data/assets/img/favicon/mstile-310x150.png +0 -0
  157. data/assets/img/favicon/mstile-310x310.png +0 -0
  158. data/assets/img/favicon/mstile-70x70.png +0 -0
  159. data/assets/img/header/background.jpg +0 -0
  160. data/assets/img/map-markers/map-marker-alizarin.svg +138 -0
  161. data/assets/img/map-markers/map-marker-amethyst.svg +138 -0
  162. data/assets/img/map-markers/map-marker-asbestos.svg +138 -0
  163. data/assets/img/map-markers/map-marker-asphalt.svg +138 -0
  164. data/assets/img/map-markers/map-marker-belize-hole.svg +138 -0
  165. data/assets/img/map-markers/map-marker-black.svg +138 -0
  166. data/assets/img/map-markers/map-marker-carrot.svg +138 -0
  167. data/assets/img/map-markers/map-marker-concrete.svg +138 -0
  168. data/assets/img/map-markers/map-marker-emerald.svg +138 -0
  169. data/assets/img/map-markers/map-marker-green-sea.svg +138 -0
  170. data/assets/img/map-markers/map-marker-midnight-blue.svg +138 -0
  171. data/assets/img/map-markers/map-marker-nephritis.svg +138 -0
  172. data/assets/img/map-markers/map-marker-orange.svg +138 -0
  173. data/assets/img/map-markers/map-marker-peter-river.svg +138 -0
  174. data/assets/img/map-markers/map-marker-pomegranate.svg +138 -0
  175. data/assets/img/map-markers/map-marker-pumpkin.svg +138 -0
  176. data/assets/img/map-markers/map-marker-sun-flower.svg +138 -0
  177. data/assets/img/map-markers/map-marker-turqoise.svg +138 -0
  178. data/assets/img/map-markers/map-marker-wisteria.svg +138 -0
  179. data/assets/img/people/ppp.jpg +0 -0
  180. data/assets/img/people/ppp.png +0 -0
  181. data/assets/img/people/unknown-pirate.svg +48 -0
  182. data/assets/img/posts/obrazek.u.tohoto.postu.jpg +0 -0
  183. data/assets/img/praha-index/kandidatka2018.gif +0 -0
  184. data/assets/img/praha-index/naprahuzmeny.jpg +0 -0
  185. data/assets/img/pripoj-se/dotaznik.png +0 -0
  186. data/assets/img/pripoj-se/krajske-forum.jpg +0 -0
  187. data/assets/img/pripoj-se/noviny.jpg +0 -0
  188. data/assets/img/pripoj-se/zastupko.jpg +0 -0
  189. data/assets/img/program/icons/doprava.svg +14 -0
  190. data/assets/img/program/icons/finance.png +0 -0
  191. data/assets/img/program/icons/finance.svg +14 -0
  192. data/assets/img/program/icons/informatika.png +0 -0
  193. data/assets/img/program/icons/informatika.svg +14 -0
  194. data/assets/img/program/icons/ivan-bartos-acta.jpg +0 -0
  195. data/assets/img/program/icons/kontrola.svg +14 -0
  196. data/assets/img/program/icons/kultura.png +0 -0
  197. data/assets/img/program/icons/metropole-01.svg +18 -0
  198. data/assets/img/program/icons/mezinarodni-vztahy.png +0 -0
  199. data/assets/img/program/icons/mezinarodni-vztahy.svg +26 -0
  200. data/assets/img/program/icons/mistni-rozvoj.svg +24 -0
  201. data/assets/img/program/icons/moderni rodina-1.svg +26 -0
  202. data/assets/img/program/icons/obrana.svg +14 -0
  203. data/assets/img/program/icons/obrana2.svg +14 -0
  204. data/assets/img/program/icons/prace-a-socialni-veci.svg +26 -0
  205. data/assets/img/program/icons/prace-a-socialni.png +0 -0
  206. data/assets/img/program/icons/prumysl.png +0 -0
  207. data/assets/img/program/icons/prumysl.svg +14 -0
  208. data/assets/img/program/icons/radnice-01.svg +18 -0
  209. data/assets/img/program/icons/spravedlnost.png +0 -0
  210. data/assets/img/program/icons/spravedlnost.svg +14 -0
  211. data/assets/img/program/icons/svoboda.svg +14 -0
  212. data/assets/img/program/icons/vnitro a otevreny stat.svg +24 -0
  213. data/assets/img/program/icons/vnitro.png +0 -0
  214. data/assets/img/program/icons/vzdelani.png +0 -0
  215. data/assets/img/program/icons/vzdelavani a veda.svg +24 -0
  216. data/assets/img/program/icons/zdravotnictvi.png +0 -0
  217. data/assets/img/program/icons/zdravotnictvi.svg +14 -0
  218. data/assets/img/program/icons/zemedelstvi.png +0 -0
  219. data/assets/img/program/icons/zemedelstvi.svg +14 -0
  220. data/assets/img/program/icons/zivotni-prostredi.png +0 -0
  221. data/assets/img/program/icons/zivotni-prostredi.svg +24 -0
  222. data/assets/img/program/psp2017/doprava.svg +14 -0
  223. data/assets/img/program/psp2017/finance.svg +14 -0
  224. data/assets/img/program/psp2017/informatika.svg +14 -0
  225. data/assets/img/program/psp2017/kultura.png +0 -0
  226. data/assets/img/program/psp2017/mezinarodni-vztahy.svg +26 -0
  227. data/assets/img/program/psp2017/mistni-rozvoj.svg +24 -0
  228. data/assets/img/program/psp2017/obrana.svg +14 -0
  229. data/assets/img/program/psp2017/prumysl.svg +14 -0
  230. data/assets/img/program/psp2017/spravedlnost.svg +14 -0
  231. data/assets/img/program/psp2017/vnitro.png +0 -0
  232. data/assets/img/program/psp2017/vzdelani.png +0 -0
  233. data/assets/img/program/psp2017/zdravotnictvi.svg +14 -0
  234. data/assets/img/program/psp2017/zemedelstvi.png +0 -0
  235. data/assets/img/program/psp2017/zivotni-prostredi.svg +24 -0
  236. data/assets/img/program/volebni-rozcestnik.png +0 -0
  237. data/assets/img/tiles/lightGrey.png +0 -0
  238. data/assets/img/tiles/tableOfContent.png +0 -0
  239. data/jekyll-theme-pirati-sk.gemspec +26 -0
  240. metadata +326 -0
@@ -0,0 +1,65 @@
1
+ <header
2
+ class="hero py-8 lg:py-16 {{ include.class }} {% if include.bgImg %}hero--image{% endif %}"
3
+ {% if include.bgImg %}style="--image-url: url({{ include.bgImg }})"{% endif %}
4
+ >
5
+ <div
6
+ class="
7
+ container container--default grid
8
+
9
+ {% if include.img %}
10
+ lg:grid-cols-7
11
+
12
+ {% if include.subContent %}lg:grid-rows-3{% else %}lg:grid-rows-1{% endif %}
13
+ {% else %}
14
+ lg:grid-cols-1
15
+
16
+ {% if include.subContent %}lg:grid-rows-2{% else %}lg:grid-rows-1{% endif %}
17
+ {% endif %}
18
+
19
+ gap-2 items-center
20
+ ">
21
+ <div class="
22
+ {% if include.img %}
23
+ lg:col-span-3
24
+
25
+ {% if include.subContent %}lg:row-span-2{% else %}lg:row-span-1{% endif %}
26
+ {% else %}
27
+ lg:col-span-1
28
+ lg:row-span-1
29
+ {% endif %}
30
+
31
+ order-1
32
+ ">
33
+ {{ include.mainContent }}
34
+ </div>
35
+ {% if include.subContent %}
36
+ <div class="
37
+ lg:row-span-1
38
+ {% if include.img %}lg:col-span-3{% else %}lg:col-span-1{% endif %}
39
+ order-3
40
+ ">
41
+ <div class="mt-4 md:mt-8 space-y-4 {{ include.subContentClass }}">
42
+ {{ include.subContent }}
43
+ </div>
44
+ </div>
45
+ {% endif %}
46
+ {% if include.img %}
47
+ <div class="
48
+ lg:col-span-4 order-2
49
+ row-span-1
50
+ {% if include.subContent %}lg:row-span-3{% else %}lg:row-span-1{% endif %}
51
+ ">
52
+ {% if site.mediaStorage %}
53
+ {% capture img_path %}https://a.pirati.cz/resize/900x500/{{ site.mediaStorage }}/img/{{ include.img }}{% endcapture %}
54
+ {% else %}
55
+ {% if include.img contains ".svg" %}
56
+ {% capture img_path %}{{ include.img | prepend: "/assets/img/" | absolute_url }}{% endcapture %}
57
+ {% else %}
58
+ {% capture img_path %}{% asset '{{ include.img }}' magick:resize="900^" @path %}{% endcapture %}
59
+ {% endif %}
60
+ {% endif %}
61
+ <img src="{{ img_path }}" alt="{{ include.title }}" class="object-contain {{ include.imgClass }}" />
62
+ </div>
63
+ {% endif %}
64
+ </div>
65
+ </header>
@@ -0,0 +1,13 @@
1
+ <header
2
+ class="hero {% if include.bgImg %}hero--image{% endif %} {% unless include.heroSpacing %}py-16{% else %}{{ include.heroSpacing }}{% endunless %} {{ include.class }}"
3
+ {% if include.bgImg %}style="--image-url: url({{ include.bgImg }})"{% endif %}
4
+ >
5
+ <div class="container container--default">
6
+ <h1 class="head-alt-md md:head-alt-lg max-w-2xl {{ include.headlineClass }}">
7
+ {{ include.headline }}
8
+ </h1>
9
+ <h2 class="head-xs mt-2 {{ include.descriptionClass }}">
10
+ {{ include.description }}
11
+ </h2>
12
+ </div>
13
+ </header>
@@ -0,0 +1,11 @@
1
+ {% capture mainContent %}
2
+ <h1 class="head-alt-md md:head-alt-xl">{{ include.title }}</h1>
3
+ {% endcapture %}
4
+
5
+ {% capture subContent %}
6
+ {% if include.cta %}
7
+ {% include buttons/icon.html href=include.href icon="ico--chevron-right" class="btn--hoveractive btn--fullwidth md:btn--autowidth text-lg" cta=include.cta %}
8
+ {% endif %}
9
+ {% endcapture %}
10
+
11
+ {% include hero/advanced.html mainContent=mainContent subContent=subContent img=include.img imgClass="h-32 lg:h-80 lg:m-auto hidden md:block" %}
@@ -0,0 +1,8 @@
1
+ <a href="{% if include.box.url contains "http" %}{{include.box.url}}{% else %}{{include.box.url | relative_url }}{% endif %}" class="c-card c-card--border">
2
+ <div class="c-card-header">
3
+ <div class="c-card__title"> {{include.box.text}} </div>
4
+ </div>
5
+ <div class="c-card__icon c-card__icon--pos4">
6
+ <i class="{{include.box.icon}}" aria-hidden="true"></i>
7
+ </div>
8
+ </a>
@@ -0,0 +1,5 @@
1
+ <section class="my-8 lg:my-16 container-padding--zero lg:container-padding--auto __js-root">
2
+ <ui-app inline-template>
3
+ {% include calendar.html %}
4
+ </ui-app>
5
+ </section>
@@ -0,0 +1,3 @@
1
+ <section class="my-8 lg:my-16 container-padding--zero lg:container-padding--auto">
2
+ {% include countdown.html deadline=include.deadline %}
3
+ </section>
@@ -0,0 +1,18 @@
1
+ <div class="row small-up-4">
2
+ <div class="c-banner-section-row">
3
+ <div class="small-6 columns">
4
+ {% include homepage/buttom.html box=include.boxes.left-top %}
5
+ </div>
6
+ <div class="small-6 columns">
7
+ {% include homepage/buttom.html box=include.boxes.right-top %}
8
+ </div>
9
+ </div>
10
+ <div class="c-banner-section-row">
11
+ <div class="small-6 columns">
12
+ {% include homepage/buttom.html box=include.boxes.left-bottom %}
13
+ </div>
14
+ <div class="small-6 columns">
15
+ {% include homepage/buttom.html box=include.boxes.right-bottom %}
16
+ </div>
17
+ </div>
18
+ </div>
@@ -0,0 +1,9 @@
1
+ <article class="c-card c-card--big">
2
+ <div class="c-card-header c-card-header--white">
3
+ </div>
4
+ <div class="c-card-image-wrapper">
5
+ <a href="{% if include.url contains "http" %}{{include.url}}{% else %}{{include.url | relative_url }}{% endif %}">
6
+ <img src="{{ include.foto | prepend: site.baseurl }}" class="c-card__image" alt="{{include.alt}}">
7
+ </a>
8
+ </div>
9
+ </article>
@@ -0,0 +1,9 @@
1
+ <section>
2
+ <h1 class="head-alt-md md:head-alt-lg pb-4 lg:pb-8">Aktuální témata</h1>
3
+ {% assign posts = site.posts | slice:0,6 %}
4
+ {% include articles/list-responsive.html posts=posts %}
5
+
6
+ <nav class="text-center">
7
+ {% include buttons/icon.html href="/aktuality" cta="Další články" icon="ico--chevron-right" class="text-xl pt-8" rel="next" %}
8
+ </nav>
9
+ </section>
@@ -0,0 +1,10 @@
1
+ {% if site.facebook.profilePage or site.forum.page %}
2
+ <div class="flex flex-col lg:flex-row lg:space-x-8">
3
+ {% if site.facebook.profilePage %}
4
+ {% include buttons/super.html href=site.facebook.profilePage cta="Sledujte nás na Facebooku" icon="ico--facebook" class="bg-brands-facebook text-white container-padding--zero lg:container-padding--auto lg:w-full" %}
5
+ {% endif %}
6
+ {% if site.forum.page %}
7
+ {% include buttons/super.html href=site.forum.page cta="Sledujte naše fórum" icon="ico--bubbles" class="bg-black text-white container-padding--zero lg:container-padding--auto lg:w-full" %}
8
+ {% endif %}
9
+ </div>
10
+ {% endif %}
@@ -0,0 +1 @@
1
+ <a href="https://github.com/{{ include.username }}"><span class="icon icon--github">{% include icon-github.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M7.999,0.431c-4.285,0-7.76,3.474-7.76,7.761 c0,3.428,2.223,6.337,5.307,7.363c0.388,0.071,0.53-0.168,0.53-0.374c0-0.184-0.007-0.672-0.01-1.32 c-2.159,0.469-2.614-1.04-2.614-1.04c-0.353-0.896-0.862-1.135-0.862-1.135c-0.705-0.481,0.053-0.472,0.053-0.472 c0.779,0.055,1.189,0.8,1.189,0.8c0.692,1.186,1.816,0.843,2.258,0.645c0.071-0.502,0.271-0.843,0.493-1.037 C4.86,11.425,3.049,10.76,3.049,7.786c0-0.847,0.302-1.54,0.799-2.082C3.768,5.507,3.501,4.718,3.924,3.65 c0,0,0.652-0.209,2.134,0.796C6.677,4.273,7.34,4.187,8,4.184c0.659,0.003,1.323,0.089,1.943,0.261 c1.482-1.004,2.132-0.796,2.132-0.796c0.423,1.068,0.157,1.857,0.077,2.054c0.497,0.542,0.798,1.235,0.798,2.082 c0,2.981-1.814,3.637-3.543,3.829c0.279,0.24,0.527,0.713,0.527,1.437c0,1.037-0.01,1.874-0.01,2.129 c0,0.208,0.14,0.449,0.534,0.373c3.081-1.028,5.302-3.935,5.302-7.362C15.76,3.906,12.285,0.431,7.999,0.431z"/></svg>
@@ -0,0 +1 @@
1
+ <a href="https://twitter.com/{{ include.username }}"><span class="icon icon--twitter">{% include icon-twitter.svg %}</span><span class="username">{{ include.username }}</span></a>
@@ -0,0 +1 @@
1
+ <svg viewBox="0 0 16 16" width="16px" height="16px"><path fill="#828282" d="M15.969,3.058c-0.586,0.26-1.217,0.436-1.878,0.515c0.675-0.405,1.194-1.045,1.438-1.809c-0.632,0.375-1.332,0.647-2.076,0.793c-0.596-0.636-1.446-1.033-2.387-1.033c-1.806,0-3.27,1.464-3.27,3.27 c0,0.256,0.029,0.506,0.085,0.745C5.163,5.404,2.753,4.102,1.14,2.124C0.859,2.607,0.698,3.168,0.698,3.767 c0,1.134,0.577,2.135,1.455,2.722C1.616,6.472,1.112,6.325,0.671,6.08c0,0.014,0,0.027,0,0.041c0,1.584,1.127,2.906,2.623,3.206 C3.02,9.402,2.731,9.442,2.433,9.442c-0.211,0-0.416-0.021-0.615-0.059c0.416,1.299,1.624,2.245,3.055,2.271 c-1.119,0.877-2.529,1.4-4.061,1.4c-0.264,0-0.524-0.015-0.78-0.046c1.447,0.928,3.166,1.469,5.013,1.469 c6.015,0,9.304-4.983,9.304-9.304c0-0.142-0.003-0.283-0.009-0.423C14.976,4.29,15.531,3.714,15.969,3.058z"/></svg>
@@ -0,0 +1,62 @@
1
+ <script src="https://cdn.jsdelivr.net/npm/vue@2.6.11/dist/vue.min.js"></script>
2
+ <script src="{{ site.styleguide_base_url }}/js/main.bundle.js"></script>
3
+
4
+ {% if site.facebook.loadSDK %}
5
+ <script>
6
+ /* Facebook */
7
+ window.fbAsyncInit = function() {
8
+ FB.init({
9
+ appId : '{{ site.facebook.appId }}',
10
+ xfbml : true,
11
+ version : 'v2.5'
12
+ });
13
+ };
14
+
15
+ (function(d, s, id){
16
+ var js, fjs = d.getElementsByTagName(s)[0];
17
+ if (d.getElementById(id)) {return;}
18
+ js = d.createElement(s); js.id = id;
19
+ js.src = "//connect.facebook.net/en_US/sdk.js";
20
+ fjs.parentNode.insertBefore(js, fjs);
21
+ }(document, 'script', 'facebook-jssdk'));
22
+ </script>
23
+ {% endif %}
24
+
25
+ {% if site.twitter.loadSDK %}
26
+ <script>
27
+ /* Twitter */
28
+ window.twttr = (function(d, s, id) {
29
+ var js, fjs = d.getElementsByTagName(s)[0],
30
+ t = window.twttr || {};
31
+ if (d.getElementById(id)) return t;
32
+ js = d.createElement(s);
33
+ js.id = id;
34
+ js.src = "https://platform.twitter.com/widgets.js";
35
+ fjs.parentNode.insertBefore(js, fjs);
36
+ t._e = [];
37
+ t.ready = function(f) {
38
+ t._e.push(f);
39
+ };
40
+ return t;
41
+ }(document, "script", "twitter-wjs"));
42
+ </script>
43
+ {% endif %}
44
+
45
+ {% if site.matomo.loadSDK %}
46
+ <!-- Matomo -->
47
+ <script type="text/javascript">
48
+ var _paq = window._paq || [];
49
+ /* tracker methods like "setCustomDimension" should be called before "trackPageView" */
50
+ _paq.push(['trackPageView']);
51
+ _paq.push(['enableLinkTracking']);
52
+ (function() {
53
+ var u="//matomo.pirati.cz/";
54
+ _paq.push(['setTrackerUrl', u+'matomo.php']);
55
+ _paq.push(['setSiteId', '{{ site.matomo.siteId }}']);
56
+ var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
57
+ g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'matomo.js'; s.parentNode.insertBefore(g,s);
58
+ })();
59
+ </script>
60
+ <!-- End Matomo Code -->
61
+ {% endif %}
62
+
@@ -0,0 +1,9 @@
1
+ <header>
2
+ <h1 itemprop="headline" class="head-alt-md md:head-alt-lg max-w-5xl mb-8">{{ include.headline }}</h1>
3
+ </header>
4
+
5
+ {% if include.content %}
6
+ <div class="{{ include.contentClass | default: page.contentClass | default: layout.contentClass }}" itemprop="description">
7
+ {{ include.content }}
8
+ </div>
9
+ {% endif %}
@@ -0,0 +1,15 @@
1
+ {% assign party = site.data.parties | where: "uid", include.uid | first %}
2
+
3
+ <div class="flex items-center">
4
+ {% if party.logoImg %}
5
+ {% comment %}We expect an SVG format here to make things scalable{% endcomment %}
6
+ {% if site.mediaStorage %}
7
+ {% capture partyImg %}https://a.pirati.cz/{{ site.mediaStorage }}/img/{{ party.logoImg }}{% endcapture %}
8
+ {%- else -%}
9
+ {% capture partyImg %}{{ party.logoImg | prepend: "/assets/img/" | absolute_url }}{% endcapture %}
10
+ {%- endif -%}
11
+ {% include avatar.html class="w-6 mr-2" alt=party.name src=partyImg %}
12
+ {% endif %}
13
+
14
+ <span class="font-bold font-condensed">{{ party.name }}</span>
15
+ </div>
@@ -0,0 +1,11 @@
1
+ {%- if include.person.titles.before -%}
2
+ {%- unless include.plain -%}<span class="academic-title academic-title--before">{%- endunless -%}
3
+ {{ include.person.titles.before }}
4
+ {%- unless include.plain -%}</span>{%- endunless -%}
5
+ {%- endif %} {% unless include.plain -%}<span class="academic-title-name">{%- endunless -%}
6
+ {{ include.person.name }}
7
+ {%- unless include.plain -%}</span>{%- endunless -%}{% if include.person.titles.after %}
8
+ {%- unless include.plain -%}<span class="academic-title academic-title--after">{%- endunless -%}
9
+ , {{ include.person.titles.after }}
10
+ {%- unless include.plain -%}</span>{%- endunless -%}
11
+ {%- endif -%}
@@ -0,0 +1,4 @@
1
+ {% if include.team.size > 0 %}
2
+ <h2 class="head-heavy-base mb-4">{{ include.teamName }}</h2>
3
+ {% include people/list-responsive.html team=team %}
4
+ {% endif %}
@@ -0,0 +1,10 @@
1
+ {% comment %}
2
+ Dvou sloupcové zobrazení:
3
+ týmů v /clenove
4
+ úspěchů v /otevrenost
5
+ {% endcomment %}
6
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 row-gap-8 col-gap-8">
7
+ {% for item in include.team %}
8
+ {% include people/profile-badge.html item=item headlineClass="head-heavy-xs" avatarClass="avatar--md" %}
9
+ {% endfor %}
10
+ </div>
@@ -0,0 +1,70 @@
1
+ {% capture label %}
2
+ {% if include.label %}{{ include.label }}{% elsif include.item.name %}{{ include.item.name }}{% else %}{{ include.item.title }}{% endif %}
3
+ {% endcapture %}
4
+ {% if include.item.url %}
5
+ {% if include.item.url contains 'http' %}
6
+ {% assign url = include.item.url %}
7
+ {% else %}
8
+ {% assign url = include.item.url | relative_url %}
9
+ {% endif %}
10
+ {% endif %}
11
+ {% capture avatarClass %}
12
+ badge__avatar {% if include.avatarClass %}{{ include.avatarClass }}{% else %}avatar--sm{% endif %}
13
+ {% endcapture %}
14
+
15
+ <div class="badge {% if include.class %}{{ include.class }}{% endif %}">
16
+ {% unless include.hideAvatar %}
17
+ {%- if include.item.img -%}
18
+ {% if site.mediaStorage %}
19
+ {%- if include.imgSize != 'big' -%}
20
+ {% capture img %}https://a.pirati.cz/crop/100x100/{{ site.mediaStorage }}/img/{{ include.item.img }}{% endcapture %}
21
+ {%- else -%}
22
+ {% capture img %}https://a.pirati.cz/crop/165x165/{{ site.mediaStorage }}/img/{{ include.item.img }}{% endcapture %}
23
+ {%- endif -%}
24
+ {%- else -%}
25
+ {%- if include.imgSize != 'big' -%}
26
+ {% capture img %}{% asset '{{ include.item.img }}' magick:resize='100x100^' magick:gravity='center' magick:crop='100x100+0+0' @path %}{% endcapture %}
27
+ {%- else -%}
28
+ {% capture img %}{% asset '{{ include.item.img }}' magick:resize='165x165^' magick:gravity='center' magick:crop='165x165+0+0' @path %}{% endcapture %}
29
+ {%- endif -%}
30
+ {%- endif -%}
31
+ {% else %}
32
+ {% capture img %}https://a.pirati.cz/common/img/people/unknown-pirate.svg{% endcapture %}
33
+ {% endif %}
34
+
35
+ {% include avatar.html src=img alt=label class=avatarClass url=url %}
36
+ {% endunless %}
37
+
38
+ <div class="badge__body">
39
+ <h2 class="{% if include.headlineClass %}{{ include.headlineClass }}{% else %}head-heavy-2xs{% endif %} badge__title">
40
+ {% if url %}
41
+ <a href="{{ url }}" title="{{ label }}" class="content-block--nostyle">{{ label }}</a>
42
+ {% else %}
43
+ {{ label }}
44
+ {% endif %}
45
+ </h2>
46
+
47
+ {% unless include.showDescription == false %}
48
+ <p class="badge__occupation">
49
+ {% if include.description %}
50
+ {{ include.description }}
51
+ {% else %}
52
+ {{ include.item.description }}
53
+ {% endif %}
54
+ </p>
55
+ {% endunless %}
56
+
57
+ {% unless include.showContactInfo == false %}
58
+ {% if include.item.mob or include.item.mail %}
59
+ {% if include.item.mob %}
60
+ {% capture tel %}tel:{{ include.item.mob }}{% endcapture %}
61
+ {% include contact-line.html icon="ico--phone" href=tel caption=include.item.mob class="contact-line--responsive badge__link" %}
62
+ {% endif %}
63
+ {% if include.item.mail %}
64
+ {% capture mailto %}mailto:{{ include.item.mail }}{% endcapture %}
65
+ {% include contact-line.html icon="ico--envelope" href=mailto caption=include.item.mail class="contact-line--responsive badge__link" %}
66
+ {% endif %}
67
+ {% endif %}
68
+ {% endunless %}
69
+ </div>
70
+ </div>
@@ -0,0 +1,11 @@
1
+ <div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3">
2
+ {% for item in include.program %}
3
+ <div class="card elevation-3">
4
+ <div class="card__body">
5
+ <a href="{{item.url | relative_url }}">
6
+ <img class="program-icon" src="{{ item.img | prepend: 'assets/img/' | relative_url}}" alt="{{item.title}}" />
7
+ <h2>{{item.title}}</h2>
8
+ </a>
9
+ </div>
10
+ </div>
11
+ {% endfor %}
@@ -0,0 +1,14 @@
1
+ <table>
2
+ {% for priority in include.priorities %}
3
+ <tr> <td>
4
+ <img src="{{ priority.img | prepend: 'assets/img/' | relative_url}}" alt="ikona" height="168" width="168"><td>
5
+ <strong>
6
+ {{priority.name}}
7
+ </strong>
8
+ {{priority.text}}
9
+
10
+ </tr>
11
+ {% endfor %}
12
+
13
+ </table>
14
+
@@ -0,0 +1,60 @@
1
+
2
+ <section class="grid grid-cols-1 lg:grid-cols-2 gap-4 lg:gap-8">
3
+ {% for place in include.places %}
4
+ <article class="card elevation-0 bg-grey-50 container-padding--zero md:container-padding--auto">
5
+ <div class="card__body p-4 lg:p-8 flex space-x-8 items-start">
6
+ <img src="{{ place.coa }}" class="w-16" alt="{{ place.locality }}" />
7
+ <div class="space-y-4 flex-grow">
8
+ <div>
9
+ <h1 class="head-alt-base mb-2">
10
+ {% if place.link %}<a href="{{ place.link }}">{% endif %}{{ place.locality }}{% if place.link %}</a>{% endif %}
11
+ </h1>
12
+ <div class="flex flex-col sm:flex-row space-y-2 sm:space-y-0 sm:space-x-4">
13
+ {% if place.fb %}
14
+ {% capture caption %}place.fb | remove:"https://www.facebook.com"{% endcapture %}
15
+ {% include contact-line.html href=place.fb target="_blank" icon="ico--facebook" caption=caption class="font-light" %}
16
+ {% endif %}
17
+
18
+ {% if place.type and place.type == "local" %}
19
+ {% assign target = "" %}
20
+ {% else %}
21
+ {% assign target = "_blank" %}
22
+ {% endif %}
23
+
24
+ {% if place.mail %}
25
+ {% capture href %}mailto:{{ place.mail }}{% endcapture %}
26
+ {% include contact-line.html href=href icon="ico--envelope" caption=place.mail class="contact-line--responsive font-light" %}
27
+ {% endif %}
28
+
29
+ {% if place.programLink %}
30
+ {% include contact-line.html href=place.programLink target=target icon="ico--book" caption="Program" class="font-light" %}
31
+ {% endif %}
32
+
33
+ {% if place.candidateListLink %}
34
+ {% include contact-line.html href=place.candidateListLink target=target icon="ico--users" caption="Kandidátka" class="font-light" %}
35
+ {% endif %}
36
+
37
+ {% if place.candidateListWithProgramLink %}
38
+ {% include contact-line.html href=place.candidateListWithProgramLink target=targett icon="ico--book" caption="Program a kandidátka" class="font-light" %}
39
+ {% endif %}
40
+ </div>
41
+ {% if place.note %}
42
+ <p class="mt-2 font-light text-sm leading-snug">{{ place.note }}</p>
43
+ {% endif %}
44
+ </div>
45
+ {% if place.kontakt %}
46
+ {% assign contactPerson = site.people | where: "uid", place.kontakt | first %}
47
+ {% include people/profile-badge.html item=contactPerson hideAvatar=true showDescription=false class="badge--condensed" %}
48
+ {% endif %}
49
+ </div>
50
+ {% if place.link %}
51
+ <div class="hidden md:block">
52
+ <a href="{{ place.link }}" class="no-underline hover:no-underline">
53
+ <i class="ico--chevron-right text-3xl"></i>
54
+ </a>
55
+ </div>
56
+ {% endif %}
57
+ </div>
58
+ </article>
59
+ {% endfor %}
60
+ </section>
@@ -0,0 +1,5 @@
1
+ <section class="pk-election-crossroad row u-uniform-size-row">
2
+ {% for place in include.places %}
3
+ {% include regions/item.html img=place.img name=place.name area=place.area link=place.link president=place.president fb=place.fb %}
4
+ {% endfor %}
5
+ </section>
@@ -0,0 +1,26 @@
1
+ <div class="large-4 medium-6 small-12 columns end" style="padding-bottom: 2em;">
2
+ <div class="c-content-card">
3
+ <div class="c-content-card-img">
4
+ <a href={{include.link}}> {% asset {{include.img}} alt=include.name %} </a>
5
+ </div>
6
+ <div class="c-content-card-content-box">
7
+ <h3 class="c-content-card-title">
8
+ <a href="{{include.link}}"> {{ include.name}} </a>
9
+ </h3>
10
+ <ul>
11
+ <li>Působnost: {{ include.area }}</li>
12
+ {% assign person = site.people | where_exp:"item","item.uid contains include.president" | first %}
13
+ {% if person %}
14
+ <li>Předseda: <a href={{person.url}}> {{person.name}}</a> </li>
15
+ {% else %}
16
+ <li>Předseda: {{include.president}} </li>
17
+ {% endif %}
18
+ {% if include.fb %}
19
+ <li>
20
+ <i class="fa fa-facebook" aria-hidden="true"></i>
21
+ <a href="https://www.facebook.com/{{include.fb}}"> {{include.fb}}</a> </li>
22
+ {% endif %}
23
+ </ul>
24
+ </div>
25
+ </div>
26
+ </div>
@@ -0,0 +1,22 @@
1
+
2
+ {% if page.board %}
3
+ <div class="content-block">
4
+ <h2>{{ page.boardName | default: "Předsednictvo" }}</h2>
5
+ <ul class="unordered-list unordered-list--linked">
6
+ {% for chair in page.board %}
7
+ {% if chair.uid %}
8
+ {% assign person = site.people | where_exp: "item","item.uid contains chair.uid" | first %}
9
+ <li>
10
+ <span>{{ chair.position }}: <a class="content-block--nostyle font-bold" href="{{ person.url }}">{{ person.name }}</a></span>
11
+ </li>
12
+ {% else %}
13
+ <li>
14
+ <span>{{ chair.position }}: <strong>{{ chair.name }}</strong></span>
15
+ </li>
16
+ {% endif %}
17
+ {% endfor %}
18
+ </ul>
19
+ {% if page.boardTurn %}
20
+ <p>Konec mandátu: <a href="{{ page.boardTurn.electionUrl }}" style="text-decoration:underline"> {{ page.boardTurn.endDate }} </a></p>
21
+ {% endif %}
22
+ {% endif %}
@@ -0,0 +1,11 @@
1
+ <h2 class="head-heavy-sm mb-2">Facebook</h2>
2
+ <div class="fb-page" data-href="{{ site.facebook.profilePage }}" data-tabs="timeline" data-width="500" data-height="550" data-small-header="false" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true">
3
+ <div class="fb-xfbml-parse-ignore">
4
+ <blockquote cite="{{ site.facebook.profilePage }}">
5
+ <a href="{{ site.facebook.profilePage }}">
6
+ Najdete nás na Facebooku:<br>
7
+ {% if site.facebook.profilePageName %}{{ site.facebook.profilePageName }}{% else %}{{ site.organization.name }}{% endif %}
8
+ </a>
9
+ </blockquote>
10
+ </div>
11
+ </div>
@@ -0,0 +1,5 @@
1
+ {% if page.garant %}
2
+ {% assign garant = site.people | where:"uid",page.garant | first %}
3
+ {% include people/profile-badge.html item=garant description="Garant" class="badge--condensed" %}
4
+ {% endif %}
5
+
@@ -0,0 +1,12 @@
1
+ <h2 class="head-heavy-sm mb-2">Koordinátoři dobrovolníků</h2>
2
+ {% assign kodos = site.people | where_exp: "item","item.categories contains 'kodo'" | sort:"ordkodo" %}
3
+
4
+ <div class="space-y-4">
5
+ {% for person in kodos %}
6
+ {% include people/profile-badge.html item=person %}
7
+ {% endfor %}
8
+ </div>
9
+
10
+ {% assign peopleCol = site.collections | where: "label", "people" | first %}
11
+ {% capture href %}{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/kontakt/' | relative_url }}{% endif %}{% endcapture %}
12
+ {% include buttons/icon.html href=href cta="Ozvi se nám" icon="ico--chevron-right" class="btn--black btn--hoveractive btn--fullwidth mt-4" %}
@@ -0,0 +1,38 @@
1
+ {% comment %}
2
+ This requires the page header to define
3
+ mapycz-api: mini-api # normal api is OK too
4
+ gps:
5
+ lat: ...
6
+ long: ...
7
+ zoom: # optional (default = 16)
8
+
9
+ Note: map is not inside accordion, as map tiles don't load at start due to accordion collapsing at start (zero height)
10
+ {% endcomment %}
11
+
12
+ {% if (page.mapycz_api) and (page.gps.lat) and (page.gps.long) %}
13
+ {% assign gps_zoom = 16 %}
14
+
15
+ {% if (page.gps.zoom) %}
16
+ {% assign gps_zoom = page.gps.zoom %}
17
+ {% endif %}
18
+ <div id="mapa" style="height: 300px;"></div>
19
+ <script type="text/javascript">
20
+ var center = SMap.Coords.fromWGS84({{ page.gps.long }}, {{ page.gps.lat }});
21
+ {% if page.mapycz_api == 'mini-api' %} // Mapy.cz Mini-API
22
+ var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }}, SMap.DEF_BASE);
23
+ mapa.addMarker(center);
24
+ {% else %} // default Mapy.cz API
25
+ var mapa = new SMap(JAK.gel("mapa"), center, {{ gps_zoom }});
26
+ mapa.addDefaultLayer(SMap.DEF_BASE).enable();
27
+ var vrstva = new SMap.Layer.Marker(); /* Vrstva se značkami */
28
+ var options = { }
29
+ var znacka = new SMap.Marker(center, 'markerid', options);
30
+ vrstva.addMarker(znacka);
31
+ mapa.addLayer(vrstva);
32
+ vrstva.enable();
33
+ {% endif %}
34
+ </script>
35
+
36
+ {% capture href %}https://mapy.cz/zakladni?x={{page.gps.long}}&y={{page.gps.lat}}&z=16&source=coor&id={{page.gps.long}}%2C{{page.gps.lat}}{% endcapture %}
37
+ {% include buttons/image.html href=href target="_blank" icon="ico--map" class="btn btn--black btn--fulwidth btn--hoveractive mt-4" cta="Zobrazit větší mapu" %}
38
+ {% endif %}
@@ -0,0 +1,2 @@
1
+ <h2 class="head-heavy-sm mb-2">Kontakty</h2>
2
+ {% include right-bar/rbar_profiles.html %}
@@ -0,0 +1,16 @@
1
+
2
+ <div class="hidden lg:block">
3
+ <div class="content-block">
4
+ <h2>Lidé</h2>
5
+ </div>
6
+
7
+ <div class="space-y-4">
8
+ {% assign persons = site.people | sample:3 %}
9
+ {% for person in persons %}
10
+ {% include people/profile-badge.html item=person style='card' showContactInfo=false %}
11
+ {% endfor %}
12
+ </div>
13
+
14
+ {% capture href %}{% if peopleCol.root %}{{ peopleCol.root }}{% else %}{{ '/lide/' | relative_url }}{% endif %}{% endcapture %}
15
+ {% include buttons/icon.html icon="ico--chevron-right" class="btn--violet-500 btn--fullwidth btn--hoveractive pt-4" cta="Poznejte celý náš tým" href=href %}
16
+ </div>
@@ -0,0 +1,6 @@
1
+
2
+ {% assign posts = site.posts | where_exp: "item","item.authorId contains page.uid" | sort:"date" %}
3
+
4
+ {% if posts %}
5
+ {% include right-bar/rbar_articles.html posts=posts title="Seznam článků" %}
6
+ {% endif %}