slow-steps 0.4.10 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d1dac6e17c47ad6a0d05c9cb5d5ea3b3e9346715404bd65cead12c4303ff741d
4
- data.tar.gz: ab8509bd4728c1582fce247058bac78a135aabb88dc3adb26b60502f14dd4544
3
+ metadata.gz: e123b0e7f6c8b7ebcc34ab9306a321a294243fc3f7befc8bbd49965d4d7a0505
4
+ data.tar.gz: b6c2057ed0bcc61e007659a50636296da602b3aa79e9320aba7fb646b70e315d
5
5
  SHA512:
6
- metadata.gz: c51adbd17b2b958bb9ccbb06f7d4936d9b28dbeecd9c087989d11b0c27528aa947890b6ee6b4e476eab1d6fbea29e6e7f0707fa9b171495433c302785bb82726
7
- data.tar.gz: 35797752c5fc5b5b32c62837c3f19beb1212bfea9df9ac23018624f77564dbd32f3f8d53cd81d8143c059974afaa48f8a00b79fc462174a0c880ad5110e20820
6
+ metadata.gz: 447856377e6afe564ab4bc46df84f56d2cc9df1d85b283dd2fbc991f478baf9693443f5978003ab2a9f8bc66589c7b267c64cae6d424d1e50e438abb38e81d46
7
+ data.tar.gz: c34a1c156a0830aec0b1ff6f074ed7e52f2e3c4f71426a2a1d0b2c98c58837fd43a48c59ca673f106d6a5762627e20d1b4966fd872a0d312f8dea589dc38f4b3
data/README.md CHANGED
@@ -70,7 +70,7 @@ https://github.com/madeslowly/slow-steps/
70
70
  | ├─ env/ # Environmental specific layouts
71
71
  | | |
72
72
  | | ├─ clinician.html # Professionals and press
73
- | | ├─ pwp.html # Patients and carers
73
+ | | ├─ walk.html # Patients and carers
74
74
  | | ├─ landing.html # Landing page only
75
75
  | |
76
76
  | ├─ compress.html # Final step for all pages. Strips html comments, carriage returns and white space.
@@ -89,7 +89,7 @@ https://github.com/madeslowly/slow-steps/
89
89
  | | |
90
90
  | | ├─ env/ # Environmental specific colors
91
91
  | | | |
92
- | | | ├─ pwp.sass # pwp environmental colors
92
+ | | | ├─ walk.sass # walk environmental colors
93
93
  | | |
94
94
  | | ├─ _variable.sass # <nav> settings
95
95
  | | ├─ burger.sass # Mobile burger
@@ -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>
@@ -0,0 +1,15 @@
1
+ <!-- kwes contact form only, header and styling in laytout -->
2
+ <form class="kwes-form" action="https://kwes.io/api/foreign/forms/{{ site.kwes }}">
3
+
4
+ <label for="name">Enter your full name</label>
5
+ <input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
6
+
7
+ <label for="email">Enter your email</label>
8
+ <input type="text" class="form-element" name="email" id="email" placeholder="Your email" required>
9
+
10
+ <label for="message">Enter your message</label>
11
+ <textarea class="form-element" rows="5" name="message" id="message" placeholder="Your Message" required></textarea>
12
+
13
+ <button class="btn btn-pop btn-outline btn-contact" type="submit">SEND</button>
14
+
15
+ </form>
@@ -117,12 +117,12 @@
117
117
 
118
118
  <!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
119
119
  <div style="position: absolute; left: -5000px;" aria-hidden="true">
120
- <input type="text" name="{{ site.data.forms.pwp.botspot-name }}" tabindex="-1" value="">
120
+ <input type="text" name="{{ site.data.forms.walk.botspot-name }}" tabindex="-1" value="">
121
121
  </div>
122
122
 
123
123
  <div class="mc-field-group input-group" style="position: absolute; left: -5000px;" aria-hidden="true">
124
124
  <select name="USERTYPE" class="required" id="mce-USERTYPE" >
125
- {% if page.env == 'pwp' %}
125
+ {% if page.env == 'walk' %}
126
126
  <option value="PwP" selected></option>
127
127
  {% else %}
128
128
  <option value="Clinician" selected></option>
@@ -28,4 +28,4 @@ This is how we control the indexing of our pages with search engines, in particu
28
28
 
29
29
  ### conditional.html
30
30
 
