slow-steps 0.1.3 → 0.1.8

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 5905d151caa2a511bd3cb4491d190377d5a4d9e71d03aaaaf9e500c98bcddc8e
4
- data.tar.gz: 9f76b1b790b12641fbf9b5b839191da6d4047476be880eeaca2be80caac1c13f
3
+ metadata.gz: 332f670401ff9b865530c6eb7c0feba92d41d5ff6ddaae6261becd8993c6a413
4
+ data.tar.gz: b26f9e29f7509b7b5b5a8552c8374417bc27047b4a88a5611b3f076c24b21a74
5
5
  SHA512:
6
- metadata.gz: 94b2276d3b3d073bcc8fb185c032c32653f6a8888fbad54bd355b21dc17c34d181e718e8a1521a25a55813dc74f59db3bbf4b0e7ab259a6270f76ebc021fdf30
7
- data.tar.gz: a20c622efeda2a92d25eb7bd985bbaed063a5938f626f23190a4bb0a327266bfed526ddca0608474b821166234a0cf9d5b0613896886f03b0bd98c17e8947acd
6
+ metadata.gz: dcd734f318740df554def7c646ae56c0bc5ff6b27dcb138cd4d486fe9b0a2973221f3f147cc2acb14a9dfd0d94d0a753770929ed4936bdebf48fb95e4c335ecf
7
+ data.tar.gz: b841ebdd6f68eb65e8dfbcaa060855287ab7bcdd92b5dcdb6af689aaf5e92381926ebbad2ad04806d0b162257383260f1fab3f9a1e4a935bdab4f70e4b3919e4
@@ -0,0 +1,25 @@
1
+ <div class="contact-details">
2
+
3
+ <h4 class="form-instruction">Contact us directly</h4>
4
+
5
+ <p><i class="fas fa-envelope"></i>
6
+ <a href="mailto:{{ site.email }}">{{ site.email }}</a></p>
7
+
8
+ {% if site.phone %}
9
+ <p><i class="fas fa-phone-square"></i>
10
+ <a href="tel:{{ site.phone }}‬" ‬>{{ site.phone }}‬</a></p>
11
+ {% endif %}
12
+
13
+ <h4 class="form-instruction">Connect with us socially</h4>
14
+
15
+ <ul class="social-media">
16
+
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
+
24
+ </ul>
25
+ </div>
@@ -0,0 +1,18 @@
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 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>
@@ -6,7 +6,7 @@
6
6
  </div>
7
7
  <div class="ft__body">
8
8
 
9
- <div class="ft__contact ft__col-3">
9
+ <div class="ft__contact ft__col">
10
10
 
11
11
  <a href="{{ site.baseurl }}/">
12
12
  {% include /branding/site-logo.svg %}
@@ -23,7 +23,7 @@
23
23
  </div>
24
24
  </div>
25
25
 
26
- <div class="ft__sitemap ft__col-3">
26
+ <div class="ft__sitemap ft__col">
27
27
  <div class="ft__sitemap--menu">
28
28
  <h3 class="ft__sitemap--header">INFORMATION FOR</h3>
29
29
 
@@ -53,7 +53,7 @@
53
53
 
54
54
  <p class="copyright">&copy; <script>
55
55
  document.write(new Date().getFullYear())
56
- </script> {{ site.title }} Limited</p>
56
+ </script> {{ site.title }}</p>
57
57
 
58
58
 
59
59
  <div class="legal-links">
@@ -0,0 +1,5 @@
1
+ <div class="google-map">
2
+ <h4 class="form-instruction">Where to find us</h4>
3
+
4
+ <iframe src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2469.4696265600305!2d-1.2640352834469863!3d51.76102127967778!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4876c6a77fce02c7%3A0x1d053d3e05342acd!2s46%20Woodstock%20Rd%2C%20Oxford%20OX2%206HT!5e0!3m2!1sen!2suk!4v1610722975887!5m2!1sen!2suk" frameborder="1" allowfullscreen="" aria-hidden="false" tabindex="0"></iframe>
5
+ </div>
@@ -56,9 +56,8 @@
56
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
57
  {% endif %}
58
58
 
59
- {% if page.id %} <!-- it's a post -->
60
59
  <link rel="stylesheet" type="text/css" title="made slowly has all the style" href="{{ site.baseurl }}/assets/css/gaitq_post.css" media="screen" />
61
- {% endif %}
60
+
62
61
 
63
62
  {% if page.env %}
64
63
  {% include /head/env/conditional.html %}
