slow-steps 0.4.2 → 0.4.7

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: e2193a470a747a930f7f0261a3568c062dc074d925836687e3e9a40ff022a297
4
- data.tar.gz: b3c84e394bb0b775086b23c4f4c0f4a2aeb9d1894d2c1c2a51ebd784d805914d
3
+ metadata.gz: 8dcc7a0a6af3c806e7c392cff99ebd0717a56a85a3eadca2c4ce678772c9e10c
4
+ data.tar.gz: 5d1b7c06809fe46f660fc8752b29537db0f0a6c5f3fdc32279855d2284d19ac5
5
5
  SHA512:
6
- metadata.gz: bd97aff330e9127a2973873c75159c43ffda5bbf7feebe4dd46cbc5083dbfa599127ccc3899c4614e71a4c36d34b797d55a10f225c560af351b616f505049262
7
- data.tar.gz: 9f717eadb5b22282922e6de5910e994c456bbc3251657108fded5c38626dc5320618d563d9009b3218cbf70c16977db77dfa48d92119072764fdbd9e95014b09
6
+ metadata.gz: c72e1f445447b7c258541b53a34f1044baac4d837a4c878e16e47a72f316d9dee4c19b0e038a863f4bc9989ae0302bffed720231652f5686fefaf442aa597a70
7
+ data.tar.gz: 471c58191340906ebed9cbd93df83de7a9aa3e780a75118d4b07dbe36657c7b3e121fbdc82965672a97c0e8b96f9727db55f7b41135d25bd175c143fcf1e4506
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,18 @@
1
+ <div class="contact-form">
2
+ <h4 class="form-instruction-FAQ">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 full 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>
@@ -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">COMAPNY 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
 
@@ -123,9 +123,9 @@
123
123
  <div class="mc-field-group input-group" style="position: absolute; left: -5000px;" aria-hidden="true">
124
124
  <select name="USERTYPE" class="required" id="mce-USERTYPE" >
125
125
  {% if page.env == 'pwp' %}
126
- <option value="PWP" selected></option>
126
+ <option value="PwP" selected></option>
127
127
  {% else %}
128
- <option value="CLINICIAN" selected></option>
128
+ <option value="Clinician" selected></option>
129
129
  {% endif %}
130
130
  </select>
131
131
  </div>
@@ -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
 
@@ -37,7 +42,7 @@
37
42
  <!-- use local image if it exist but only for posts -->
38
43
 
39
44
  {% if page.id %}
40
- {% assign image = '/posts/' | append: page.image %}
45
+ {% assign image = '/posts/' | append: page.hero %}
41
46
  {% else %}
42
47
  {% assign image = site.fallback_path | append: site.brand %}
43
48
  {% endif %}
@@ -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()">
@@ -1,9 +1,11 @@
1
+
2
+
1
3
  <!--
2
4
  insert an image located in assets/images/posts/ and wrap with .post__image div.
3
5
  -->
4
6
  <div class="post__image">
5
7
 
6
- {% picture post {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image" %}
8
+ {% picture post {{ include.link | prepend: 'posts/' }} --alt {{include.alt}} --img class="post__content--image image--{{ include.focus }}" %}
7
9
 
8
10
  {% if include.caption %}
9
11
  <p class="image--caption">{{ include.caption }}</p>
data/_includes/image.html CHANGED
@@ -47,7 +47,7 @@
47
47
  </svg>
48
48
  {% endif %}
49
49
 
50
- <!-- closing warpping div -->
50
+ <!-- closing wrapping div -->
51
51
  </div>
52
52
 
53
53
  {% if include.caption %}
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>
data/_layouts/feed.html CHANGED
@@ -21,7 +21,7 @@ layout: default
21
21
  <div class="feed__card" data-aos="fade-up">
22
22
 
23
23
  <div class="feed__card__image">
24
- {% picture thumb {{ post.image | prepend: 'posts/' }} --alt {{ post.alt }} --img class="feed__card--image" %}
24
+ {% picture thumb {{ post.hero | prepend: 'posts/' }} --alt {{ post.hero_alt }} --img class="feed__card--image image--{{ page.hero_focus }}" %}
25
25
  </div>
26
26
  <div class="feed__card--text">
27
27
  <p class="feed__card--meta">Published <span>{{ post.date | date: "%b %d, %Y" }}</span></p>
data/_layouts/post.html CHANGED
@@ -4,7 +4,7 @@ layout: default
4
4
 
5
5
  <section class="post_head">
6
6
 
7
- {% picture {{ page.image | prepend: 'posts/' }} --alt {{ page.image_alt }} --img class="post__hero" %}
7
+ {% picture {{ page.hero | prepend: 'posts/' }} --alt {{ page.hero_alt }} --img class="post__hero image--{{ page.hero_focus }}" %}
8
8
 
9
9
  <div class="post__title">
10
10
  <h1 >{{ page.title }}</h1>
@@ -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,15 +81,16 @@
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
90
91
  color: $pure-white
91
92
  background-color: $env-primary
92
- padding: 2rem 2rem!important
93
+ //padding: 2rem 2rem!important
93
94
  margin-right: 8rem!important
94
95
  border-radius: 6px
95
96
 
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
@@ -53,10 +53,16 @@
53
53
  .post__content--image
54
54
  display: block
55
55
  object-fit: cover
56
- object-position: top
56
+ object-position: center
57
57
  width: 100%
58
58
  height: 50vh
59
59
 
60
+ .image--north
61
+ object-position: top
62
+
63
+ .image--south
64
+ object-position: bottom
65
+
60
66
  .post__link
61
67
  color: $opd-blue
62
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.2
4
+ version: 0.4.7
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-04 00:00:00.000000000 Z
11
+ date: 2021-03-29 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