slow-steps 0.3.2 → 0.3.3

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 (45) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +1 -1
  3. data/_config.yml +3 -3
  4. data/_includes/footer/footer.html +64 -7
  5. data/_includes/footer/footer_redesign.html +107 -0
  6. data/_includes/forms/mc-register.html +126 -108
  7. data/_includes/head/descriptors/og-meta.html +0 -1
  8. data/_includes/head/descriptors/structured-data.html +3 -3
  9. data/_includes/head/descriptors/twitter-meta.html +1 -1
  10. data/_includes/head/head.html +3 -3
  11. data/_includes/image-post.html +1 -1
  12. data/_layouts/default.html +1 -1
  13. data/_layouts/env/clinician.html +2 -2
  14. data/_layouts/env/landing.html +2 -2
  15. data/_layouts/faq.html +3 -0
  16. data/_layouts/feed.html +1 -1
  17. data/_layouts/post.html +1 -1
  18. data/_sass/_functions.sass +9 -0
  19. data/_sass/_mixins.sass +3 -2
  20. data/_sass/about.sass +3 -1
  21. data/_sass/breakpoints/about.sass +11 -2
  22. data/_sass/collage.sass +1 -1
  23. data/_sass/contact.sass +2 -2
  24. data/_sass/env/clinician.sass +3 -2
  25. data/_sass/env/landing.sass +18 -3
  26. data/_sass/env/pwp.sass +4 -2
  27. data/_sass/faq.sass +9 -1
  28. data/_sass/feed.sass +2 -2
  29. data/_sass/footer.sass +174 -14
  30. data/_sass/footer_redesign.sass +351 -0
  31. data/_sass/global.sass +29 -2
  32. data/_sass/navigation/_variables.sass +3 -3
  33. data/_sass/navigation/base.sass +14 -4
  34. data/_sass/navigation/breakpoints/1024.sass +13 -6
  35. data/_sass/navigation/burger.sass +1 -1
  36. data/_sass/typography/_variables.sass +2 -2
  37. data/_sass/typography/resets.sass +2 -2
  38. data/assets/css/env/gaitq_clinician.sass +1 -1
  39. data/assets/css/env/gaitq_landing.sass +1 -1
  40. data/assets/css/env/gaitq_pwp.sass +1 -1
  41. data/assets/css/gaitq_errors.sass +1 -1
  42. data/assets/js/mobile-nav-slider.js +1 -1
  43. metadata +4 -4
  44. data/_includes/footer/footer_full.html +0 -79
  45. data/_sass/footer_full.sass +0 -183
@@ -8,7 +8,6 @@
8
8
  {% if page.id %}
9
9
  {%- assign facebook = site.socials | where: 'name', 'Facebook' -%}
10
10
 
11
-
12
11
  article" />
13
12
  <meta
14
13
  property=article:publisher
@@ -23,7 +23,7 @@
23
23
  /* Person */
24
24
  "@type": "Person",
25
25
  "@context": "http://schema.org",
26
- "name": "{{ site.title }}",
26
+ "name": "{{ site.data.authors.default.name }}",
27
27
  "description": "{{ site.description }}",
28
28
  "image": "{{ site.url }}{{ site.baseurl }}{{ site.fallback_path }}{{ site.brand }}"} ]
