jekyll-theme-pirati 8.4.5 → 8.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/footer.html +30 -21
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1ebff15c0d14800a258356fb482ac46ec0cf3a2d871a9db7f7de2d3fd88234b
4
- data.tar.gz: cada9b1aa242e1dc72700f8759d03fa24af4da154a36338f2517f1979e19c281
3
+ metadata.gz: 58b1421700baf351c17b8533be343248a9ed2bfe571f380a504fcc22ce83debf
4
+ data.tar.gz: db888769563c94e61390eed42962742847f05fadef52b461693e95c0071aa568
5
5
  SHA512:
6
- metadata.gz: 81ae8f56caee8ab87dc2e581525998863042c42fec861a495d5e0b75dcc2cc930109f80dfcc25734a04c9c498a337100d15f1fcc63f788df6010a13b1f3a71e3
7
- data.tar.gz: 0fcce6bbaab20b14e6de1382702af6c8245aa35fa3440782097182461c9b4dc65b1b9ba9d8db124872e43c079b4966f1b5d125d91c2769c1186e5b739cba8bf1
6
+ metadata.gz: aa7b875ca81fd00159ed8793cd8042db185452a7ad1ffd482d31a2cd751df3e7f44b862854f3da645e089dd22b0d8d2e325d935f3f945aebf05def150c0718a7
7
+ data.tar.gz: 792216cf3091ec1dfebea817b42347ed24dbb345643f219573a8b770c56fa3501296d77aa6a0efbb300e88aae4a093bae7a94beb4155d00c899cb812d5d05ee5
@@ -28,8 +28,16 @@
28
28
  <div class="mb-4">
29
29
  {% include social-icon-group.html class="space-x-2 text-white pb-4" %}
30
30
  {% if site.organization.email %}
31
+ <div class="mb-2">
31
32
  {% capture href %}mailto:{{ site.organization.email }}{% endcapture %}
32
33
  {% include contact-line.html href=href icon="ico--envelope" caption="Dejte nám vědět" %}
34
+ </div>
35
+ {% endif %}
36
+ {% if site.github %}
37
+ <div class="mb-2">
38
+ {% capture href %}{{ site.github.url }}edit/{{ site.github.branch }}/{{ page.path }}{% endcapture %}
39
+ {% include contact-line.html href=href icon="ico--pencil" caption="Navrhni úpravu" %}
40
+ </div>
33
41
  {% endif %}
34
42
  </div>
35
43
  <div class="flex flex-col md:flex-row lg:flex-col lg:items-end space-y-2 md:space-y-0 md:space-x-2 lg:space-x-0 lg:space-y-2">
@@ -80,8 +88,14 @@
80
88
  <div class="grid gap-4 grid-cols-1 md:grid-cols-2 xl:grid-cols-3">
81
89
  {% if site.data.menu.contact %}
82
90
  {% for contact in site.data.menu.contact %}
83
- {% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %}
84
- {% include people/profile-badge.html item=person description=contact.position %}
91
+ {% if contact.id %}
92
+ {% assign person = site.people | where_exp:"item","item.uid contains contact.id" | first %}
93
+ {% assign description = contact.position %}
94
+ {% else %}
95
+ {% assign person = site.people | where_exp:"item","item.uid contains contact" | first %}
96
+ {% assign description = person.teamDescription['contact'] %}
97
+ {% endif %}
98
+ {% include people/profile-badge.html item=person description=description %}
85
99
  {% endfor %}
86
100
  {% else %}
87
101
  {% assign contactPerson = site.people | where_exp: "item","item.uid contains site.organization.contactUid" | first %}
@@ -95,7 +109,11 @@
95
109
  </div>
96
110
  </div>
97
111
  </section>
98
- <section class="bg-black py-4 lg:py-12">
112
+ </div>
113
+ </ui-app>
114
+ </footer>
115
+
116
+
99
117
 
100
118
  <!-- Styles -->
