slow-steps 0.4.4 → 0.4.9

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f139255a97d5ba774425bd881d404f69326bb2372cef233eefea1242deeba391
4
- data.tar.gz: f22d8b51ddfb3f79fe11c1aaaa1a1b8a577f028213dc8e8e8667714a567016fc
3
+ metadata.gz: a672c9ed6daad50646901a6402c3a2540682043591bad88c7c42ecd1cbd522a5
4
+ data.tar.gz: b7bcb7708c716d96ee923ec82f689d61ff7874a30abad8df2fae6e8326a9ffad
5
5
  SHA512:
6
- metadata.gz: e243fb03a274f344870367f793b22e5343c3d04337e7c6f945b201a5d5371d4fc273e020f3ad529cc08426add20ac3afb871abc6e70177cbeffe7e076b179fcf
7
- data.tar.gz: 683f14a06a9918a18025b1b70faad3901b90d3c85f013b244904171b918623d8682c098d42f1ca4f54ae881b689a4dae73788da31c3263727b47fea59f4f9c7b
6
+ metadata.gz: 232f2e30526024dd6e588e6354613fd1604e615bf8fc104e90a5fef9099b488ade3662f559e41ae5f86689b522626a9c1cd704065be8251d9dbabcd0d9dbdd6c
7
+ data.tar.gz: de9048bb3071320aa94074cfe00847526a71823a698a4b71d30909298a4d8f638393b3c109213fa157647237438edddbc01e0a113ef23a005bdc7dfcae710581
data/_config.yml CHANGED
@@ -53,3 +53,4 @@ autoprefixer:
53
53
  picture:
54
54
  source: 'assets/images'
55
55
  output: 'assets/images'
56
+ strip_metadata: true
@@ -0,0 +1,24 @@
1
+ <!--
2
+ changed from formspree to kwes 25 May 2021 Arran
3
+ -->
4
+
5
+ <!-- script has been moved to slow-steps/_includes/scripts.html -->
6
+ <!--<script src="https://kwes.io/v2/kwes-script.js" defer></script>-->
7
+ <div class="contact-form">
8
+ <h4 class="form-instruction-FAQ">Get in touch using the form below</h4>
9
+
10
+ <form class="kwes-form" action="https://kwes.io/api/foreign/forms/{{ site.kwes }}">
11
+
12
+ <label for="name">Enter your full name</label>
13
+ <input type="text" class="form-element" name="name" id="name" placeholder="Your Name" required>
14
+
15
+ <label for="email">Enter your email</label>
16
+ <input type="text" class="form-element" name="email" id="email" placeholder="Your email" required>
17
+
18
+ <label for="message">Enter your message</label>
19
+ <textarea class="form-element" rows="5" name="message" id="message" placeholder="Your Message" required></textarea>
20
+
21
+ <button class="btn btn-pop btn-outline btn-contact" type="submit">SEND</button>
22
+
23
+ </form>
24
+ </div>
@@ -29,15 +29,22 @@
29
29
  <div class="ft__sitemap">
30
30
  <div class="ft__sitemap--menu">
31
31
 
32
- {% if page.url != "/" %}
32
+ {% if page.url == "/" %}
33
+ {% assign env = "clinician" %}
33
34
 
34
- <h2 class="ft__sitemap--header">COMPANY INFORMATION</h2>
35
+ {% else %}
36
+
37
+ {% assign env = page.env %}
38
+
39
+ {% endif %}
40
+
41
+ <h2 class="ft__sitemap--header">Company Information</h2>
35
42
 
36
43
  <div class="ft__sitemap--env-wrap">
37
44
 
38
45
  {% for item in site.data.menu.navigation %}
39
46
 
40
- {% if item.env == page.env %}
47
+ {% if item.env == env %}
41
48
 
42
49
  <div class="ft__sitemap--env">
43
50
 
@@ -59,10 +66,11 @@
59
66
 
60
67
  </div>
61
68
 
62
- {% endif %}
63
69
 
64
70
 
65
71
 
72
+ <!--
73
+ Remove Site map for now
66
74
  <h2 class="ft__sitemap--header">INFORMATION FOR</h2>