31
- Conditional `<link rel="stylesheet"` to style each environment. We do this so that we only load the css needed for a given page. All pages get gaitq_global.css. With front matter we include environmental stylesheet with `env: pwp | clinician`. The existence of `page.env` triggers conditional.html.
31
+ Conditional `<link rel="stylesheet"` to style each environment. We do this so that we only load the css needed for a given page. All pages get gaitq_global.css. With front matter we include environmental stylesheet with `env: walk | clinician`. The existence of `page.env` triggers conditional.html.
@@ -1,5 +1,5 @@
1
1
 
2
- <!-- No navigation on landing, we split the diplay with <a's pointing to pwp or clinician. This is done in the landing.html layout. -->
2
+ <!-- No navigation on landing, we split the diplay with <a's pointing to walk or clinician. This is done in the landing.html layout. -->
3
3
 
4
4
  <nav class="navbar">
5
5
 
@@ -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>
@@ -31,7 +31,10 @@ layout: default
31
31
  <div class="contact__wrapper" id="content">
32
32
 
33
33
  <div class="contact--left">
34
- {% include contact-form.html %}
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">
@@ -14,7 +14,7 @@ Last full read through 27/12/2020
14
14
 
15
15
  <div class="landing__page">
16
16
  <!-- setup liquid variables -->
17
- {%- assign env = site.data.menu.navigation | where: 'env', 'pwp' -%}
17
+ {%- assign env = site.data.menu.navigation | where: 'env', 'walk' -%}
18
18
  {%- assign env = env[0] -%}
19
19
 
20
20
  {%- assign cta = env.submenu | where: 'cta', 'true' -%}
@@ -25,14 +25,14 @@ Last full read through 27/12/2020
25
25
 
26
26
  <div class="page__half">
27
27
 
28
- <div class="env__text env--pwp">
28
+ <div class="env__text env--walk">
29
29
 
30
30
  <a class="landing__link" aria-label="{{ env.aria }}" href="{{ env.url | relative_url }}">
31
31
 
32
32
  <h3 class="landing__title">{{ env.name | upcase }}</h3></a>
33
33
 
34
34
  <div class="landing__strap">
35
- <p>{{ site.data.copy.landing.landing.pwp }}</p>
35
+ <p>{{ site.data.copy.landing.landing.walk }}</p>
36
36
  <div class="landing__cta">
37
37
  <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">{{ cta.name }}</a>
38
38
  <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url | relative_url }}">More Info</a>
@@ -41,10 +41,10 @@ Last full read through 27/12/2020
41
41
 
42
42
  </div>
43
43
 
44
- <div class="hero__overlay env--pwp">
45
- {%- picture {{ page.pwp.image | prepend: 'content/' }}
44
+ <div class="hero__overlay env--walk">
45
+ {%- picture {{ page.walk.image | prepend: 'content/' }}
46
46
  --img class="hero__image hero__filter pwp__hero h-100"
47
- --alt {{ page.pwp.alt }} -%}</div>
47
+ --alt {{ page.walk.alt }} -%}</div>
48
48
 
49
49
  </div>
50
50
 
@@ -7,7 +7,7 @@ layout: default
7
7
  Last full read through 27/12/2020
8
8
 
9
9
  ##############################################
10
- # PWP Layout /_layouts/env/pwp.html
10
+ # PWP Layout /_layouts/env/walk.html
11
11
  ##############################################
12
12
 
13
13
  -->
@@ -15,8 +15,8 @@ Last full read through 27/12/2020
15
15
 
16
16
  <!-- assign description with site decsription as fallback -->
17
17
 
18
- {% if site.data.copy.landing.pwp.description %}
19
- {% assign description = site.data.copy.landing.pwp.description %}
18
+ {% if site.data.copy.landing.walk.description %}
19
+ {% assign description = site.data.copy.landing.walk.description %}
20
20
  {% else %}
21
21
  {% assign description = site.description %}
22
22
  {% endif %}
@@ -31,7 +31,7 @@ Last full read through 27/12/2020
31
31
  <div class="hero__strap hero__strap--center hero__strap--env">
32
32
  <h1>
33
33
  <span class="hero__strap--start">
34
- {% assign header = site.data.copy.landing.pwp %}
34
+ {% assign header = site.data.copy.landing.walk %}
35
35
  {% assign title = header.title | split: " " %}
36
36
  {% assign n = header.split %}
37
37
  {% for word in (1..title.size) %}
