slow-steps 0.1.11 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (83) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE +21 -0
  3. data/README.md +35 -37
  4. data/_config.yml +1 -1
  5. data/_includes/footer/footer_full.html +15 -3
  6. data/_includes/functions/calc-svg-coord.html +18 -23
  7. data/_includes/functions/pull_page_args.html +3 -3
  8. data/_includes/head/head.html +9 -30
  9. data/_includes/head/stylesheets.html +20 -0
  10. data/_includes/image-post.html +12 -0
  11. data/_includes/image.html +50 -5
  12. data/_includes/navigation/global.html +47 -53
  13. data/_includes/scripts.html +9 -8
  14. data/_includes/vimeoPlayer.html +9 -10
  15. data/_layouts/about.html +17 -3
  16. data/_layouts/careers.html +22 -0
  17. data/_layouts/contact.html +1 -1
  18. data/_layouts/env/clinician.html +12 -29
  19. data/_layouts/env/pwp.html +13 -54
  20. data/_layouts/faq.html +12 -3
  21. data/_layouts/feed.html +1 -2
  22. data/_layouts/full-width.html +25 -2
  23. data/_sass/_colors/README.md +27 -0
  24. data/_sass/_colors/_clinician.sass +7 -0
  25. data/_sass/_colors/_mixins.sass +14 -0
  26. data/_sass/_colors/_pwp.sass +6 -0
  27. data/_sass/{colors → _colors}/_variables.sass +8 -17
  28. data/_sass/_colors/collection.sass +3 -0
  29. data/_sass/_mixins.sass +14 -5
  30. data/_sass/about.sass +46 -4
  31. data/_sass/breakpoints/about.sass +28 -4
  32. data/_sass/collage.sass +129 -0
  33. data/_sass/contact.sass +11 -42
  34. data/_sass/env/landing.sass +7 -7
  35. data/_sass/faq.sass +28 -3
  36. data/_sass/feed.sass +17 -5
  37. data/_sass/footer.sass +1 -1
  38. data/_sass/footer_full.sass +23 -13
  39. data/_sass/forms/mc-forms.sass +3 -3
  40. data/_sass/global.sass +40 -35
  41. data/_sass/navigation/README.md +35 -0
  42. data/_sass/navigation/_variables.sass +5 -6
  43. data/_sass/navigation/{global.sass → base.sass} +21 -20
  44. data/_sass/navigation/breakpoints/1024.sass +33 -15
  45. data/_sass/navigation/burger.sass +9 -3
  46. data/_sass/navigation/clinician.sass +31 -0
  47. data/_sass/navigation/collection.sass +9 -0
  48. data/_sass/navigation/colors.sass +8 -0
  49. data/_sass/navigation/no-nav.sass +32 -0
  50. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  51. data/_sass/post.sass +2 -7
  52. data/_sass/typography/_variables.sass +4 -0
  53. data/assets/css/env/gaitq_clinician.sass +26 -8
  54. data/assets/css/env/gaitq_landing.sass +21 -3
  55. data/assets/css/env/gaitq_pwp.sass +28 -8
  56. data/assets/css/gaitq_errors.sass +9 -3
  57. data/assets/css/gaitq_post.sass +5 -5
  58. data/assets/images/augmented_image.png +0 -0
  59. metadata +23 -31
  60. data/_includes/.DS_Store +0 -0
  61. data/_includes/head/.DS_Store +0 -0
  62. data/_includes/head/env/conditional.html +0 -2
  63. data/_sass/colors/breakpoints/1024.sass +0 -20
  64. data/_sass/colors/burger.sass +0 -22
  65. data/_sass/colors/env/_clinician.sass +0 -16
  66. data/_sass/colors/env/_pwp.sass +0 -16
  67. data/_sass/colors/global.sass +0 -2
  68. data/_sass/colors/navigation.sass +0 -13
  69. data/_sass/navigation/env/clinician.sass +0 -38
  70. data/_sass/navigation/env/landing.sass +0 -19
  71. data/assets/css/gaitq_about.sass +0 -22
  72. data/assets/css/gaitq_feed.sass +0 -12
  73. data/assets/css/gaitq_global.sass +0 -34
  74. data/assets/fonts/.DS_Store +0 -0
  75. data/assets/fonts/Quicksand/OFL.txt +0 -93
  76. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  77. data/assets/fonts/Quicksand/README.txt +0 -67
  78. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  79. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  80. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  81. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  82. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  83. data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
