slow-steps 0.1.2 → 0.1.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. checksums.yaml +4 -4
  2. data/_includes/contact-details.html +25 -0
  3. data/_includes/contact-form.html +18 -0
  4. data/_includes/footer/footer_full.html +42 -18
  5. data/_includes/gmap.html +5 -0
  6. data/_includes/head/head.html +1 -2
  7. data/_includes/navigation/global.html +11 -0
  8. data/_layouts/about.html +53 -21
  9. data/_layouts/contact.html +39 -0
  10. data/_layouts/default.html +2 -4
  11. data/_layouts/env/clinician.html +96 -25
  12. data/_layouts/env/landing.html +35 -18
  13. data/_layouts/env/pwp.html +27 -16
  14. data/_layouts/feed.html +1 -1
  15. data/_layouts/full-width.html +11 -0
  16. data/_sass/_functions.sass +2 -0
  17. data/_sass/_mixins.sass +76 -7
  18. data/_sass/_variables.sass +2 -0
  19. data/_sass/about.sass +14 -29
  20. data/_sass/colors/_variables.sass +25 -6
  21. data/_sass/colors/breakpoints/{768.sass → 1024.sass} +2 -2
  22. data/_sass/colors/env/_clinician.sass +1 -1
  23. data/_sass/colors/global.sass +2 -0
  24. data/_sass/contact.sass +227 -0
  25. data/_sass/env/breakpoints/768.sass +5 -46
  26. data/_sass/env/clinician.sass +35 -133
  27. data/_sass/env/landing.sass +32 -33
  28. data/_sass/env/pwp.sass +37 -176
  29. data/_sass/footer_full.sass +139 -48
  30. data/_sass/global.sass +304 -4
  31. data/_sass/navigation/breakpoints/{768.sass → 1024.sass} +6 -3
  32. data/_sass/navigation/env/clinician.sass +1 -10
  33. data/_sass/navigation/env/landing.sass +6 -9
  34. data/_sass/navigation/env/pwp.sass +1 -14
  35. data/_sass/navigation/global.sass +9 -0
  36. data/assets/css/env/gaitq_clinician.sass +6 -4
  37. data/assets/css/env/gaitq_pwp.sass +6 -4
  38. data/assets/css/gaitq_about.sass +22 -0
  39. data/assets/css/gaitq_global.sass +4 -4
  40. data/assets/js/svg_aos.js +3 -3
  41. data/assets/js/svg_text_width.js +9 -1
  42. metadata +13 -5
  43. data/assets/css/img_handler.sass +0 -5
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f99778250d8255d09c4feb5232eca79d4a8e9aaf2c7819a6cec2d050a09fc61c
4
- data.tar.gz: e722072946f3eee1b5a47a14ebc2d6570a020cbcd1cb8b36a3c51f63b2881cd5
3
+ metadata.gz: a9d08362eb798582d3b515c95e1aa22ff5b67ed74b430bc7381f2dccd38ff2bd
4
+ data.tar.gz: 722e64963e49d0935b9e203f93fd0072f084d0983f9bc1ae99d44c50312eef2a
5
5
  SHA512:
6
- metadata.gz: 87d1517e7f8e857e70260acdc241b5ff6de4f8bb79dab6f50b73a366e677a90bcfc80ea6d59c16cca351c3da9c15a911862fbfd1c56ad2acca1a125886bab78a
7
- data.tar.gz: eb9d967005c27d31fa48dc25a8b6f93aac4b24b3f6264aa73a8392dc8373bb673429b78994354ad93b5bd3b1a4bfecfef71b86096dcdfe0872949087feac8666
6
+ metadata.gz: fe6226e3fe6111d6012f02475c78b63364cda441211edef74a005e46a217bc4a61293026a5e6c53b7c2c0ca14a2969b7836969759fcf00c6b263386f543f47ae
7
+ data.tar.gz: 37d00e20b8b27a8d65f371e6cb0ce84d7f0c0eb1e473fb90cf411e353ab23f4e3550872503f7165bb54f87ea19dc11f62a27a53c80f6b1da3a328dea8acfcd4b
@@ -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>
@@ -1,43 +1,67 @@
1
1
  <!-- footer -->