67
75
 
68
76
  <div class="ft__sitemap--env-wrap">
@@ -85,6 +93,7 @@
85
93
  {% endfor %}
86
94
 
87
95
  </div>
96
+ -->
88
97
 
89
98
  </div>
90
99
  </div>
@@ -97,7 +106,7 @@
97
106
  <ul>
98
107
  <li class="ft__contact--link"><a href="mailto:{{ site.email }}"><i class="fas fa-envelope"></i>{{ site.email }}</a></li>
99
108
 
100
- <!--- <li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li> -->
109
+ <li class="ft__contact--link"><a href="tel:{{ site.phone }}"><i class="fas fa-phone-square"></i>{{ site.phone }}</a></li>
101
110
 
102
111
  </ul>
103
112
 
@@ -1,6 +1,11 @@
1
1
 
2
2
  <!-- *** OG *** https://ogp.me/ -->
3
- <meta property="og:title" content="{% if page.url == '/' %} {{ site.title }} {% else %} {{ page.title }} | {{ site.title }} {% endif %}" />
3
+ <meta property="og:title" content="
4
+ {% if page.url == '/' %}
5
+ {{ site.title }} | {{ site.subtitle }}
6
+ {% else %}
7
+ {{ page.title }} | {{ site.title }}
8
+ {% endif %}" />
4
9
 
5
10
  <!-- Adds article properties for posts -->
6
11
 
@@ -52,7 +57,12 @@
52
57
 
53
58
  <!-- to implement this properly we need some kind of db recording the descriptors of our thumbs -->
54
59
 
55
- <meta property="og:image:alt" content="{{ site.subtitle }}" />
60
+ <meta property="og:image:alt" content="
61
+ {%- if page.id -%}
62
+ {{ page.hero_alt }}
63
+ {%- else -%}
64
+ {{ site.subtitle }}
65
+ {%- endif -%} "" />
56
66
 
57
67
  <meta property="og:url" content="{{ site.url }}{{ site.baseurl }}{{ page.url }}" />
58
68
 
@@ -10,8 +10,16 @@
10
10
  {% else %} {{ page.description }} {% endif %}" />
11
11
 
12
12
  <meta name="twitter:image" content="
13
- {%- if page.image -%}{{ site.url }}{{ site.baseurl }}{{ site.default_path }}
14
- {%- if page.id -%}{{ page.image | prepend: 'posts/' }}{%- else -%}{{ page.image }}{%- endif -%}{%- else -%}{{ site.url }}{{ site.baseurl }}{{ site.fallback_path }}{{ site.brand }}{%- endif -%}" />
13
+ {%- if page.id -%}
14
+ {{ site.url }}{{ site.baseurl }}{{ site.default_path }}{{ page.hero | prepend: 'posts/' }}
15
+ {%- else -%}
16
+ {{ site.url }}{{ site.baseurl }}{{ site.fallback_path }}{{ site.brand }}
17
+ {%- endif -%} "/>
15
18
  <!-- to implement this we need some kind of db recording the descriptors of our thumbs -->
16
- <meta name="twitter:image:alt" content="" />
19
+ <meta name="twitter:image:alt" content="
20
+ {%- if page.id -%}
21
+ {{ page.hero_alt }}
22
+ {%- else -%}
23
+ {{ site.subtitle }}
24
+ {%- endif -%} " />
17
25
  <!-- *** END TWITTER:CARD *** -->
@@ -31,7 +31,13 @@
31
31
  {% assign date = 'now' | date: "%Y" %}
32
32
  <meta name="copyright" content="Copyright {{ site.title | append: ' Limited ' | append: date }}" />
33
33
 
34
+ <!-- if production, get bots to follow us -->
35
+ {% if jekyll.environment == "production" %}
34
36
  <meta name="robots" content="follow" />
37
+ <!-- else, stop the site from beinf indexed -->
38
+ {% else %}
39
+ <meta name="robots" content="noindex">
40
+ {% endif %}
35
41
 
36
42
  <link rel="canonical" href="{{ page.url | absolute_url }}" />
37
43
 
@@ -53,8 +59,6 @@
53
59
  {% include head/google-analytics.html %}