@@ -9,63 +9,57 @@
9
9
  </a>
10
10
  </div>
11
11
 
12
- <ul class="social-media">
13
-
14
- {% for social in site.socials %}
15
- <li class="social-media-item">
16
- <a href="{{ social.url }}">
17
- <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
18
- </li>
19
- {% endfor %}
12
+ {% if page.env != "landing" OR page.env != "error-page" %}
20
13
 
14
+ <ul class="social-media">
15
+ {% for social in site.socials %}
16
+ <li class="social-media-item">
17
+ <a href="{{ social.url }}">
18
+ <i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
19
+ </li>
20
+ {% endfor %}
21
21
  </ul>
22
22
 
23
- {% if page.layout == "env/landing" or page.layout == "error-page" %}
24
- </nav>
25
- {% else %}
26
- <ul class="nav-list">
27
-
28
- {% for item in site.data.menu.navigation %}
29
-
30
- <li class="nav-group">
31
- <a href="{{ item.url | relative_url }}" class="nav-group-link nav-link {{ item.env }}-group-link">
32
- <span>{{ item.name }}</span></a>
33
-
34
- <div class="nav-group-content {{ item.env }}-group">
35
- {% for sub in item.submenu %}
36
- <div class="nav-group-container">
37
- <a
38
- class="
39
- nav-link
40
- sub-link
41
- {% if page.url == sub.url %}
42
- current--url
43
- {% endif %}" href="{{ sub.url | relative_url }}">
44
- <span>{{ sub.name }}</span></a>
45
-
46
- {% if sub.subsubmenu %}
47
- <div class="nav-subsub-content ">
48
- {% for subsub in sub.subsubmenu %}
49
- <a class="nav-link subsub-link" href="{{ subsub.url | relative_url }}">
50
- <span>{{ subsub.name }}</span></a>
51
-
52
- {% endfor %}
53
- </div>
54
- {% endif %}
55
-
56
- </div>
57
- {% endfor %}
23
+ <ul class="nav-list">
24
+ {% for item in site.data.menu.navigation %}
25
+ <li class="nav-group">
26
+ <a href="{{ item.url | relative_url }}" class="nav-group-link nav-link {{ item.env }}-group-link">
27
+ <span>{{ item.name }}</span></a>
28
+ <div class="nav-group-content {{ item.env }}-group">
29
+ {% for sub in item.submenu %}
30
+ <div class="nav-group-container">
31
+ <a
32
+ class="
33
+ nav-link
34
+ sub-link
35
+ {% if page.url == sub.url %}
36
+ current--url
37
+ {% endif %}" href="{{ sub.url | relative_url }}">
38
+ <span>{{ sub.name }}</span></a>
39
+
40
+ {% if sub.subsubmenu %}
41
+ <div class="nav-subsub-content ">
42
+ {% for subsub in sub.subsubmenu %}
43
+ <a class="nav-link subsub-link" href="{{ subsub.url | relative_url }}">
44
+ <span>{{ subsub.name }}</span></a>
45
+
46
+ {% endfor %}
47
+ </div>
48
+ {% endif %}
58
49
 
59
50
  </div>
60
- </li>
61
- {% endfor %}
62
-
63
- </ul>
51
+ {% endfor %}
52
+ </div>
53
+ </li>
54
+ {% endfor %}
55
+ </ul>
64
56
 
65
- <div class="burger">
66
- <div class="burger-line-1"></div>
67
- <div class="burger-line-2"></div>
68
- <div class="burger-line-3"></div>
69
- </div>
70
- {% endif %}
57
+ <div class="burger">
58
+ <div class="burger-line-1"></div>
59
+ <div class="burger-line-2"></div>
60
+ <div class="burger-line-3"></div>
61
+ </div>
62
+ </nav>
63
+ {% else %}
71
64
  </nav>
65
+ {% endif %}
@@ -4,26 +4,27 @@
4
4
 
5
5
  <script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/lodash.js/4.6.1/lodash.min.js" ></script>
6
6
 
7
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/svg_text_width.js" | relative_url }}" async></script>
7
+ <script type="text/javascript" src="{{ '/assets/js/svg_text_width.js' | relative_url }}" async></script>
8
8
 
9
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/svg_aos.js" | relative_url }}" async></script>
9
+ <script type="text/javascript" src="{{ '/assets/js/svg_aos.js' | relative_url }}" async></script>
10
10
 