29
29
  } , {
@@ -72,12 +72,12 @@
72
72
  "author": {
73
73
  "@type": "Person",
74
74
  "name":
75
- "{%- if page.author -%}{{ site.data.authors[page.author].name }}{%- else -%}{{ site.title }}{% endif %}"
75
+ "{%- if page.author -%}{{ site.data.authors[page.author].name }}{%- else -%}{{ site.data.authors.default.name }}{% endif %}"
76
76
  },
77
77
  "creator": {
78
78
  "@type": "Person",
79
79
  "name":
80
- "{%- if page.author -%}{{ site.data.authors[page.author].name }}{%- else -%}{{ site.title }}{% endif %}"
80
+ "{%- if page.author -%}{{ site.data.authors[page.author].name }}{%- else -%}{{ site.data.authors.default.name }}{% endif %}"
81
81
  },
82
82
  "publisher": {
83
83
  "@type": "Organization",
@@ -3,7 +3,7 @@
3
3
  <meta name="twitter:card" content="summary_large_image" />
4
4
 
5
5
  <meta name="twitter:site" content="@{{ site.data.socials.twitter.username }}" />
6
- <meta name="twitter:creator" content="@{{ site.author.twitter }}">
6
+ <meta name="twitter:creator" content="@{{ site.data.authors.default.twitter }}">
7
7
  <meta name="twitter:title" content="{% if page.url == "/" %} {{ site.title }} | {{ site.subtitle }} {% else %} {{ page.title }} | {{ site.title }}{% endif %}" />
8
8
 
9
9
  <meta name="twitter:description" content="{% if page.description == null %} {{ site.description }}
@@ -26,10 +26,10 @@
26
26
 
27
27
  <meta name="keywords" content="{{ site.keywords }}" />
28
28
 
29
- <meta name="author" content="{{ site.author.name }}" />
29
+ <meta name="author" content="{{ site.data.authors.default.name }}" />
30
30
 
31
31
  {% assign date = 'now' | date: "%Y" %}
32
- <meta name="copyright" content="Copyright {{ site.title | append: ' Ltd. ' | append: date }}" />
32
+ <meta name="copyright" content="Copyright {{ site.title | append: ' Limited ' | append: date }}" />
33
33
 
34
34
  <meta name="robots" content="follow" />
35
35
 
@@ -37,7 +37,7 @@
37
37
 
38
38
  <link rel="preconnect" href="https://fonts.gstatic.com">
39
39
 
40
- <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@300;400;500;600;700&display=swap" rel="stylesheet">
40
+ <link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500&display=swap" rel="stylesheet">
41
41
 
42
42
  <link rel="shortcut icon" type="image/x-icon" href="{{ site.fallback_path | append: site.favicon | relative_url }}">
43
43
 
@@ -3,7 +3,7 @@
3
3
  -->
4
4
  <div class="post__image">
5
5
 
6
- {% picture {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image" %}
6
+ {% picture post {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image" %}
7
7
 
8
8
  {% if include.caption %}
9
9
  <p class="image--caption">{{ include.caption }}</p>
@@ -8,6 +8,6 @@ layout: compress
8
8
 
9
9
  {{ content }}
10
10
 
11
- {% include footer/footer_full.html %}
11
+ {% include footer/footer_redesign.html %}
12
12
 
13
13
  {% include scripts.html %}
@@ -12,7 +12,7 @@ Last full read through 27/12/2020
12
12
 
13
13
  -->
14
14
 
15
- <!-- assign description with site decsription as fallback -->
15
+ <!-- assign description with site.decsription fallback -->
16
16
 
17
17
  {% if site.data.copy.landing.clinician.description %}
18
18
  {% assign description = site.data.copy.landing.clinician.description %}
@@ -29,7 +29,7 @@ Last full read through 27/12/2020
29
29
 
30
30
  <div class="hero__strap hero__strap--baseline bg--env-100">
31
31
  <h2>{{ site.data.copy.landing.clinician.title }}</h2>
32
- <p data-aos="fade-up">{{ site.data.copy.landing.clinician.description }}</p>
32
+ <p>{{ site.data.copy.landing.clinician.description }}</p>
33
33
  </div>
34
34
 
35
35
  <div class="hero__follow"></div>
@@ -34,7 +34,7 @@ Last full read through 27/12/2020
34
34
  <div class="landing__strap">
35
35
  <p>{{ site.data.copy.landing.landing.pwp }}</p>
36
36
  <div class="landing__cta">
37
- <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">Sign up</a>
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>
39
39
  </div>
40
40
  </div>
@@ -68,7 +68,7 @@ Last full read through 27/12/2020
68
68
  <div class="landing__strap">
69
69
  <p>{{ site.data.copy.landing.landing.clinician }}</p>
70
70
  <div class="landing__cta">
71
- <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">Register interest</a>
71
+ <a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">{{ cta.name }}</a>
72
72
  <a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url | relative_url }}">More Info</a>
73
73
  </div>
74
74
  </div>
@@ -27,6 +27,8 @@ layout: default
27
27
 
28
28
  <div class="faq__wrapper">
29
29
  {% for faq in site.data.faq %}
30
+
31
+ {% if faq.display == 'all' or faq.display == page.env %}
30
32
  <div class="faq__panel">
31
33
  <div class="faq__question">
32
34
  <h4 class="faq__question--title">{{ faq.question }}</h4><i class="fas fa-chevron-down"></i>
@@ -36,6 +38,7 @@ layout: default
36
38
  <p>{{ faq.answer }}</p>
37
39
  </div>
38
40
  </div>
41
+ {% endif %}
39
42
  {% endfor %}
40
43
  </div>
41
44
 
@@ -18,7 +18,7 @@ layout: default
18
18
 
19
19
  {% for post in site.posts %}
20
20
 
21
- <div class="feed__card">
21
+ <div class="feed__card" data-aos="fade-up">
22
22
 
23
23
  <div class="feed__card__image">
24
24
  {% picture thumb {{ post.image | prepend: 'posts/' }} --alt {{ post.alt }} --img class="feed__card--image" %}
@@ -8,7 +8,7 @@ layout: default
8
8
 
9
9
  <div class="post__title">
10
10
  <h1 >{{ page.title }}</h1>
11
- <p class="post__meta">{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }} | {{ page.date | date: "%d-%m-%y" }}</p>
11
+ <p class="post__meta">{%- if page.author -%}{{ site.data.authors[page.author].name }} | {{ site.data.authors[page.author].email }}{%- else -%}{{ site.data.authors.default.name }} | {{ site.data.authors.default.email }}{% endif %} | {{ page.date | date: "%d-%m-%y" }}</p>
12
12
  </div>
13
13
  </section>
14
14
 
@@ -1,2 +1,11 @@
1
1
  @function url-friendly-colour($colour)
2
2
  @return '%23' + str-slice('#{$colour}', 2, -1)
3
+
4
+
5
+ // Remove the unit of a length
6
+ // https://css-tricks.com/snippets/sass/strip-unit-function/
7
+ @function strip-unit($number)
8
+ @if type-of($number) == 'number' and not unitless($number)
9
+ @return $number / ($number * 0 + 1)
10
+
11
+ @return $number
@@ -31,8 +31,9 @@
31
31
  // Landing page animations - hover and focus
32
32
 
33
33
  @mixin reveal-landing-strap
34
- height: 30vh
35
- padding: 0 3rem
34
+ height: auto
35
+ max-height: 400px
36
+
36
37
 
37
38
  // Snappy build function, see /_sass/_variables.sass for $bezier-snap
38
39
  @mixin build-in($name)
@@ -35,7 +35,7 @@
35
35
 
36
36
  .about--video
37
37
  width: 100vw
38
- background-color: $opd-grey
38
+ //background-color: $opd-grey
39
39
  display: flex
40
40
  flex-direction: column
41
41
  padding: 5rem 0
@@ -45,6 +45,7 @@
45
45
  color: $env-primary
46
46
  text-align: center
47
47
  padding: 1rem
48
+
48
49
  .video__container
49
50
  display: block
50
51
  position: relative
@@ -194,6 +195,7 @@
194
195
  font-size: $font-size * .6
195
196
 
196
197
  .info__reveal
198
+ align-items: baseline
197
199
  height: $font-size * 1
198
200
  padding-bottom: $font-size * 2
199
201
  transform: translateY(0)
@@ -1,5 +1,5 @@
1
1
 
2
- @media screen and ( min-width: 768px )
2
+ @media screen and ( min-width: 1024px )
3
3
 
4
4
  .about--copy
5
5
  max-width: 800px
@@ -20,8 +20,17 @@
20
20
  text-align: left
21
21
 
22
22
  .video__container
23
+ display: block
24
+ position: relative
25
+ width: 100%
23
26
  padding-top: 56.25%
24
- //margin-right: 5rem
27
+ background-color: $env-primary
28
+ iframe
29
+ position: absolute
30
+ margin: auto
31
+ width: 75%
32
+ height: 100%
33
+
25
34
 
26
35
  .team__head
27
36
  border-bottom: none
@@ -116,7 +116,7 @@ p.job__links
116
116
  background-color: $env-primary
117
117
  padding: 1rem 2.5rem
118
118
  border-radius: 8px
119
- font-weight: 600
119
+ font-weight: $heavy-font
120
120
  margin-right: 3rem
121
121
  @include default-trans
122
122
  &:hover
@@ -69,7 +69,7 @@
69
69
  height: 40px
70
70
  border-radius: 4px
71
71
  //font-size: 1rem
72
- font-weight: 100
72
+ font-weight: $medium-font
73
73
  margin: 2vh 0
74
74
  border: none
75
75
  background-color: $pure-white
@@ -152,7 +152,7 @@
152
152
  height: 40px
153
153
  border-radius: 4px
154
154
  //font-size: 1rem
155
- font-weight: 100
155
+ font-weight: $medium-font
156
156
  margin: 2vh 0
157
157
  border: none
158
158
  background-color: $pure-white
@@ -5,6 +5,7 @@
5
5
  *##############################################
6
6
  *
7
7
  */
8
+ $hero-follow-bottom: 59.5vh
8
9
 
9
10
  .image__filter--blur
10
11
  @include image-filter--blur
@@ -20,8 +21,8 @@
20
21
 
21
22
  .hero__follow
22
23
  background-color: $env-primary
23
- top: 59.5vh
24
- top: calc(var(--vh, 1vh) * 59.5)
24
+ top: $hero-follow-bottom
25
+ top: calc(var(--vh, 1vh) * #{strip-unit($hero-follow-bottom)})
25
26
 
26
27
  .segment__keywords
27
28
  align-items: center
@@ -9,11 +9,23 @@
9
9
  // Fallback for browsers that do not support Custom Properties
10
10
  $landing-height: 100vh
11
11
 
12
+ body
13
+ animation: fadeInAnimation ease 1s
14
+ animation-iteration-count: 1
15
+ animation-fill-mode: forwards
16
+
17
+ @keyframes fadeInAnimation
18
+ 0%
19
+ opacity: 0
20
+
21
+ 100%
22
+ opacity: 1
23
+
12
24
  .landing__page
13
25
  display: flex
14
26
  flex-direction: column
15
27
  height: $landing-height
16
- height: calc(var(--vh, 1vh) * 100)
28
+ height: calc(var(--vh, 1vh) * #{strip-unit($landing-height)})
17
29
 
18
30
  .page__half
19
31
  align-items: flex-end
@@ -76,19 +88,22 @@ $landing-height: 100vh
76
88
  @include reveal-landing-strap
77
89
 
78
90
  .landing__strap
91
+ @include default-trans
79
92
  display: flex
80
93
  flex-direction: column
81
- height: 0
94
+ max-height: 0
82
95
  justify-content: space-around
83
96
  max-width: 400px
84
97
  overflow: hidden
85
- transition: .2s ease-in-out
86
98
  width: 40vw
99
+ padding: 0 3rem
87
100
 
88
101
  .landing__cta
102
+ font-size: $sm-font-size
89
103
  display: flex
90
104
  flex-direction: row
91
105
  justify-content: space-between
106
+ padding: $font-size 0
92
107
 
93
108
  > a
94
109
  align-self: center
@@ -6,6 +6,8 @@
6
6
  *
7
7
  */
8
8
 
9
+ $hero-follow-top: 4.5vh
10
+
9
11
  .image__filter--blur
10
12
  @include image-filter--blur
11
13
 
@@ -26,8 +28,8 @@
26
28
 
27
29
  .hero__follow
28
30
  background-color: $env-primary
29
- bottom: 4.5vh
30
- bottom: calc(var(--vh, 1vh) * 4.5)
31
+ bottom: $hero-follow-top
32
+ bottom: calc(var(--vh, 1vh) * #{strip-unit($hero-follow-top)})
31
33
 
32
34
  .segment__wrap
33
35
  display: flex
@@ -8,7 +8,8 @@
8
8
  border: solid 1px rgba($env-primary, .4)
9
9
  margin: 2rem auto
10
10
  border-radius: 4px
11
- width: 60%
11
+ width: 90%
12
+ z-index: 9997
12
13
 
13
14
  .faq__question
14
15
  display: flex
@@ -31,6 +32,7 @@
31
32
  transition: .4s ease-in-out
32
33
 
33
34
  .faq__answer
35
+ height: 0
34
36
  max-height: 0
35
37
  overflow: hidden
36
38
  transition: .4s ease-in-out
@@ -39,6 +41,7 @@
39
41
  padding: 1rem
40
42
 
41
43
  .faq__answer--reveal
44
+ height: 100%
42
45
  max-height: 1000px
43
46
  transition: .6s ease-in-out
44
47
 
@@ -60,3 +63,8 @@
60
63
  text-align: center
61
64
  padding: 4rem 0
62
65
  color: $white
66
+
67
+ @media screen and ( min-width: 1024px )
68
+ .faq__panel
69
+ width: 60%
70
+ max-width: 800px
@@ -65,13 +65,13 @@
65
65
 
66
66
  .feed__card--title
67
67
  transition: .2s ease-in-out
68
- font-weight: 600
68
+ font-weight: $heavy-font
69
69
 
70
70
  .feed__card--meta
71
71
  font-size: $font-size * .5
72
72
  padding: 0
73
73
  & > span
74
- font-weight: 600
74
+ font-weight: $heavy-font
75
75
 
76
76
  @media screen and ( min-width: 768px )
77
77
 
@@ -1,23 +1,183 @@
1
- .ft__wrap
2
- max-width: 100vw
3
- background-color: $opd-grey
4
- padding: 3rem 2rem
1
+
2
+
3
+ .ft__wrapper
4
+ @include footer-bg($opd-blue)
5
+ border-top: solid 1px $white
6
+ color: $white
7
+ display: flex
8
+ flex-wrap: wrap
9
+ padding: 5vh 5vw
10
+
11
+ .social-media-link
12
+ font-size: $font-size
13
+ padding-right: $sm-font-size
14
+ //color: $white
15
+
16
+
17
+ .ft__head
18
+ display: flex
19
+ margin: 5vh 5vw
20
+ width: 100%
21
+
22
+ .ft__body
23
+ display: flex
24
+ flex-direction: column-reverse
25
+ flex-wrap: wrap
26
+ margin: 5vh 0
27
+ width: 90vw
28
+
29
+ .ft__col
30
+ //border-left: solid 1px rgba($opd-light-blue, .05)
31
+ box-sizing: border-box
32
+ padding: 0 5vw
33
+ width: 90vw
34
+
35
+ .ft__contact--list
36
+ display: block
37
+ font-size: $font-size * .8
38
+ list-style: none
39
+ padding: 0
40
+ text-decoration: none
41
+ li
42
+ line-height: 5rem
43
+ .address
44
+ line-height: 2.5rem
45
+
46
+ .ft__contact
47
+ .site__logo
48
+ @include logo-color($white)
49
+ width: 40vw
50
+
51
+ .ft__sitemap
52
+ .ft__sitemap--env-header
53
+ font-size: $font-size * 1
54
+ font-weight: $heavy-font
55
+ .ft__sitemap--submenu
56
+ font-size: $font-size * .8
5
57
 
6
58
  .ft__base
7
- font-size: 1rem
59
+ align-items: center
60
+ border-top: solid 1px $opd-light-blue
8
61
  display: flex
9
- flex-direction: row
10
- justify-content: space-between
62
+ flex-wrap: wrap
11
63
 
12
- .legal-links, .owner-links
64
+ justify-content: space-around
65
+ min-width: 100%
66
+ width: 100%
67
+ a,
68
+ p
69
+ color: inherit
70
+ font-size: $font-size * .7
71
+ margin: 0
72
+ padding: .5rem .1rem
73
+ text-decoration: none
74
+
75
+ .legal-links
13
76
  display: flex
14
77
  flex-direction: column
15
78
  justify-content: space-between
16
- a
79
+
80
+ .ft__sitemap--header
81
+ border-bottom: 1px solid $opd-light-blue
82
+ color: $pure-white
83
+ font-size: 2rem
84
+ font-weight: $heavy-font
85
+ margin-bottom: 3rem
86
+ width: 100%
87
+
88
+ .ft__sitemap--menu,
89
+ .ft__sitemap--submenu
90
+ padding: 0
91
+ width: 100%
92
+
93
+ .ft__sitemap--submenu
94
+ padding-bottom: 2rem
95
+ li
96
+ display: block
97
+ line-height: 3rem
98
+ list-style: none
99
+
100
+ .ft--link
101
+ color: $pure-white
102
+
103
+ .ft__sitemap--env-wrap
104
+ display: flex
105
+ flex-direction: column
106
+ flex-wrap: wrap
107
+
108
+ .ft__sitemap--env
109
+ width: 100%
110
+
111
+ @media screen and ( min-width: 768px )
112
+
113
+ .ft__wrapper
114
+ border: none
115
+
116
+ .ft__body
117
+ flex-direction: row
118
+
119
+ .ft__col
120
+ width: 20vw
121
+
122
+ .ft__col.ft__sitemap
123
+ width: 60vw
124
+
125
+ .ft__contact--list
126
+ font-size: $font-size * .8
127
+ li
128
+ line-height: 4rem
129
+ .address
130
+ line-height: 2rem
131
+
132
+ .ft__contact
133
+ .site__logo
134
+ width: 10vw
135
+
136
+ .ft__sitemap
137
+ .ft__sitemap--env-header
138
+ font-size: $font-size * .9
139
+ .ft__sitemap--submenu
140
+ font-size: $font-size * .8
141
+
142
+ .ft__base
143
+ justify-content: space-between
144
+ a,
145
+ p
146
+ font-size: $font-size * .7
147
+
148
+ .legal-links
149
+ flex-direction: row
150
+ a
151
+ &::after
152
+ content: " |"
153
+
154
+ &:last-child
155
+ &::after
156
+ content: ""
157
+
158
+ .copyright
159
+ &::after
160
+ content: ' Ltd.'
161
+
162
+ .ft__sitemap--header
163
+ font-size: 1.8rem
164
+
165
+ .ft__sitemap--submenu li a
17
166
  text-decoration: none
18
- color: $black
19
- a, p
20
- padding: .4rem 0
21
167
 
22
- .legal-links
23
- text-align: right
168
+ .ft__sitemap--submenu
169
+ li
170
+ transition: .2s ease-in-out
171
+
172
+ &:hover > li
173
+ opacity: .5
174
+
175
+ li
176
+ &:hover
177
+ opacity: 1
178
+
179
+ .ft__sitemap--env-wrap
180
+ flex-direction: row
181
+
182
+ .ft__sitemap--env
183
+ width: 50%