@@ -79,8 +79,8 @@ Last full read through 27/12/2020
79
79
  </div>
80
80
 
81
81
  <div class="center-text strap__100 strap--opd-trust" id="content">
82
- <h2>{{ site.data.copy.landing.pwp.subtitle }}</h2>
83
- <p data-aos="fade-in">{{ site.data.copy.landing.pwp.strap }}</p>
82
+ <h2>{{ site.data.copy.landing.walk.subtitle }}</h2>
83
+ <p data-aos="fade-in">{{ site.data.copy.landing.walk.strap }}</p>
84
84
  </div>
85
85
 
86
86
  <div class="segment__wrap">
@@ -93,7 +93,7 @@ Last full read through 27/12/2020
93
93
  {{ description }}</p></div>
94
94
 
95
95
  <div class="center-text segment__keywords strap--opd-trust">
96
- {% assign keyword = site.data.copy.landing.pwp.keywords | split: ", " %}
96
+ {% assign keyword = site.data.copy.landing.walk.keywords | split: ", " %}
97
97
  {% for word in (1..keyword.size) %}
98
98
  <h3 data-aos="fade-in">{{ keyword[forloop.index0] }}</h3>
99
99
  {% endfor %}</div>
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
- {% include contact-form-faq.html %}
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>
@@ -22,6 +22,6 @@ Collection of the above definitions.
22
22
 
23
23
  Theme colouring for clinician environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
24
24
 
25
- ## _pwp.sass
25
+ ## walk.sass
26
26
 
27
- Theme colouring for pwp environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
27
+ Theme colouring for walk environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
@@ -1,5 +1,5 @@
1
1
  @import 'collection'
2
- // Colouring theme for pwp env
2
+ // Colouring theme for walk env
3
3
 
4
4
  $env-primary: $opd-coral
5
5
 
@@ -1,3 +1,5 @@
1
1
  @import '_variables'
2
2
 
3
3
  @import '_mixins'
4
+
5
+ @import 'global'
@@ -0,0 +1,5 @@
1
+ .white
2
+ color: $pure-white
3
+
4
+ .blue
5
+ color: $opd-blue
data/_sass/contact.sass CHANGED
@@ -19,12 +19,6 @@
19
19
  .form-instruction
20
20
  padding-bottom: $font-size
21
21
  padding-top: $lg-font-size
22
- color: $env-primary
23
-
24
- .form-instruction-FAQ
25
- padding-bottom: $font-size
26
- padding-top: $lg-font-size
27
- color: $pure-white
28
22
 
29
23
  .contact-form
30
24
  width: 100%
@@ -59,7 +59,7 @@ body
59
59
  .hero__filter
60
60
  @include image-filter--mix
61
61
 
62
- .env--pwp
62
+ .env--walk
63
63
  background-color: $opd-coral
64
64
 
65
65
  .env--clinician
@@ -135,7 +135,7 @@ body
135
135
  &:hover
136
136
  box-shadow: 0 10px 15px -5px rgba($pure-black, .5)
137
137
 
138
- .env__text.env--pwp
138
+ .env__text.env--walk
139
139
  @include build-in(slide-from-left)
140
140
  border-radius: 6px 0 0 6px
141
141
  box-shadow: -12px 10px 10px -10px $grey
@@ -162,7 +162,7 @@ body
162
162
  height: 100%
163
163
  top: 0
164
164
 
165
- .env--pwp
165
+ .env--walk
166
166
  .landing__title
167
167
  text-align: right
168
168
 
@@ -1,7 +1,7 @@
1
1
  /* Last full read through 27/12/2020
2
2
  *
3
3
  *##############################################
4
- *# pwp landing sass /_sass/env/pwp.sass
4
+ *# walk landing sass /_sass/env/walk.sass
5
5
  *##############################################
6
6
  *
7
7
  */
data/_sass/faq.sass CHANGED
@@ -53,6 +53,7 @@
53
53
  width: 100vw
54
54
  background-color: lighten($env-primary, 0%)
55
55
  padding: 4rem 0
56
+ border-bottom: 1px solid $env-secondary
56
57
 
57
58
  .contact-form
58
59
  width: 95%
@@ -30,6 +30,6 @@ Unique settings for the landing page
30
30
 
31
31
  Unique settings for the clinician pages
32
32
 
33
- ## pwp.sass
33
+ ## walk.sass
34
34
 