@@ -9,6 +9,17 @@
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 %}
20
+
21
+ </ul>
22
+
12
23
  {% if page.layout == "env/landing" or page.layout == "error-page" %}
13
24
  </nav>
14
25
  {% else %}
@@ -2,26 +2,46 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="about__head__bg"></div>
5
+ <!--
6
6
 
7
- <div class="about__head">
8
- <!-- exclude if no title is provided -->
9
- {% if site.data.copy.about[page.env].title %}
10
- {% assign strap = site.data.copy.about[page.env].title %}
7
+ Last full read through 29/12/2020
11
8
 
12
- <h1>
9
+ ##############################################
10
+ # About Layout /_layouts/about.html
11
+ ##############################################
12
+
13
+ -->
14
+
15
+ {% if site.data.copy.about[page.env].title %}
16
+ {% assign strap = site.data.copy.about[page.env].title %}
17
+ {% else %}
18
+ {% assign strap = site.description %}
19
+ {% endif %}
20
+
21
+ <div class="hero hero-65">
22
+
23
+ <div class="hero__overlay h-100">
24
+ {% picture {{ page.hero.image | prepend: 'content/' }}
25
+ --img class="hero__image hero__image--fixed hero-65"
26
+ --alt {{ page.hero.alt }} %}</div>
27
+
28
+ <header class="hero__strap hero__strap--center image__filter--blur hero-65" aria-label="{{ strap }}">
29
+
30
+ <h1 aria-hidden="true" >
13
31
  {% assign n = strap.size | minus: 1 %}
14
32
  {%- for char in (0..n ) -%}
15
33
 
16
- <span style="animation-delay: {{ char | times: 60 | plus: 800 }}ms;">{{ strap | slice: char }}</span>
34
+ <span style="animation-delay: {{ char | times: 40 | plus: 200 }}ms;">{{ strap | slice: char }}</span>
17
35
  {%- endfor -%}</h1>
18
36
 
19
- {% endif %}
37
+ </header>
20
38
 
21
39
  </div>
40
+
41
+
22
42
  <!-- exclude if no text is provided -->
23
43
  {% if site.data.copy.about[page.env].text %}
24
- <div class="about__copy" data-aos="fade-in">
44
+ <div class="about__copy bg--env-100" >
25
45
 
26
46
  {% for item in site.data.copy.about[page.env].text %}
27
47
  <p class="about--copy" data-aos="fade-in">
@@ -32,26 +52,29 @@ layout: default
32
52
 
33
53
  <div class="about__team">
34
54
 
35
- <div class="team__head">
55
+ <div class="team__head bg--env-50">
36
56
  {% for menu in site.data.team.menu %}
37
- <h3 class="team__title team--js-script-{{ menu.script }}" id="team{{ menu.script }}" onclick="team{{ menu.script }}()">
57
+ <h3 class="team__title team--js-script-{{ menu.script }}"
58
+ id="team{{ menu.script }}"
59
+ onclick="team{{ menu.script }}()">
60
+
38
61
  <i class="{{ menu.icon }}"></i>
39
62
  <span class="title__title--text">{{ menu.name }}</span></h3>
40
63
  {% endfor %}
41
64
  </div>
42
65
 
43
- <div class="team__members" onload="display_core()">
66
+ <div class="team__members">
44
67
 
45
68
  {% for member in site.data.team.members %}
46
69
 
47
- <div class=" single__member
70
+ <div class=" single__member single__member--active
48
71
  {% assign ships = member.membership | split: ', ' %}
49
72
  {% for item in ships %}
50
73
  team--{{ item }}
51
74
  {% endfor %} ">
52
75
 
53
76
  <div class="single__member__image">
54
- <img class="member--image"src="{{ member.image | prepend: '/assets/images/content/people/' }}" alt="{{ member.name }} is the {{ member.position }}" />
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 }}" />
55
78
  </div>
56
79
 
57
80
  <div class="single__member__text">
@@ -86,20 +109,29 @@ layout: default
86
109
  </div>
87
110
  </div>
88
111
 
89
- <!-- By default, .single__member is display:none, so in the event of JS disabled we see everyone -->
112
+ <!--
113
+
114
+ -->
90
115
  <script>
91
- /* get core .team__title and style */
116
+ /*
117
+ On load we hide some members.
118
+ '.single__member.single__member--active' is applied to all members, such that all members are 'display: flex' so in the event of no JS we see everyone. Removing '.single__member--active' defaults display to 'display: none'.
119
+ */
120
+
121
+ /* get core .team__title and apply style */
92
122
  const title = document.querySelectorAll(".team__title.team--js-script-core");
