slow-steps 0.4.12 → 0.4.13
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.
- checksums.yaml +4 -4
- data/_includes/forms/formspree-contact.html +16 -0
- data/_includes/forms/kwes-contact.html +1 -0
- data/_includes/scripts.html +12 -3
- data/_layouts/contact.html +4 -1
- data/_layouts/faq.html +4 -2
- data/_sass/_colors/collection.sass +2 -0
- data/_sass/_colors/global.sass +5 -0
- data/_sass/contact.sass +0 -6
- data/_sass/faq.sass +1 -0
- data/assets/js/checkALL.js +14 -0
- metadata +4 -3
- data/_includes/contact-form-faq.html +0 -24
- data/_includes/contact-form.html +0 -18
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9acaa9d064fc6160665c4ebaa779bee478d02d4c69fe8cf2d3ee4d76239e70dd
|
4
|
+
data.tar.gz: df5e1a804d666334d01a121dc28b41c7bd846854a41d20bb5fae986e1990e0c1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: bd758f0e4be72a773aa21cc13eb0eb2feb8791cb8551b5b8993b2d732365df0ac06171a3b0352b0e499c8be4f877550414f58fae7f56ec3de38a9117adf09b43
|
7
|
+
data.tar.gz: 92209f4367ca25bcd75666f89b9b5ee9cc47b83462b377b724cc100585a9b1615b9f66bac47e8b6b65e0d51f01dc25941c14ed2b98dbc2b9518c48262a5c9f2c
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<!-- formspree contact form only, header and styling in laytout -->
|
2
|
+
|
3
|
+
<form action="https://formspree.io/f/{{ site.formspree }}" method="post" >
|
4
|
+
|
5
|
+
<label for="name">Enter your full name</label>
|
6
|
+
<input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
|
7
|
+
|
8
|
+
<label for="email">Enter your email</label>
|
9
|
+
<input type="text" class="form-element" name="email" id="email" placeholder="Your email" required>
|
10
|
+
|
11
|
+
<label for="message">Enter your message</label>
|
12
|
+
<textarea class="form-element" rows="5" name="message" id="message" placeholder="Your Message" required></textarea>
|
13
|
+
|
14
|
+
<button class="btn btn-pop btn-outline btn-contact" type="submit">SEND</button>
|
15
|
+
|
16
|
+
</form>
|
data/_includes/scripts.html
CHANGED
@@ -12,6 +12,18 @@
|
|
12
12
|
|
13
13
|
{% endif %}
|
14
14
|
|
15
|
+
{% if scripts contains 'kwes' %}
|
16
|
+
|
17
|
+
<script src="https://kwes.io/v2/kwes-script.js" async></script>
|
18
|
+
|
19
|
+
{% endif %}
|
20
|
+
|
21
|
+
{% if scripts contains 'checkAll' %}
|
22
|
+
|
23
|
+
<script type="text/javascript" src="{{ '/assets/js/checkAll.js' | relative_url }}" async></script>
|
24
|
+
|
25
|
+
{% endif %}
|
26
|
+
|
15
27
|
<script type="text/javascript" src="{{ '/assets/js/animate_after_load.js' | relative_url }}" async></script>
|
16
28
|
|
17
29
|
<script type="text/javascript" src="{{ '/assets/js/calc-mobile-viewport.js' | relative_url}}" async></script>
|
@@ -26,9 +38,6 @@
|
|
26
38
|
|
27
39
|
<script type="text/javascript" src="{{ '/assets/vendor/aos/aos.js' | relative_url }}" ></script>
|
28
40
|
|
29
|
-
<!-- need to conditional load this. will sort that out after tyding up content repo 25 May 2021 Arran -->
|
30
|
-
<script src="https://kwes.io/v2/kwes-script.js" async></script>
|
31
|
-
|
32
41
|
{% include cookie-consent.html %}
|
33
42
|
|
34
43
|
<script>
|
data/_layouts/contact.html
CHANGED
@@ -31,7 +31,10 @@ layout: default
|
|
31
31
|
<div class="contact__wrapper" id="content">
|
32
32
|
|
33
33
|
<div class="contact--left">
|
34
|
-
|
34
|
+
<div class="contact-form">
|
35
|
+
<h4 class="form-instruction blue">Get in touch using the form below</h4>
|
36
|
+
{% include forms/kwes-contact.html %}
|
37
|
+
</div>
|
35
38
|
</div>
|
36
39
|
|
37
40
|
<div class="contact--right">
|
data/_layouts/faq.html
CHANGED
@@ -69,7 +69,9 @@ document.querySelectorAll('.faq__question').forEach(function(el){
|
|
69
69
|
|
70
70
|
|
71
71
|
<div class="faq__contact">
|
72
|
+
<div class="contact-form">
|
72
73
|
<h2 class="faq__contact--strap">Not found the answer?</h2>
|
73
|
-
|
74
|
-
|
74
|
+
<h4 class="form-instruction white">Get in touch using the form below</h4>
|
75
|
+
{% include forms/kwes-contact.html %}
|
76
|
+
</div>
|
75
77
|
</div>
|
data/_sass/contact.sass
CHANGED
data/_sass/faq.sass
CHANGED
@@ -0,0 +1,14 @@
|
|
1
|
+
// Check other options if all is checked
|
2
|
+
// This needs to be made more generic
|
3
|
+
function checkAll() {
|
4
|
+
var videoCall = document.getElementById("Video-call");
|
5
|
+
var phone = document.getElementById("phone");
|
6
|
+
var any = document.getElementById("Any");
|
7
|
+
if (any.checked == true ) {
|
8
|
+
videoCall.checked = true;
|
9
|
+
phone.checked = true;
|
10
|
+
} else {
|
11
|
+
videoCall.checked = false;
|
12
|
+
phone.checked = false;
|
13
|
+
}
|
14
|
+
}
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: slow-steps
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Made Slowly
|
@@ -183,8 +183,6 @@ files:
|
|
183
183
|
- _includes/branding/site-logo.svg
|
184
184
|
- _includes/build-version.html
|
185
185
|
- _includes/contact-details.html
|
186
|
-
- _includes/contact-form-faq.html
|
187
|
-
- _includes/contact-form.html
|
188
186
|
- _includes/cookie-consent.html
|
189
187
|
- _includes/env_filter.html
|
190
188
|
- _includes/errors/robot-403.svg
|
@@ -192,6 +190,7 @@ files:
|
|
192
190
|
- _includes/errors/robot-405.svg
|
193
191
|
- _includes/footer/footer.html
|
194
192
|
- _includes/footer/footer_redesign.html
|
193
|
+
- _includes/forms/formspree-contact.html
|
195
194
|
- _includes/forms/kwes-contact.html
|
196
195
|
- _includes/forms/mc-register.html
|
197
196
|
- _includes/functions/calc-svg-coord.html
|
@@ -231,6 +230,7 @@ files:
|
|
231
230
|
- _sass/_colors/_pwp.sass
|
232
231
|
- _sass/_colors/_variables.sass
|
233
232
|
- _sass/_colors/collection.sass
|
233
|
+
- _sass/_colors/global.sass
|
234
234
|
- _sass/_functions.sass
|
235
235
|
- _sass/_mixins.sass
|
236
236
|
- _sass/_variables.sass
|
@@ -289,6 +289,7 @@ files:
|
|
289
289
|
- assets/images/augmented_image.png
|
290
290
|
- assets/js/animate_after_load.js
|
291
291
|
- assets/js/calc-mobile-viewport.js
|
292
|
+
- assets/js/checkALL.js
|
292
293
|
- assets/js/mobile-nav-slider.js
|
293
294
|
- assets/js/nav-scroll.js
|
294
295
|
- assets/js/svg_aos.js
|
@@ -1,24 +0,0 @@
|
|
1
|
-
<!--
|
2
|
-
changed from formspree to kwes 25 May 2021 Arran
|
3
|
-
-->
|
4
|
-
|
5
|
-
<!-- script has been moved to slow-steps/_includes/scripts.html -->
|
6
|
-
<!--<script src="https://kwes.io/v2/kwes-script.js" defer></script>-->
|
7
|
-
<div class="contact-form">
|
8
|
-
<h4 class="form-instruction-FAQ">Get in touch using the form below</h4>
|
9
|
-
|
10
|
-
<form class="kwes-form" action="https://kwes.io/api/foreign/forms/{{ site.kwes }}">
|
11
|
-
|
12
|
-
<label for="name">Enter your full name</label>
|
13
|
-
<input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
|
14
|
-
|
15
|
-
<label for="email">Enter your email</label>
|
16
|
-
<input type="text" class="form-element" name="email" id="email" placeholder="Your email" required>
|
17
|
-
|
18
|
-
<label for="message">Enter your message</label>
|
19
|
-
<textarea class="form-element" rows="5" name="message" id="message" placeholder="Your Message" required></textarea>
|
20
|
-
|
21
|
-
<button class="btn btn-pop btn-outline btn-contact" type="submit">SEND</button>
|
22
|
-
|
23
|
-
</form>
|
24
|
-
</div>
|
data/_includes/contact-form.html
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
<div class="contact-form">
|
2
|
-
<h4 class="form-instruction">Get in touch using the form below</h4>
|
3
|
-
|
4
|
-
<form action="https://formspree.io/f/{{ site.formspree }}" method="post" >
|
5
|
-
|
6
|
-
<label for="name">Enter your full name</label>
|
7
|
-
<input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
|
8
|
-
|
9
|
-
<label for="email">Enter your email</label>
|
10
|
-
<input type="text" class="form-element" name="email" id="email" placeholder="Your email" required>
|
11
|
-
|
12
|
-
<label for="message">Enter your message</label>
|
13
|
-
<textarea class="form-element" rows="5" name="message" id="message" placeholder="Your Message" required></textarea>
|
14
|
-
|
15
|
-
<button class="btn btn-pop btn-outline btn-contact" type="submit">SEND</button>
|
16
|
-
|
17
|
-
</form>
|
18
|
-
</div>
|