35
- Unique settings for the pwp pages
35
+ Unique settings for the walk pages
@@ -2,7 +2,7 @@
2
2
 
3
3
  @media screen and ( min-width: 1024px )
4
4
 
5
- .pwp-group-link, .clinician-group-link
5
+ .walk-group-link, .clinician-group-link
6
6
  display: flex
7
7
 
8
8
  .navbar
@@ -14,7 +14,7 @@
14
14
  background-color: $env-primary
15
15
 
16
16
  // on mobile and within an env we hide the other submenus
17
- .pwp-group
17
+ .walk-group
18
18
  display: none
19
19
 
20
20
  @media screen and ( min-width: 1024px )
@@ -19,7 +19,7 @@
19
19
 
20
20
  @media screen and ( min-width: 1024px )
21
21
 
22
- .pwp-group
22
+ .walk-group
23
23
  display: flex
24
24
  align-items: center
25
25
  width: 100vw
@@ -18,20 +18,20 @@ $baseurl: '{{ site.baseurl }}/'
18
18
 
19
19
 
20
20
 
21
- @import '_colors/_pwp'
21
+ @import '_colors/walk'
22
22
 
23
23
 
24
24
 
25
25
 
26
26
 
27
- @import 'navigation/pwp'
27
+ @import 'navigation/walk'
28
28
 
29
29
 
30
30
 
31
31
 
32
32
 
33
33
 
34
- @import 'env/pwp'
34
+ @import 'env/walk'
35
35
 
36
36
  @import 'env/breakpoints/768'
37
37
 
@@ -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,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slow-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.10
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Made Slowly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-05-25 00:00:00.000000000 Z
11
+ date: 2021-05-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -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,8 @@ 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
194
+ - _includes/forms/kwes-contact.html
195
195
  - _includes/forms/mc-register.html
196
196
  - _includes/functions/calc-svg-coord.html
197
197
  - _includes/functions/reposition-svg-labels.html
@@ -216,7 +216,7 @@ files:
216
216
  - _layouts/default.html
217
217
  - _layouts/env/clinician.html
218
218
  - _layouts/env/landing.html
219
- - _layouts/env/pwp.html
219
+ - _layouts/env/walk.html
220
220
  - _layouts/error-page.html
221
221
  - _layouts/faq.html
222
222
  - _layouts/feed.html
@@ -227,9 +227,10 @@ files:
227
227
  - _sass/_colors/README.md
228
228
  - _sass/_colors/_clinician.sass
229
229
  - _sass/_colors/_mixins.sass
230
- - _sass/_colors/_pwp.sass
231
230
  - _sass/_colors/_variables.sass
231
+ - _sass/_colors/_walk.sass
232
232
  - _sass/_colors/collection.sass
233
+ - _sass/_colors/global.sass
233
234
  - _sass/_functions.sass
234
235
  - _sass/_mixins.sass
235
236
  - _sass/_variables.sass
@@ -241,7 +242,7 @@ files:
241
242
  - _sass/env/breakpoints/768.sass
242
243
  - _sass/env/clinician.sass
243
244
  - _sass/env/landing.sass
244
- - _sass/env/pwp.sass
245
+ - _sass/env/walk.sass
245
246
  - _sass/error-page.sass
246
247
  - _sass/faq.sass
247
248
  - _sass/feed.sass
@@ -258,7 +259,7 @@ files:
258
259
  - _sass/navigation/collection.sass
259
260
  - _sass/navigation/colors.sass
260
261
  - _sass/navigation/no-nav.sass
261
- - _sass/navigation/pwp.sass
262
+ - _sass/navigation/walk.sass
262
263
  - _sass/post.sass
263
264
  - _sass/product.sass
264
265
  - _sass/typography/_variables.sass
@@ -266,10 +267,9 @@ files:
266
267
  - _sass/typography/resets.sass
267
268
  - assets/css/env/gaitq_clinician.sass
268
269
  - assets/css/env/gaitq_landing.sass
269
- - assets/css/env/gaitq_pwp.sass
270
+ - assets/css/env/gaitq_walk.sass
270
271
  - assets/css/gaitq_errors.sass
271
272
  - assets/css/gaitq_post.sass
272
- - assets/fonts/fontawesome-free-5.11.2-web/css/.DS_Store
273
273
  - assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css
274
274
  - assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.eot
275
275
  - assets/fonts/fontawesome-free-5.11.2-web/webfonts/fa-brands-400.svg
@@ -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>
@@ -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>