11
11
  {% include functions/pull_page_args.html %}
12
12
 
13
13
  {% endif %}
14
14
 
15
+ <script type="text/javascript" src="{{ '/assets/js/animate_after_load.js' | relative_url }}" async></script>
15
16
 
16
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/animate_after_load.js" | relative_url }}" async></script>
17
+ <script type="text/javascript" src="{{ '/assets/js/calc-mobile-viewport.js' | relative_url}}" async></script>
17
18
 
18
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/mobile-nav-slider.js" | relative_url }}" async></script>
19
+ {% if page.url != '/' %}
19
20
 
20
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/calc-mobile-viewport.js" | relative_url }}" async></script>
21
+ <script type="text/javascript" src="{{ '/assets/js/nav-scroll.js' | relative_url }}" async></script>
22
+
23
+ <script type="text/javascript" src="{{ '/assets/js/mobile-nav-slider.js' | relative_url }}" async></script>
21
24
 
22
- {% if page.url != '/' %}
23
- <script type="text/javascript" src="{{ "{{ site.baseurl }}/assets/js/nav-scroll.js" | relative_url }}" async></script>
24
25
  {% endif %}
25
26
 
26
- <script type="text/javascript" src="{{ site.baseurl }}/assets/vendor/aos/aos.js" ></script>
27
+ <script type="text/javascript" src="{{ '/assets/vendor/aos/aos.js' | relative_url }}" ></script>
27
28
 
28
29
  <script>