101
119
  <link rel="stylesheet" href="https://www.piratiastarostove.cz/static/elections2021/css/styleguide.min.css">
@@ -108,12 +126,10 @@ sup {
108
126
 
109
127
 
110
128
 
111
-
112
129
  <div class=" bg-white">
113
- <div class="row bg-grey-700">
114
-
130
+
115
131
  <div class="row">
116
- <section id="jakpomoci" class="lg:flex">
132
+ <section id="jakpomoci" class="lg:flex">
117
133
  <div class="w-full">
118
134
  <div class="cta-card cta-news px-8 py-8 bg-acidgreen text-black">
119
135
  <p class="font-alt text-4xl">CHCI VĚDĚT VÍCE</p>
@@ -132,7 +148,7 @@ sup {
132
148
  <div class="checkbox form-field__control cta-cbox h-6">
133
149
  <input type="checkbox" name="confirmed" id="confirmed_bottom" required="">
134
150
  <label for="confirmed_bottom" style="color: #000000"> Souhlasím se <a href="https://www.piratiastarostove.cz/zasady-ochrany-osobnich-udaju/" class="underline" target="_blank">zásadami ochrany osobních údajů</a> a zasíláním novinek</label>
135
- </div>
151
+ </div>
136
152
  </form>
137
153
  </div>
138
154
  </div>
@@ -143,7 +159,7 @@ sup {
143
159
 
144
160
  <a href="https://nalodeni.pirati.cz/kampan2021/" class="btn btn--icon text-lg w-full cta-button my-2">
145
161
  <div class="btn__body-wrap">
146
- <div class="btn__body py-4 leading-4 w-full">Chci se přidat k Pirátům</div>
162
+ <div class="btn__body py-4 leading-4 w-full">Chci pomáhat v kampani</div>
147
163
  <div class="btn__icon px-4 bg-grey-800 border-grey-500">
148
164
  <i class="ico--chevron-right"></i>
149
165
  </div>
@@ -284,10 +300,10 @@ sup {
284
300
 
285
301
  <div class="w-full">
286
302
  <div class="cta-card cta-support px-8 py-8 bg-white">
287
- <p class="font-alt text-4xl w-1 text-black">CHCI PODPOŘIT</p>
288
- <a href="https://dary.pirati.cz/projekty-kampane/" class="btn btn--icon text-lg w-full cta-btn my-2">
303
+ <p class="font-alt text-4xl w-1">CHCI PODPOŘIT</p>
304
+ <a href="https://dary.pirati.cz/projekty-kampane/piratiastarostove/" class="btn btn--icon text-lg w-full cta-btn my-2">
289
305
  <div class="btn__body-wrap">
290
- <div class="btn__body py-4 leading-4 w-full">Chci darovat Pirátům</div>
306
+ <div class="btn__body py-4 leading-4 w-full">Chci darovat na kampaň</div>
291
307
  <div class="btn__icon px-4 bg-grey-800 border-grey-500">
292
308
  <i class="ico--chevron-right"></i>
293
309
  </div>
@@ -297,18 +313,11 @@ sup {
297
313
  </div>
298
314
  </section>
299
315
  </div>
300
-
301
- </div>
302
- </div>
303
- <div class="row">
316
+ <div class="row">
304
317
  <section class="bg-black py-4 lg:py-12">
305
318
  <div class="medium-12 large-7 text-white" ><center>
306
319
  <a href="https://www.pirati.cz/o-nas/ochrana-osobnich-udaju/">Zásady zpracování osobních údajů a informace o využití cookies</a></center>
307
320
  </div>
308
321
  </section>
309
322
  </div>
310
-
311
- </section>
312
- </div>
313
- </ui-app>
314
- </footer>
323
+ </div>
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-pirati
3
3
  version: !ruby/object:Gem::Version
4
- version: 8.4.5
4
+ version: 8.4.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jitka Novotná