93
123
  for(var i = 0; i < title.length; i++)
94
124
  title[i].classList.add('team__title--active');
95
125
 
96
- /* get core .single__member and style */
97
- const members = document.querySelectorAll(".single__member.team--core");
126
+ /* get members that do not belong to '.team--core' and remove '.single__member--active' */
127
+ const members = document.querySelectorAll(".single__member:not(.team--core)");
98
128
  for(var i = 0; i < members.length; i++)
99
- members[i].classList.add('single__member--active');
100
-
129
+ members[i].classList.remove('single__member--active');
101
130
  </script>
102
131
 
132
+ <!--
133
+ For each team we need a script to handle click events on the team menu.
134
+ -->
103
135
  {% for menu in site.data.team.menu %}
104
136
 
105
137
  <script>
@@ -131,7 +163,7 @@ layout: default
131
163
 
132
164
 
133
165
  <script>
134
-
166
+ /* Watch for clicks on more info and reveal text */
135
167
  document.querySelectorAll('.info__conceal').forEach(function(el){
136
168
  el.addEventListener('click', function() {
137
169
  this.classList.toggle('info__reveal');
@@ -0,0 +1,39 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% assign strap = page.title %}
6
+
7
+
8
+ <div class="hero hero-65">
9
+
10
+ <div class="hero__overlay h-100">
11
+ {% picture {{ page.hero.image | prepend: 'content/' }}
12
+ --img class="hero__image hero__image--fixed hero-65"
13
+ --alt {{ page.hero.alt }} %}</div>
14
+
15
+ <header class="hero__strap hero__strap--center image__filter--blur hero-65" aria-label="{{ strap }}">
16
+
17
+ <h1 aria-hidden="true" >
18
+ {% assign n = strap.size | minus: 1 %}
19
+ {%- for char in (0..n ) -%}
20
+
21
+ <span style="animation-delay: {{ char | times: 40 | plus: 200 }}ms;">{{ strap | slice: char }}</span>
22
+ {%- endfor -%}</h1>
23
+
24
+ </header>
25
+
26
+ </div>
27
+
28
+ <div class="contact__wrapper">
29
+
30
+ <div class="contact--left">
31
+ {% include contact-form.html %}
32
+ </div>
33
+
34
+ <div class="contact--right">
35
+ {% include gmap.html %}
36
+
37
+ {% include contact-details.html %}
38
+ </div>
39
+ </div>
@@ -8,9 +8,7 @@ layout: compress
8
8
 
9
9
  {{ content }}
10
10
 
11
- {% if page.layout == "env/landing" or page.layout == "error-page" %}
12
-
13
- {% else %}
11
+ {% if page.layout != "error-page" %}
14
12
 
15
13
  {% include footer/footer_full.html %}
16
14
 
@@ -20,14 +20,14 @@ Last full read through 27/12/2020
20
20
  {% assign description = site.description %}
21
21
  {% endif %}
22
22
 
23
- <div class="hero">
23
+ <div class="hero hero-65">
24
24
 
25
25
  <div class="hero__overlay">
26
26
  {% picture {{ page.hero.image | prepend: 'content/' }}
27
- --img class="hero__image hero__filter"
27
+ --img class="hero__image image__filter--mix"
28
28
  --alt {{ page.hero.alt }} %}</div>
29
29
 
30
- <div class="hero__strap">
30
+ <div class="hero__strap hero__strap--baseline bg--env-100">
31
31
  <h2>{{ site.data.copy.landing.clinician.title }}</h2>
32
32
  <p data-aos="fade-up">{{ site.data.copy.landing.clinician.description }}</p>
33
33
  </div>
@@ -90,7 +90,7 @@ Last full read through 27/12/2020
90
90
  <div class="segment__right augmented-image" >
91
91
 
92
92
  {% picture {{ page.guarantee.image | prepend: 'content/' }}
93
- --img class="hero__image image--guarantee "
93
+ --img class="hero__image image--guarantee h-100"
94
94
  --alt {{ page.guarantee.alt }} %}
95
95
 
96
96
  <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
@@ -43,7 +43,7 @@ Last full read through 27/12/2020
43
43
 
44
44
  <div class="hero__overlay env--pwp">
45
45
  {%- picture {{ page.pwp.image | prepend: 'content/' }}
46
- --img class="hero__image hero__filter pwp__hero"
46
+ --img class="hero__image hero__filter pwp__hero h-100"
47
47
  --alt {{ page.pwp.alt }} -%}</div>
48
48
 
49
49
  </div>
@@ -77,7 +77,7 @@ Last full read through 27/12/2020
77
77
 
78
78
  <div class="hero__overlay env--clinician">
79
79
  {%- picture {{ page.clinician.image | prepend: 'content/' }}
80
- --img class="hero__image hero__filter clinician__hero"
80
+ --img class="hero__image hero__filter clinician__hero h-100"
81
81
  --alt {{ page.clinician.alt }} -%}</div>
82
82
 
83
83
  </div>
@@ -2,7 +2,6 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
-
6
5
  <!--
7
6
 
8
7
  Last full read through 27/12/2020
@@ -22,14 +21,14 @@ Last full read through 27/12/2020
22
21
  {% assign description = site.description %}
23
22
  {% endif %}
24
23
 
25
- <div class="hero">
24
+ <div class="hero hero-90">
26
25
 
27
26
  <div class="hero__overlay">
28
27
  {% picture {{ page.hero.image | prepend: 'content/' }}
29
- --img class="hero__image hero__filter"
28
+ --img class="hero__image image__filter--mix h-100"
30
29
  --alt {{ page.hero.alt }} %}</div>
31
30
 
32
- <div class="hero__strap">
31
+ <div class="hero__strap hero__strap--center hero__strap--env">
33
32
  <h1>
34
33
  <span class="hero__strap--start">
35
34
  {% assign header = site.data.copy.landing.pwp %}
@@ -96,7 +95,7 @@ Last full read through 27/12/2020
96
95
  <div class="segment__right augmented-image" >
97
96
 
98
97
  {% picture {{ page.guarantee.image | prepend: 'content/' }}
99
- --img class="hero__image image--guarantee "
98
+ --img class="hero__image image--guarantee h-100"
100
99
  --alt {{ page.guarantee.alt }} %}
101
100
 
102
101
  <svg class="svg__augment " width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
@@ -0,0 +1,11 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ <section class="fullwidth__wrap">
6
+
7
+
8
+ {{ content }}
9
+
10
+
11
+ </section>
@@ -0,0 +1,2 @@
1
+ @function url-friendly-colour($colour)
2
+ @return '%23' + str-slice('#{$colour}', 2, -1)
@@ -6,7 +6,29 @@
6
6
  *
7
7
  */
8
8
 
9
- // Landing page animations, hover and focus
9
+ @import '_functions'
10
+
11
+ // ##############################################
12
+
13
+ // Image filters
14
+
15
+ // Applied to the actual image with background-color: $env-primary
16
+ @mixin image-filter--mix
17
+ filter: grayscale(1) contrast(.2) brightness(1.8)
18
+ opacity: .6
19
+
20
+ @mixin image-filter-rotate
21
+ filter: grayscale(1) contrast(.8) brightness(.9) sepia(.4) hue-rotate(180deg)
22
+
23
+ // Applied to an overlaying div
24
+ @mixin image-filter--blur
25
+ backdrop-filter: blur(8px)
26
+ background-color: rgba($env-primary, .5)
27
+
28
+
29
+ // ##############################################
30
+
31
+ // Landing page animations - hover and focus
10
32
 
11
33
  @mixin reveal-landing-strap
12
34
  height: 30vh
@@ -39,13 +61,6 @@
39
61
  transform: translateX(0)
40
62
 
41
63
 
42
-
43
- // Global image filter for most hero images
44
- @mixin image-filter
45
- filter: grayscale(.2) contrast(.2) brightness(1.6)
46
- opacity: .7
47
-
48
-
49
64
  // Logo using the OPD primary colors
50
65
  @mixin logo-primary-colors
51
66
  .site__logo--group
@@ -77,3 +92,9 @@
77
92
  .site__logo--t,
78
93
  .site__logo--Q
79
94
  fill: $color
95
+
96
+
97
+ @mixin footer-bg($footer-bg-color)
98
+ background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='1278' height='600' %3E%3Cpath d='M1019,600 C1019,600 1019,600 1019,600 C1019,600 1279,600 1279,600 C1279,600 1279,0 1279,0 C1279,0 413,0 413,0 C413,0 413,0 413,0' fill= '#{url-friendly-colour($footer-bg-color)}' fill-opacity='0.99'/%3E%3Cpath d='M1220,600 C1220,600 0,600 0,600 C0,600 0,0 0,0 C0,0 414,0 414,0 C414,0 1020,600 1020,600' fill= '#{url-friendly-colour($footer-bg-color)}' /%3E%3C/svg%3E")
99
+ background-position: center
100
+ background-size: cover