54
60
  {% endif %}
55
61
 
56
-
57
-
58
62
  </head>
59
63
 
60
64
  <body class="preload" onload="animate_after_load()">
@@ -26,6 +26,9 @@
26
26
 
27
27
  <script type="text/javascript" src="{{ '/assets/vendor/aos/aos.js' | relative_url }}" ></script>
28
28
 
29
+ <!-- need to conditional load this. will sort that out after tyding up content repo 25 May 2021 Arran -->
30
+ <script src="https://kwes.io/v2/kwes-script.js" async></script>
31
+
29
32
  {% include cookie-consent.html %}
30
33
 
31
34
  <script>
data/_layouts/about.html CHANGED
@@ -101,8 +101,7 @@ Last full read through 29/12/2020
101
101
  {% for socials in member.social %}
102
102
  <li>
103
103
  <a class="social--{{ socials.name }} social"href="{{ socials.url }}">
104
- <i class="{{ socials.icon }}"></i>
105
- </a>
104
+ <i class="{{ socials.icon }}"></i></a>
106
105
  </li>
107
106
  {% endfor %}
108
107
  </ul>
@@ -2,8 +2,11 @@
2
2
  layout: default
3
3
  ---
4
4
 
5
- {% assign strap = page.title %}
6
-
5
+ {% if site.data.copy.contact[page.env].title %}
6
+ {% assign strap = site.data.copy.contact[page.env].title %}
7
+ {% else %}
8
+ {% assign strap = site.description %}
9
+ {% endif %}
7
10
 
8
11
  <div class="hero hero-65">
9
12
 
@@ -51,7 +51,7 @@ 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="33%" cy="2%" >
55
55
 
56
56
  <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
57
57
  -->
@@ -60,7 +60,7 @@ Last full read through 27/12/2020
60
60
  <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
61
61
 
62
62
  </circle>
63
- <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
63
+ <circle class="svg__augment--led" cx="33%" cy="2%" r=".5" />
64
64
 
65
65
  </svg>
66
66
 
@@ -63,7 +63,7 @@ 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="33%" cy="2%" >
67
67
 
68
68
  <!-- Can't animate with CSS, see https://stackoverflow.com/questions/32409101/resizing-svg-circle-radius-using-css-animation
69
69
  -->
@@ -72,7 +72,7 @@ Last full read through 27/12/2020
72
72
  <animate attributeName="fill-opacity" attributeType="CSS" begin="0s" dur="2s" repeatCount="indefinite" from="1" to="0" fill="freeze" />
73
73
 
74
74
  </circle>
75
- <circle class="svg__augment--led" cx="32%" cy="2%" r=".5" />
75
+ <circle class="svg__augment--led" cx="33%" cy="2%" r=".5" />
76
76
 
77
77
  </svg>
78
78
 
