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.
Files changed (88) 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/functions/pull_page_args.html +3 -3
  8. data/_includes/head/descriptors/og-meta.html +0 -1
  9. data/_includes/head/descriptors/structured-data.html +3 -3
  10. data/_includes/head/descriptors/twitter-meta.html +1 -1
  11. data/_includes/head/head.html +11 -32
  12. data/_includes/head/stylesheets.html +20 -0
  13. data/_includes/image-post.html +1 -1
  14. data/_includes/navigation/global.html +56 -57
  15. data/_includes/scripts.html +9 -8
  16. data/_includes/vimeoPlayer.html +1 -2
  17. data/_layouts/about.html +6 -1
  18. data/_layouts/default.html +1 -1
  19. data/_layouts/env/clinician.html +2 -2
  20. data/_layouts/env/landing.html +4 -4
  21. data/_layouts/faq.html +3 -0
  22. data/_layouts/feed.html +1 -1
  23. data/_layouts/post.html +1 -1
  24. data/_sass/_colors/README.md +27 -0
  25. data/_sass/_colors/_clinician.sass +7 -0
  26. data/_sass/_colors/_mixins.sass +14 -0
  27. data/_sass/_colors/_pwp.sass +6 -0
  28. data/_sass/{colors → _colors}/_variables.sass +8 -17
  29. data/_sass/_colors/collection.sass +3 -0
  30. data/_sass/_functions.sass +9 -0
  31. data/_sass/_mixins.sass +17 -7
  32. data/_sass/about.sass +9 -6
  33. data/_sass/breakpoints/about.sass +15 -6
  34. data/_sass/collage.sass +2 -1
  35. data/_sass/contact.sass +10 -41
  36. data/_sass/env/clinician.sass +3 -1
  37. data/_sass/env/landing.sass +25 -10
  38. data/_sass/env/pwp.sass +4 -1
  39. data/_sass/faq.sass +11 -3
  40. data/_sass/feed.sass +4 -3
  41. data/_sass/footer.sass +174 -14
  42. data/_sass/footer_redesign.sass +351 -0
  43. data/_sass/forms/mc-forms.sass +3 -3
  44. data/_sass/global.sass +55 -22
  45. data/_sass/navigation/README.md +35 -0
  46. data/_sass/navigation/_variables.sass +8 -9
  47. data/_sass/navigation/{global.sass → base.sass} +34 -24
  48. data/_sass/navigation/breakpoints/1024.sass +44 -20
  49. data/_sass/navigation/burger.sass +9 -3
  50. data/_sass/navigation/clinician.sass +31 -0
  51. data/_sass/navigation/collection.sass +9 -0
  52. data/_sass/navigation/colors.sass +8 -0
  53. data/_sass/navigation/no-nav.sass +32 -0
  54. data/_sass/navigation/{env/pwp.sass → pwp.sass} +12 -16
  55. data/_sass/post.sass +1 -1
  56. data/_sass/typography/_variables.sass +6 -2
  57. data/_sass/typography/resets.sass +2 -2
  58. data/assets/css/env/gaitq_clinician.sass +24 -8
  59. data/assets/css/env/gaitq_landing.sass +21 -3
  60. data/assets/css/env/gaitq_pwp.sass +28 -8
  61. data/assets/css/gaitq_errors.sass +21 -3
  62. data/assets/css/gaitq_post.sass +5 -5
  63. data/assets/js/mobile-nav-slider.js +1 -1
  64. metadata +20 -31
  65. data/_includes/footer/footer_full.html +0 -79
  66. data/_includes/head/env/conditional.html +0 -2
  67. data/_sass/colors/breakpoints/1024.sass +0 -20
  68. data/_sass/colors/burger.sass +0 -22
  69. data/_sass/colors/env/_clinician.sass +0 -16
  70. data/_sass/colors/env/_pwp.sass +0 -16
  71. data/_sass/colors/global.sass +0 -2
  72. data/_sass/colors/navigation.sass +0 -13
  73. data/_sass/footer_full.sass +0 -173
  74. data/_sass/navigation/env/clinician.sass +0 -38
  75. data/_sass/navigation/env/landing.sass +0 -19
  76. data/assets/css/gaitq_about.sass +0 -22
  77. data/assets/css/gaitq_feed.sass +0 -12
  78. data/assets/css/gaitq_global.sass +0 -34
  79. data/assets/fonts/.DS_Store +0 -0
  80. data/assets/fonts/Quicksand/OFL.txt +0 -93
  81. data/assets/fonts/Quicksand/Quicksand-VariableFont_wght.ttf +0 -0
  82. data/assets/fonts/Quicksand/README.txt +0 -67
  83. data/assets/fonts/Quicksand/static/Quicksand-Bold.ttf +0 -0
  84. data/assets/fonts/Quicksand/static/Quicksand-Light.ttf +0 -0
  85. data/assets/fonts/Quicksand/static/Quicksand-Medium.ttf +0 -0
  86. data/assets/fonts/Quicksand/static/Quicksand-Regular.ttf +0 -0
  87. data/assets/fonts/Quicksand/static/Quicksand-SemiBold.ttf +0 -0
  88. 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
- /* ge scg labels */
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.augment.image | split: ', ' | first }} ;
13
- var y_0 = {{ page.guarantee.augment.image | split: ', ' | last }} ;
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 */
@@ -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 }}
@@ -15,9 +15,7 @@
15
15
  {% endif %}
16
16
  </title>
17
17
 
18
- {% include head/descriptors/structured-data.html %}
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.author.name }}" />
29
+ <meta name="author" content="{{ site.data.authors.default.name }}" />
32
30
 
33
- <meta name="copyright"
34
- content="
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
- {% include /head/descriptors/twitter-meta.html %}
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@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">
48
41
 
49
- <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_global.css" media="screen" />
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
- {% if page.layout == 'feed' %}
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
- <!-- Animate on scroll lib, js is in footer -->
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
- <link rel="stylesheet" href="{{ site.baseurl }}/assets/fonts/fontawesome-free-5.11.2-web/css/all.min.css" media="none" onload="if(media!='all')media='all'" / >
48
+ {% include /head/descriptors/og-meta.html %}
70
49
 
71
- <link rel="shortcut icon" type="image/x-icon" href="{{ site.baseurl }}{{ site.fallback_path }}{{ site.favicon }}">
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" />
@@ -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
- <ul class="social-media">
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
- {% endif %}
55
-
56
- </div>
57
- {% endfor %}
58
-
59
- </div>
60
- </li>
61
- {% endfor %}
62
-
63
- </ul>
64
-
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>
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
- </nav>
68
+ {% else %}
69
+ </nav>
70
+ {% 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,9 +1,8 @@
1
1
 
2
2
  <div class="video__container">
3
3
  <iframe
4
- src="https://player.vimeo.com/video/{{ include.id }}?autoplay=1&title=0&byline=0&portrait=0"
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>
@@ -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="{% 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 }}" />
87
92
  </div>
88
93
 
89
94
  <div class="single__member__text">
@@ -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,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 }}">Sign up</a>
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 }}">Register interest</a>
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
 
@@ -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
 
@@ -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`.