slow-steps 0.2.0 → 0.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/_config.yml +3 -3
- data/_includes/footer/footer.html +64 -7
- data/_includes/footer/footer_redesign.html +107 -0
- data/_includes/forms/mc-register.html +126 -108
- data/_includes/functions/pull_page_args.html +3 -3
- data/_includes/head/descriptors/og-meta.html +0 -1
- data/_includes/head/descriptors/structured-data.html +3 -3
- data/_includes/head/descriptors/twitter-meta.html +1 -1
- data/_includes/head/head.html +11 -32
- data/_includes/head/stylesheets.html +20 -0
- data/_includes/image-post.html +1 -1
- data/_includes/navigation/global.html +56 -57
- data/_includes/scripts.html +9 -8
- data/_includes/vimeoPlayer.html +1 -2
- data/_layouts/about.html +6 -1
- data/_layouts/default.html +1 -1
- data/_layouts/env/clinician.html +2 -2
- data/_layouts/env/landing.html +4 -4
- data/_layouts/faq.html +3 -0
- data/_layouts/feed.html +1 -1
- data/_layouts/post.html +1 -1
- data/_sass/_colors/README.md +27 -0
- data/_sass/_colors/_clinician.sass +7 -0
- data/_sass/_colors/_mixins.sass +14 -0
- data/_sass/_colors/_pwp.sass +6 -0
- data/_sass/{colors → _colors}/_variables.sass +8 -17
- data/_sass/_colors/collection.sass +3 -0
- data/_sass/_functions.sass +9 -0
- data/_sass/_mixins.sass +17 -7
- data/_sass/about.sass +9 -6
- data/_sass/breakpoints/about.sass +15 -6
- data/_sass/collage.sass +2 -1
- data/_sass/contact.sass +10 -41
- data/_sass/env/clinician.sass +3 -1
- data/_sass/env/landing.sass +25 -10
- data/_sass/env/pwp.sass +4 -1
- data/_sass/faq.sass +11 -3
- data/_sass/feed.sass +4 -3
- data/_sass/footer.sass +174 -14
- data/_sass/footer_redesign.sass +351 -0
- data/_sass/forms/mc-forms.sass +3 -3
- data/_sass/global.sass +55 -22
- data/_sass/navigation/README.md +35 -0
- data/_sass/navigation/_variables.sass +8 -9
- data/_sass/navigation/{global.sass → base.sass} +34 -24
- data/_sass/navigation/breakpoints/1024.sass +44 -20
- data/_sass/navigation/burger.sass +9 -3
- data/_sass/navigation/clinician.sass +31 -0
- data/_sass/navigation/collection.sass +9 -0
- data/_sass/navigation/colors.sass +8 -0
- data/_sass/navigation/no-nav.sass +32 -0
- data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
- data/_sass/post.sass +1 -1
- data/_sass/typography/_variables.sass +6 -2
- data/_sass/typography/resets.sass +2 -2
- data/assets/css/env/gaitq_clinician.sass +24 -8
- data/assets/css/env/gaitq_landing.sass +21 -3
- data/assets/css/env/gaitq_pwp.sass +28 -8
- data/assets/css/gaitq_errors.sass +21 -3
- data/assets/css/gaitq_post.sass +5 -5
- data/assets/js/mobile-nav-slider.js +1 -1
- metadata +20 -31
- data/_includes/footer/footer_full.html +0 -79
- data/_includes/head/env/conditional.html +0 -2
- data/_sass/colors/breakpoints/1024.sass +0 -20
- data/_sass/colors/burger.sass +0 -22
- data/_sass/colors/env/_clinician.sass +0 -16
- data/_sass/colors/env/_pwp.sass +0 -16
- data/_sass/colors/global.sass +0 -2
- data/_sass/colors/navigation.sass +0 -13
- data/_sass/footer_full.sass +0 -173
- data/_sass/navigation/env/clinician.sass +0 -38
- data/_sass/navigation/env/landing.sass +0 -19
- data/assets/css/gaitq_about.sass +0 -22
- data/assets/css/gaitq_feed.sass +0 -12
- data/assets/css/gaitq_global.sass +0 -34
- data/assets/fonts/.DS_Store +0 -0
- data/assets/fonts/Quicksand/OFL.txt +0 -93
- data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
- data/assets/fonts/Quicksand/README.txt +0 -67
- data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
- data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
- data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
- data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
- data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
- data/assets/fonts/fontawesome-free-5.11.2-web/.DS_Store +0 -0
@@ -5,12 +5,12 @@ function svg_aug_contained_image(){
|
|
5
5
|
|
6
6
|
var x_i = document.getElementsByClassName("image--guarantee")[0].offsetWidth ;
|
7
7
|
var y_i = document.getElementsByClassName("image--guarantee")[0].offsetHeight ;
|
8
|
-
/*
|
8
|
+
/* get svg labels */
|
9
9
|
var svg = document.querySelectorAll('.svg__augment > .augment--guarantee');
|
10
10
|
|
11
11
|
/* origanal image width in pixels */
|
12
|
-
var x_0 = {{ page.guarantee.
|
13
|
-
var y_0 = {{ page.guarantee.
|
12
|
+
var x_0 = {{ page.images.guarantee.size | split: ', ' | first }} ;
|
13
|
+
var y_0 = {{ page.images.guarantee.size | split: ', ' | last }} ;
|
14
14
|
|
15
15
|
for (let i = 0; i < svg.length; i++) {
|
16
16
|
/* origanal x position in pixels */
|
@@ -23,7 +23,7 @@
|
|
23
23
|
/* Person */
|
24
24
|
"@type": "Person",
|
25
25
|
"@context": "http://schema.org",
|
26
|
-
"name": "{{ site.
|
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.
|
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.
|
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.
|
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 }}
|
data/_includes/head/head.html
CHANGED
@@ -15,9 +15,7 @@
|
|
15
15
|
{% endif %}
|
16
16
|
</title>
|
17
17
|
|
18
|
-
|
19
|
-
|
20
|
-
<!-- use local page descriptions if it exist -->
|
18
|
+
<!-- use page descriptions if it exist -->
|
21
19
|
<meta name="description"
|
22
20
|
content="
|
23
21
|
{% if page.description %}
|
@@ -28,47 +26,28 @@
|
|
28
26
|
|
29
27
|
<meta name="keywords" content="{{ site.keywords }}" />
|
30
28
|
|
31
|
-
<meta name="author" content="{{ site.
|
29
|
+
<meta name="author" content="{{ site.data.authors.default.name }}" />
|
32
30
|
|
33
|
-
|
34
|
-
|
35
|
-
Copyright {{ site.title }} {{ 'now' | date: "%Y" }}" />
|
31
|
+
{% assign date = 'now' | date: "%Y" %}
|
32
|
+
<meta name="copyright" content="Copyright {{ site.title | append: ' Limited ' | append: date }}" />
|
36
33
|
|
37
34
|
<meta name="robots" content="follow" />
|
38
35
|
|
39
|
-
{
|
40
|
-
|
41
|
-
{% include /head/descriptors/og-meta.html %}
|
42
|
-
|
43
|
-
<link rel="canonical" href="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
|
36
|
+
<link rel="canonical" href="{{ page.url | absolute_url }}" />
|
44
37
|
|
45
38
|
<link rel="preconnect" href="https://fonts.gstatic.com">
|
46
39
|
|
47
|
-
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@
|
40
|
+
<link href="https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500&display=swap" rel="stylesheet">
|
48
41
|
|
49
|
-
<link rel="
|
50
|
-
|
51
|
-
{% if page.layout == 'error-page' %}
|
52
|
-
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_errors.css" media="screen" />
|
53
|
-
{% endif %}
|
42
|
+
<link rel="shortcut icon" type="image/x-icon" href="{{ site.fallback_path | append: site.favicon | relative_url }}">
|
54
43
|
|
55
|
-
{%
|
56
|
-
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_feed.css" media="screen" />
|
57
|
-
{% endif %}
|
58
|
-
|
59
|
-
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_post.css" media="screen" />
|
60
|
-
|
61
|
-
|
62
|
-
{% if page.env %}
|
63
|
-
{% include /head/env/conditional.html %}
|
64
|
-
{% endif %}
|
44
|
+
{% include head/descriptors/structured-data.html %}
|
65
45
|
|
66
|
-
|
67
|
-
<link rel="stylesheet" type="text/css" href="{{ site.baseurl }}/assets/vendor/aos/aos.css" media="none" onload="if(media!='all')media='all'" />
|
46
|
+
{% include /head/descriptors/twitter-meta.html %}
|
68
47
|
|
69
|
-
|
48
|
+
{% include /head/descriptors/og-meta.html %}
|
70
49
|
|
71
|
-
|
50
|
+
{% include /head/stylesheets.html %}
|
72
51
|
|
73
52
|
{% if jekyll.environment == "production" %}
|
74
53
|
{% include google-analytics.html %}
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<!-- Animate on scroll, js is in footer -->
|
2
|
+
<link rel="stylesheet" type="text/css" href="{{ '/assets/vendor/aos/aos.css' | relative_url }}" media="none" onload="if(media!='all')media='all'" />
|
3
|
+
|
4
|
+
<!-- Font Awesome v5 -->
|
5
|
+
<link rel="stylesheet" href="{{ '/assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css' | relative_url }}" media="none" onload="if(media!='all')media='all'" / >
|
6
|
+
|
7
|
+
<!-- Slow Steps error pages -->
|
8
|
+
{% if page.layout == 'error-page' %}
|
9
|
+
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_errors.css' | relative_url }}" media="screen" />
|
10
|
+
{% endif %}
|
11
|
+
|
12
|
+
<!-- Slow Steps post pages -->
|
13
|
+
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_post.css' | relative_url }}" media="screen" />
|
14
|
+
|
15
|
+
{% if page.env %}
|
16
|
+
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/env/gaitq_' | append: page.env | append: '.css' | relative_url }}" media="screen" />
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
<!-- Slow Steps custom css -->
|
20
|
+
<link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ '/assets/css/gaitq_custom.css' | relative_url }}" media="screen" />
|
data/_includes/image-post.html
CHANGED
@@ -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>
|
@@ -9,63 +9,62 @@
|
|
9
9
|
</a>
|
10
10
|
</div>
|
11
11
|
|
12
|
-
|
12
|
+
{% if page.url != "/" %}
|
13
|
+
|
14
|
+
{% if page.url != "/error-pages/404" %}
|
15
|
+
|
16
|
+
<ul class="social-media">
|
17
|
+
{% for social in site.socials %}
|
18
|
+
<li class="social-media-item">
|
19
|
+
<a href="{{ social.url }}">
|
20
|
+
<i class="fab fa-{{ social.icon }} social--{{ social.name }} social-media-link"></i></a>
|
21
|
+
</li>
|
22
|
+
{% endfor %}
|
23
|
+
</ul>
|
24
|
+
|
25
|
+
<ul class="nav-list">
|
26
|
+
{% for item in site.data.menu.navigation %}
|
27
|
+
<li class="nav-group">
|
28
|
+
<a href="{{ item.url | relative_url }}" class="nav-group-link nav-link {{ item.env }}-group-link">
|
29
|
+
<span>{{ item.name }}</span></a>
|
30
|
+
<div class="nav-group-content {{ item.env }}-group">
|
31
|
+
{% for sub in item.submenu %}
|
32
|
+
<div class="nav-group-container">
|
33
|
+
<a
|
34
|
+
class="
|
35
|
+
nav-link
|
36
|
+
sub-link
|
37
|
+
{% if page.url == sub.url %}
|
38
|
+
current--url
|
39
|
+
{% endif %}" href="{{ sub.url | relative_url }}">
|
40
|
+
<span>{{ sub.name }}</span></a>
|
41
|
+
|
42
|
+
{% if sub.subsubmenu %}
|
43
|
+
<div class="nav-subsub-content ">
|
44
|
+
{% for subsub in sub.subsubmenu %}
|
45
|
+
<a class="nav-link subsub-link" href="{{ subsub.url | relative_url }}">
|
46
|
+
<span>{{ subsub.name }}</span></a>
|
47
|
+
|
48
|
+
{% endfor %}
|
49
|
+
</div>
|
50
|
+
{% endif %}
|
13
51
|
|
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 %}
|
20
|
-
|
21
|
-
</ul>
|
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
52
|
</div>
|
54
|
-
{%
|
55
|
-
|
56
|
-
</
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
<div class="burger-line-3"></div>
|
69
|
-
</div>
|
53
|
+
{% endfor %}
|
54
|
+
</div>
|
55
|
+
</li>
|
56
|
+
{% endfor %}
|
57
|
+
</ul>
|
58
|
+
|
59
|
+
<div class="burger">
|
60
|
+
<div class="burger-line-1"></div>
|
61
|
+
<div class="burger-line-2"></div>
|
62
|
+
<div class="burger-line-3"></div>
|
63
|
+
</div>
|
64
|
+
</nav>
|
65
|
+
{% else %}
|
66
|
+
</nav>
|
70
67
|
{% endif %}
|
71
|
-
|
68
|
+
{% else %}
|
69
|
+
</nav>
|
70
|
+
{% endif %}
|
data/_includes/scripts.html
CHANGED
@@ -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="{{
|
7
|
+
<script type="text/javascript" src="{{ '/assets/js/svg_text_width.js' | relative_url }}" async></script>
|
8
8
|
|
9
|
-
<script type="text/javascript" src="{{
|
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="{{
|
17
|
+
<script type="text/javascript" src="{{ '/assets/js/calc-mobile-viewport.js' | relative_url}}" async></script>
|
17
18
|
|
18
|
-
|
19
|
+
{% if page.url != '/' %}
|
19
20
|
|
20
|
-
<script type="text/javascript" src="{{
|
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="{{
|
27
|
+
<script type="text/javascript" src="{{ '/assets/vendor/aos/aos.js' | relative_url }}" ></script>
|
27
28
|
|
28
29
|
<script>
|
29
30
|
AOS.init({
|
data/_includes/vimeoPlayer.html
CHANGED
@@ -1,9 +1,8 @@
|
|
1
1
|
|
2
2
|
<div class="video__container">
|
3
3
|
<iframe
|
4
|
-
src="https://player.vimeo.com/video/{{ include.id }}?
|
4
|
+
src="https://player.vimeo.com/video/{{ include.id }}?title=0&byline=0&portrait=0"
|
5
5
|
frameborder="0"
|
6
|
-
allow="autoplay"
|
7
6
|
webkitallowfullscreen
|
8
7
|
mozallowfullscreen
|
9
8
|
allowfullscreen>
|
data/_layouts/about.html
CHANGED
@@ -83,7 +83,12 @@ Last full read through 29/12/2020
|
|
83
83
|
{% endfor %} ">
|
84
84
|
|
85
85
|
<div class="single__member__image">
|
86
|
-
<img class="member--image" src="
|
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 }}" />
|
87
92
|
</div>
|
88
93
|
|
89
94
|
<div class="single__member__text">
|
data/_layouts/default.html
CHANGED
data/_layouts/env/clinician.html
CHANGED
@@ -12,7 +12,7 @@ Last full read through 27/12/2020
|
|
12
12
|
|
13
13
|
-->
|
14
14
|
|
15
|
-
<!-- assign description with site
|
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
|
32
|
+
<p>{{ site.data.copy.landing.clinician.description }}</p>
|
33
33
|
</div>
|
34
34
|
|
35
35
|
<div class="hero__follow"></div>
|
data/_layouts/env/landing.html
CHANGED
@@ -34,8 +34,8 @@ 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 }}">
|
38
|
-
<a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url }}">More Info</a>
|
37
|
+
<a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">{{ cta.name }}</a>
|
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>
|
41
41
|
|
@@ -68,8 +68,8 @@ 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 }}">
|
72
|
-
<a class="secondary__cta" aria-label="{{ cta_2.aria }}" href="{{ cta_2.url }}">More Info</a>
|
71
|
+
<a class="primary__cta" aria-label="{{ cta.aria }}" href="{{ cta.url | relative_url }}">{{ cta.name }}</a>
|
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>
|
75
75
|
|
data/_layouts/faq.html
CHANGED
@@ -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
|
|
data/_layouts/feed.html
CHANGED
@@ -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" %}
|
data/_layouts/post.html
CHANGED
@@ -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
|
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Color definitions
|
2
|
+
|
3
|
+
Everything here should be rgb(a) color definitions using sass variables,
|
4
|
+
|
5
|
+
```sass
|
6
|
+
$var-name: rgba(r, g, b, a)
|
7
|
+
```
|
8
|
+
|
9
|
+
## _variables.sass
|
10
|
+
|
11
|
+
Site wide color definitions, avoid changing these variables. If we want to change the color of an element then either using a pre-existing sass variable, or creating a new one, change the actual element css to the new sass color variable.
|
12
|
+
|
13
|
+
## _mixins.sass
|
14
|
+
|
15
|
+
Color combination mixins.
|
16
|
+
|
17
|
+
## collection.sass
|
18
|
+
|
19
|
+
Collection of the above definitions.
|
20
|
+
|
21
|
+
## _clinician.sass
|
22
|
+
|
23
|
+
Theme colouring for clinician environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
|
24
|
+
|
25
|
+
## _pwp.sass
|
26
|
+
|
27
|
+
Theme colouring for pwp environments. We import collection.sass and define `$env-primary` and `$env-secondary`.
|