data/_layouts/faq.html CHANGED
@@ -70,6 +70,6 @@ document.querySelectorAll('.faq__question').forEach(function(el){
70
70
 
71
71
  <div class="faq__contact">
72
72
  <h2 class="faq__contact--strap">Not found the answer?</h2>
73
- {% include contact-form.html %}
73
+ {% include contact-form-faq.html %}
74
74
 
75
75
  </div>
@@ -0,0 +1,62 @@
1
+ ---
2
+ layout: default
3
+ ---
4
+
5
+ {% if page.hero %}
6
+ <header class="product__strap " aria-label="{{ strap }}">
7
+ <h1>
8
+ {{ page.title }}
9
+ </h1>
10
+ </header>
11
+
12
+ <div class="product__hero">
13
+ {% picture {{ page.hero.file | prepend: 'content/' }}
14
+ --img class=""
15
+ --alt {{ page.hero.alt }} %}
16
+ </div>
17
+ {% endif %}
18
+
19
+ <div class="product__info">
20
+
21
+ <h1 class="product__title" data-aos="fade-down">
22
+ {{ site.data.copy.product[page.env].title }}
23
+ </h1>
24
+
25
+ {% for para in site.data.copy.product[page.env].overview %}
26
+ <p data-aos="fade-up">
27
+ {{ para.para }}
28
+ </p>
29
+ {% endfor %}
30
+ </div>
31
+
32
+
33
+ <div class="product__wrap">
34
+ <div class="product__image" data-aos="zoom-in-right" data-aos-anchor-placement="top-center">
35
+
36
+ {% include image.html image="device_1" alt="Describe the image" class="product--image" %}
37
+
38
+ <div class="product__description">
39
+ <p data-aos="fade-left">
40
+ <span class="product__start">
41
+ {{ site.data.copy.product[page.env].device[0].para | split: '\' | first }}
42
+ </span> {{ site.data.copy.product[page.env].device[0].para | split: '\' | last }}
43
+ </p>
44
+ </div>
45
+ </div>
46
+
47
+
48
+ <div class="product__wrap">
49
+ <div class="product__description txt-right">
50
+
51
+ <p data-aos="fade-right">
52
+ <span class="product__start">
53
+ {{ site.data.copy.product[page.env].device[1].para | split: '\' | first }}
54
+ </span> {{ site.data.copy.product[page.env].device[1].para | split: '\' | last }}
55
+ </p>
56
+
57
+ </div>
58
+
59
+ <div class="product__image" data-aos="zoom-in-left" data-aos-anchor-placement="top-center">
60
+ {% include image.html image="device_2" alt="Describe the image" class="product--image" %}
61
+
62
+ </div>
data/_sass/contact.sass CHANGED
@@ -21,6 +21,11 @@
21
21
  padding-top: $lg-font-size
22
22
  color: $env-primary
23
23
 
24
+ .form-instruction-FAQ
25
+ padding-bottom: $font-size
26
+ padding-top: $lg-font-size
27
+ color: $pure-white
28
+
24
29
  .contact-form
25
30
  width: 100%
26
31
  display: block
data/_sass/feed.sass CHANGED
@@ -36,7 +36,7 @@
36
36
  box-shadow: 0 10px 6px -5px rgba($env-primary,.6)
37
37
  transition: 1s ease-in-out
38
38
  .feed__card--title
39
- color: $pure-black
39
+ color: $opd-coral
40
40
  transition: .4s ease-in-out
41
41
 
42
42
  .feed__card__image
data/_sass/global.sass CHANGED
@@ -20,6 +20,7 @@
20
20
 
21
21
  body
22
22
  background-color: $white
23
+ color: $opd-blue
23
24
 
24
25
  .fullwidth__wrap
25
26
  background-color: $white
@@ -81,9 +81,10 @@
81
81
  .sub-link,
82
82
  .subsub-link
83
83
  color: $env-primary
84
- border-bottom: solid 1px $pure-white
84
+
85
85
  span
86
86
  padding: 1rem 0
87
+ border-bottom: solid 1px rgba($pure-white, 0)
87
88
 
88
89
  .nav-cta
89
90
  @include default-trans
data/_sass/post.sass CHANGED
@@ -23,7 +23,7 @@
23
23
  background-color: $env-primary
24
24
  color: $white
25
25
  left: 5vw
26
- max-width: 50vw
26
+ max-width: 90vw
27
27
  text-transform: uppercase
28
28
  //bottom: -10px
29
29
  border: solid 1px $white
@@ -62,7 +62,7 @@
62
62
 
63
63
  .image--south
64
64
  object-position: bottom
65
-
65
+
66
66
  .post__link
67
67
  color: $opd-blue
68
68
  text-decoration: none
@@ -0,0 +1,117 @@
1
+
2
+ .product__hero
3
+
4
+ img
5
+ display: block
6
+ object-fit: cover
7
+ transform: translateY(35vh)
8
+
9
+ .product__strap
10
+ text-align: center
11
+ color: $env-primary
12
+ overflow: hidden
13
+ font-size: $lg-font-size
14
+ //overflow-y: visible
15
+ transform: scale(1) translateY(25vh)
16
+
17
+
18
+ @media screen and ( min-width: 768px )
19
+
20
+
21
+ .product__hero
22
+ animation: slide-hero 1.2s
23
+ animation-delay: .6s
24
+ animation-fill-mode: forwards
25
+ //object-fit: cover
26
+ //overflow: hidden
27
+
28
+
29
+ img
30
+ display: block
31
+ //height: 100vh
32
+ //height: calc(var(--vh, 1vh) * 100)
33
+ //z-index: 2
34
+ object-fit: cover
35
+ transform: translateY(0)
36
+
37
+
38
+ @keyframes slide-hero
39
+
40
+ 0%
41
+ transform: translateX(0)
42
+
43
+ 100%
44
+ transform: translateY(35vh)
45
+
46
+ .product__strap
47
+ text-align: center
48
+ animation: slide-strap 1s
49
+ animation-delay: 1s
50
+ animation-fill-mode: forwards
51
+ transform: scale(1) translateY(25vh)
52
+
53
+ @keyframes slide-strap
54
+
55
+ 0%
56
+ transform: scale(0) translateY(25vh)
57
+
58
+ 100%
59
+ transform: scale(1) translateY(25vh)
60
+
61
+
62
+ .product__wrap
63
+ flex-direction: row
64
+ padding: 20vh 0 0
65
+
66
+ .product__image,
67
+ .product__description
68
+ width: 40vw
69
+ max-width: 600px
70
+ padding: 0
71
+
72
+ .product__info
73
+ //height: 100vh
74
+ background-color: $pure-white
75
+ text-align: center
76
+ margin-top: 35vh
77
+
78
+ p
79
+ width: 80vw
80
+ max-width: 800px
81
+ margin: auto
82
+
83
+ .product__title
84
+ padding: 10rem 0 5rem 0
85
+
86
+ .product__wrap
87
+ display: flex
88
+ flex-direction: column
89
+ width: 100%
90
+ background-color: $pure-white
91
+ padding: 0
92
+ margin: auto
93
+ justify-content: center
94
+ overflow: hidden
95
+
96
+ .product__image,
97
+ .product__description
98
+ display: flex
99
+ align-content: center
100
+ align-self: center
101
+ justify-content: center
102
+ width: 90vw
103
+ overflow: hidden
104
+ padding: 6rem 0
105
+
106
+ .product__start
107
+ color: $env-primary
108
+ font-weight: $heavy-font
109
+
110
+ .product--image
111
+ display: block
112
+ width: 100%
113
+ max-width: 300px
114
+ object-fit: cover
115
+
116
+ .txt-right
117
+ text-align: right
@@ -39,6 +39,8 @@ $baseurl: '{{ site.baseurl }}/'
39
39
 
40
40
  @import 'breakpoints/about'
41
41
 
42
+ @import 'product'
43
+
42
44
  @import 'forms/mc-forms'
43
45
 
44
46
  @import 'contact'
@@ -41,6 +41,8 @@ $baseurl: '{{ site.baseurl }}/'
41
41
 
42
42
  @import 'breakpoints/about'
43
43
 
44
+ @import 'product'
45
+
44
46
  @import 'forms/mc-forms'
45
47
 
46
48
  @import 'contact'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slow-steps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.4
4
+ version: 0.4.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Made Slowly
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-02-10 00:00:00.000000000 Z
11
+ date: 2021-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -183,6 +183,7 @@ files:
183
183
  - _includes/branding/site-logo.svg
184
184
  - _includes/build-version.html
185
185
  - _includes/contact-details.html
186
+ - _includes/contact-form-faq.html
186
187
  - _includes/contact-form.html
187
188
  - _includes/cookie-consent.html
188
189
  - _includes/env_filter.html
@@ -221,6 +222,7 @@ files:
221
222
  - _layouts/feed.html
222
223
  - _layouts/full-width.html
223
224
  - _layouts/post.html
225
+ - _layouts/product.html
224
226
  - _layouts/register.html
225
227
  - _sass/_colors/README.md
226
228
  - _sass/_colors/_clinician.sass
@@ -258,6 +260,7 @@ files:
258
260
  - _sass/navigation/no-nav.sass
259
261
  - _sass/navigation/pwp.sass
260
262
  - _sass/post.sass
263
+ - _sass/product.sass
261
264
  - _sass/typography/_variables.sass
262
265
  - _sass/typography/branding.sass
263
266
  - _sass/typography/resets.sass