2
- <footer class="ft-wrapper">
2
+ <footer class="ft__wrapper">
3
3
 
4
4
  <div class="ft__head">
5
- <a href="{{ site.baseurl }}/">
6
- {% include /branding/site-logo.svg %}</a>
5
+
7
6
  </div>
8
7
  <div class="ft__body">
9
8
 
10
- <section class="ft__sitemap">
9
+ <div class="ft__contact ft__col">
10
+
11
+ <a href="{{ site.baseurl }}/">
12
+ {% include /branding/site-logo.svg %}
13
+ </a>
14
+ <div class="ft__contact__add">
15
+ <ul class="ft__contact--list">
16
+ {% for item in site.postal_add %}
17
+ <li class="address">{{ item[1] }}</li>
18
+ {% endfor %}
19
+ <li>{{ site.phone }}</li>
20
+ <li>{{ site.email }}</li>
21
+ </ul>
22
+
23
+ </div>
24
+ </div>
25
+
26
+ <div class="ft__sitemap ft__col">
11
27
  <div class="ft__sitemap--menu">
28
+ <h3 class="ft__sitemap--header">INFORMATION FOR</h3>
29
+
30
+ <div class="ft__sitemap--env-wrap">
12
31
  {% for item in site.data.menu.navigation %}
13
- <h2 class="ft__sitemap--header">{{ item.name }}</h2>
14
- <ul class="ft__sitemap--submenu">
32
+
33
+ <div class="ft__sitemap--env">
34
+
35
+ <h4 class="ft__sitemap--env-header">{{ item.name }}</h4>
36
+ <ul class="ft__sitemap--submenu">
15
37
  {% for sub in item.submenu %}
16
- <li><a href="{{ sub.url }}">{{ sub.name }}</a></li>
38
+ <li><a href="{{ sub.url }}">{{ sub.alt }}</a></li>
17
39
  {% endfor %}
18
- </ul>
40
+ </ul>
41
+ </div>
42
+
19
43
  {% endfor %}
20
- </div>
21
- </section>
22
44
 
23
- <!-- quick contact form -->
45
+ </div>
46
+ </div>
47
+ </div>
24
48
 
25
- <section class="ft__contact">
26
- {% include /forms/mc-register.html %}
27
- </section>
28
49
  </div>
29
50
  <!-- footer base and copyright -->
30
51
 
31
52
  <div class="ft__base">
32
- <a href="{{ site.author.url }}" class="slogan">made slowly</a>
53
+
54
+ <p class="copyright">&copy; <script>
55
+ document.write(new Date().getFullYear())
56
+ </script> {{ site.title }}</p>
57
+
58
+
33
59
  <div class="legal-links">
34
60
  {% for item in site.data.menu.legals %}
35
61
  <a href="{{ item.url }}">{{ item.name }}</a>
36
62
  {% endfor %}
37
63
  </div>
38
- <p class="copyright">&copy; <script>
39
- document.write(new Date().getFullYear())
40
- </script> {{ site.title }} Limited</p>
64
+ <a href="{{ site.author.url }}" class="slogan">made slowly</a>
41
65
  </div>
42
66
 
43
67
  </footer>
@@ -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,11 +8,9 @@ layout: compress
8
8
 
9
9
  {{ content }}
10
10
 
11
- {% if page.layout == "env/landing" or page.layout == "error-page" %}
11
+ {% if page.layout != "error-page" %}
12
12
 
13
- {% else %}
14
-
15
- {% include footer/footer.html %}
13
+ {% include footer/footer_full.html %}
16
14
 
17
15
  {% endif %}
18
16
 
@@ -2,47 +2,118 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- <div class="clinician__hero">
5
+ <!--
6
6
 
7
- <div class="clinician__overlay">
8
- <div class="clinician__bg">
9
- </div>
10
- </div>
7
+ Last full read through 27/12/2020
8
+
9
+ ##############################################
10
+ # Clinician Layout/_layouts/env/clinician.html
11
+ ##############################################
12
+
13
+ -->
14
+
15
+ <!-- assign description with site decsription as fallback -->
11
16
 