29
30
  AOS.init({
@@ -1,12 +1,11 @@
1
1
 
2
- <div class="embed-container">
3
- <iframe
4
- src="https://player.vimeo.com/video/{{ include.id }}"
5
- width="500"
6
- height="281"
7
- frameborder="0"
8
- webkitallowfullscreen
9
- mozallowfullscreen
10
- allowfullscreen>
11
- </iframe>
2
+ <div class="video__container">
3
+ <iframe
4
+ src="https://player.vimeo.com/video/{{ include.id }}?title=0&byline=0&portrait=0"
5
+ frameborder="0"
6
+ webkitallowfullscreen
7
+ mozallowfullscreen
8
+ allowfullscreen>
9
+ </iframe>
12
10
  </div>
11
+ <script src="https://player.vimeo.com/api/player.js"></script>
@@ -21,7 +21,7 @@ Last full read through 29/12/2020
21
21
  <div class="hero hero-65">
22
22
 
23
23
  <div class="hero__overlay h-100">
24
- {% picture {{ page.hero.image | prepend: 'content/' }}
24
+ {% picture {{ page.hero.file | prepend: 'content/' }}
25
25
  --img class="hero__image hero__image--fixed hero-65"
26
26
  --alt {{ page.hero.alt }} %}</div>
27
27
 
@@ -50,9 +50,18 @@ Last full read through 29/12/2020
50
50
  </div>
51
51
  {% endif %}
52
52
 
53
- <div class="about__team">
53
+ <div class="embedded__video about--video">
54
+ <!--
55
+ <h2>Watch our company video</h2>
56
+ -->
57
+ {% include vimeoPlayer.html id="493777125" %}
58
+
59
+ </div>
54
60
 
61
+ <div class="about__team">
62
+ <h2 class="bg--env-50 about__team--title">Meet the team</h2>
55
63
  <div class="team__head bg--env-50">
64
+
56
65
  {% for menu in site.data.team.menu %}
57
66
  <h3 class="team__title team--js-script-{{ menu.script }}"
58
67
  id="team{{ menu.script }}"
@@ -74,7 +83,12 @@ Last full read through 29/12/2020
74
83
  {% endfor %} ">
75
84
 
76
85
  <div class="single__member__image">
77
- <img class="member--image" src="{% if member.image %}{{ member.image | prepend: '/assets/images/content/people/' }}{% else %}{{ 'team-placeholder.jpg' | prepend: '/assets/images/defaults/' }}{% endif %}" alt="{{ member.name }} is the {{ member.position }}" />
86
+ <img class="member--image" src="
87
+ {%- if member.image -%}
88
+ {{ member.image | prepend: '/assets/images/content/people/' | relative_url }}
89
+ {%- else -%}
90
+ {{ 'team-placeholder.jpg' | prepend: '/assets/images/defaults/' | relative_url }}
91
+ {%- endif -%}" alt="{{ member.name }} is the {{ member.position }}" />
78
92
  </div>
79
93
 
80
94
  <div class="single__member__text">
@@ -0,0 +1,22 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+
6
+
7
+ <div class="spacefiller"></div>
8
+ <div class="hero hero-65 collage">
9
+
10
+ {% for collage in page.collage %}
11
+ <div class="collage__image__wrap collage__image__wrap-{{ forloop.index }}">
12
+ <h3 class="image__header">{{ collage.reasons }}</h3>
13
+ {% picture {{ collage.image | prepend: 'content/' }}
14
+ --img class="collage__image collage__image-{{ forloop.index }}"
15
+ --alt {{ collage.reasons }} %}
16
+ </div>
17
+ {% endfor %}
18
+ </div>
19
+
20
+ <div class="fullwidth__wrap">
21
+ {{ content }}
22
+ </div>
@@ -8,7 +8,7 @@ layout: default
8
8
  <div class="hero hero-65">
9
9
 
10
10
  <div class="hero__overlay h-100">
11
- {% picture {{ page.hero.image | prepend: 'content/' }}
11
+ {% picture {{ page.hero.file | prepend: 'content/' }}
12
12
  --img class="hero__image hero__image--fixed hero-65"
13
13
  --alt {{ page.hero.alt }} %}</div>
14
14
 
@@ -23,7 +23,7 @@ Last full read through 27/12/2020
23
23
  <div class="hero hero-65">
24
24
 
25
25
  <div class="hero__overlay">
26
- {% picture {{ page.hero.image | prepend: 'content/' }}
26
+ {% picture {{ page.hero.file | prepend: 'content/' }}
27
27
  --img class="hero__image image__filter--mix"
28
28
  --alt {{ page.hero.alt }} %}</div>
29
29
 
@@ -39,7 +39,7 @@ Last full read through 27/12/2020
39
39
 
40
40
  <div class="augmented-image">
41
41
 
42
- {% picture {{ page.subhero.image | prepend: 'content/' }}
42
+ {% picture {{ page.subhero.file | prepend: 'content/' }}
43
43
  --img class="hero__image"
44
44
  --alt {{ page.subhero.alt }} %}
45
45
 
@@ -51,7 +51,15 @@ Last full read through 27/12/2020
51
51
  </radialGradient>
52
52
  </defs>
53
53
 
54
- <circle class="svg__augment--pulse" cx="32%" cy="2%" />
54
+ <circle class="svg__augment--pulse" cx="32%" cy="2%" >
55
+
56
+ <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
57
+ -->
58
+ <animate attributeName="r" begin="0s" dur="2s" repeatCount="indefinite" from=".1" to="2"/>
59
+
60
+ <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
61
+
62
+ </circle>
55
63
  <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
56
64
 
57
65
  </svg>
@@ -89,31 +97,6 @@ Last full read through 27/12/2020
89
97
 
90
98
  <div class="segment__right augmented-image" >
91
99
 
92
- {% picture {{ page.guarantee.image | prepend: 'content/' }}
93
- --img class="hero__image image--guarantee h-100"
94
- --alt {{ page.guarantee.alt }} %}
95
-
96
- <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
97
-
98
- {% include functions/calc-svg-coord.html image_handle="guarantee" %}
99
-
100
- {% for item in page.guarantee.augment.labels %}
101
-
102
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
103
-
104
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
105
-
106
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
107
-
108
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
109
-
110
- </svg>
111
-
112
- {% endfor %}
113
-
114
- </svg>
115
-
116
-
117
- </div>
100
+ {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee h-100"%}
118
101
 
119
102
  </div>
@@ -24,7 +24,7 @@ Last full read through 27/12/2020
24
24
  <div class="hero hero-90">
25
25
 
26
26
  <div class="hero__overlay">
27
- {% picture {{ page.hero.image | prepend: 'content/' }}
27
+ {% picture {{ page.hero.file | prepend: 'content/' }}
28
28
  --img class="hero__image image__filter--mix h-100"
29
29
  --alt {{ page.hero.alt }} %}</div>
30
30
 
@@ -51,7 +51,7 @@ Last full read through 27/12/2020
51
51
 
52
52
  <div class="augmented-image">
53
53
 
54
- {% picture {{ page.subhero.image | prepend: 'content/' }}
54
+ {% picture {{ page.subhero.file | prepend: 'content/' }}
55
55
  --img class="hero__image"
56
56
  --alt {{ page.subhero.alt }} %}
57
57
 
@@ -63,7 +63,15 @@ Last full read through 27/12/2020
63
63
  </radialGradient>
64
64
  </defs>
65
65
 
66
- <circle class="svg__augment--pulse" cx="32%" cy="2%" />
66
+ <circle class="svg__augment--pulse" cx="32%" cy="2%" >
67
+
68
+ <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
69
+ -->
70
+ <animate attributeName="r" begin="0s" dur="2s" repeatCount="indefinite" from=".1" to="2"/>
71
+
72
+ <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
73
+
74
+ </circle>
67
75
  <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
68
76
 
69
77
  </svg>
@@ -94,60 +102,11 @@ Last full read through 27/12/2020
94
102
 
95
103
  <div class="segment__right augmented-image" >
96
104
 
97
- {% picture {{ page.guarantee.image | prepend: 'content/' }}
98
- --img class="hero__image image--guarantee h-100"
99
- --alt {{ page.guarantee.alt }} %}
100
-
101
- <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
102
-
103
- {% include functions/calc-svg-coord.html image_handle="guarantee" %}
104
-
105
- {% for item in page.guarantee.augment.labels %}
106
-
107
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
108
-
109
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
105
+ {% include image.html image="guarantee" alt="Describe the image" class="hero__image image--guarantee h-100"%}
110
106
 
111
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
112
-
113
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
114
-
115
- </svg>
116
-
117
- {% endfor %}
118
-
119
- </svg>
120
-
121
-
122
- </div>
123
107
 
124
108
  </div>
125
109
 
126
110
  <div class="augmented-image" >
127
111
 
128
- {% picture {{ page.device.image | prepend: 'content/' }}
129
- --img class="hero__image"
130
- --alt {{ page.device.alt }} %}
131
-
132
- {% include functions/calc-svg-coord.html image_handle="device" %}
133
-
134
- <svg class="svg__augment" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
135
-
136
- {% for item in page.device.augment.labels %}
137
-
138
- <svg class="svg__labels hidden" x="{{ cX[forloop.index0] | remove: ", " }}%" y="{{ cY[forloop.index0] | remove: ", " }}%" style="overflow: visible">
139
-
140
- <circle class="svg--elem svg--circle" cx="0%" cy="0%" r="6" />
141
-
142
- <line class="svg--elem svg--line" x1="0" y1="0" y2="0" />
143
-
144
- <text class="svg--elem svg--text trans-{% if item.reverse %}right{% else %}left{% endif %}" >{{ item.text }}</text>
145
-
146
- </svg>
147
-
148
- {% endfor %}
149
-
150
-
151
- </svg>
152
-
153
- </div>
112
+ {% include image.html image="device" alt="Describe the image" class="hero__image" %}
@@ -8,7 +8,7 @@ layout: default
8
8
  <div class="hero hero-65">
9
9
 
10
10
  <div class="hero__overlay h-100">
11
- {% picture {{ page.hero.image | prepend: 'content/' }}
11
+ {% picture {{ page.hero.file | prepend: 'content/' }}
12
12
  --img class="hero__image hero__image--fixed hero-65"
13
13
  --alt {{ page.hero.alt }} %}</div>
14
14
 
@@ -29,7 +29,7 @@ layout: default
29
29
  {% for faq in site.data.faq %}
30
30
  <div class="faq__panel">
31
31
  <div class="faq__question">
32
- <h4>{{ faq.question }}</h4>
32
+ <h4 class="faq__question--title">{{ faq.question }}</h4><i class="fas fa-chevron-down"></i>
33
33
  </div>
34
34
 
35
35
  <div class="faq__answer faq__answer--reveal">
@@ -52,12 +52,21 @@ layout: default
52
52
  </script>
53
53
 
54
54
  <script>
55
- /* Watch for clicks on more info and reveal text */
55
+ /* Watch for clicks and reveal text */
56
56
  document.querySelectorAll('.faq__question').forEach(function(el){
57
57
  el.addEventListener('click', function() {
58
+ this.classList.toggle('faq__question--reveal');
58
59
  const n = this.nextElementSibling;
59
60
  n.classList.toggle('faq__answer--reveal');
60
61
  });
61
62
  });
62
63
 
63
64
  </script>
65
+
66
+
67
+
68
+ <div class="faq__contact">
69
+ <h2 class="faq__contact--strap">Not found the answer?</h2>
70
+ {% include contact-form.html %}
71
+
72
+ </div>