12
- <div class="clinician__strap">
13
- <h1>{{ site.data.copy.about.clinician.title }}</h1>
14
- <p data-aos="fade-up">{{ site.data.copy.about.clinician.description }}</p>
17
+ {% if site.data.copy.landing.clinician.description %}
18
+ {% assign description = site.data.copy.landing.clinician.description %}
19
+ {% else %}
20
+ {% assign description = site.description %}
21
+ {% endif %}
22
+
23
+ <div class="hero hero-65">
24
+
25
+ <div class="hero__overlay">
26
+ {% picture {{ page.hero.image | prepend: 'content/' }}
27
+ --img class="hero__image image__filter--mix"
28
+ --alt {{ page.hero.alt }} %}</div>
29
+
30
+ <div class="hero__strap hero__strap--baseline bg--env-100">
31
+ <h2>{{ site.data.copy.landing.clinician.title }}</h2>
32
+ <p data-aos="fade-up">{{ site.data.copy.landing.clinician.description }}</p>
15
33
  </div>
16
34
 
17
- <div class="clinician__follow"></div>
35
+ <div class="hero__follow"></div>
18
36
 
19
37
  </div>
20
38
 
21
39
 
22
- {% picture
23
- {{ page.image | prepend: 'content/' }}
24
- --img class="clinician__hero__2"
25
- --alt {{ page.image_alt }} %}
40
+ <div class="augmented-image">
26
41
 
42
+ {% picture {{ page.subhero.image | prepend: 'content/' }}
43
+ --img class="hero__image"
44
+ --alt {{ page.subhero.alt }} %}
27
45
 
46
+ <svg class="svg__augment" viewBox="-50 -50 100 100" width="100%" height="100%" xmlns="http://www.w3.org/2000/svg">
47
+ <defs>
48
+ <radialGradient id="augmentLED" cx="50%" cy="50%" r="50%" fx="50%" fy="50%">
49
+ <stop offset="0%" />
50
+ <stop offset="100%" />
51
+ </radialGradient>
52
+ </defs>
53
+
54
+ <circle class="svg__augment--pulse" cx="32%" cy="2%" />
55
+ <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
56
+
57
+ </svg>
58
+
59
+ </div>
60
+
61
+ <div class="segment__wrap">
62
+
63
+ <div class="segment__left">
64
+
65
+
66
+ <div class="center-text segment__keywords strap--opd-trust">
67
+ {% assign keyword = site.data.copy.landing.clinician.keywords | split: ", " %}
68
+ {% for word in (1..keyword.size) %}
69
+ <h3 data-aos="fade-in">{{ keyword[forloop.index0] }}</h3>
70
+ {% endfor %}</div>
71
+
72
+ <!-- setup liquid variables -->
73
+ {%- assign env = site.data.menu.navigation | where: 'env', 'clinician' -%}
74
+ {%- assign env = env[0] -%}
75
+
76
+ {%- assign cta = env.submenu | where: 'id', 'cta' -%}
77
+ {%- assign cta = cta[0] -%}
78
+
79
+ <a class="action__call" aria-label="{{ cta.aria }}" href="{{ cta.url }}">
80
+ <span>{{ cta.alt }}</span>
81
+ <!-- svg arrow -->
82
+ <svg width="13px" height="10px" viewBox="0 0 13 10">
83
+ <path d="M1,5 L11,5"></path>
84
+ <polyline points="8 1 12 5 8 9"></polyline></svg>
85
+ </a>
28
86
 
29
- <div class="clinician__grid-wrap">
30
87
 
31
- <div class="clinician__grid-col-l">
32
- <div class="clinician__straps clinician__grid_img"></div>
33
- </div>
34
- <div class="clinician__grid-col-r">
35
- <div class="clinician__straps "></div>
36
88
  </div>
37
89
 
38
- <div class="clinician__grid__text">
90
+ <div class="segment__right augmented-image" >
91
+
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>
39
115
 
40
- {% assign keyword = site.data.copy.about.clinician.keywords | split: ", " %}
41
- {% for word in (1..keyword.size) %}
42
- <p class="clinician__grid--keywords" data-aos="fade-in" data-aos-anchor-placement="top-bottom">{{ keyword[forloop.index0] }}</p>
43
- {% endfor %}
44
116
 
45
- <div class="action__call"></div>
46
117
  </div>
47
118
 
48
119
  </div>