scoobr 0.1.4 → 0.1.5
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 +4 -4
- data/_includes/form-box.html +2 -2
- data/_includes/mailchimp-form.html +7 -4
- data/_includes/navigation.html +1 -1
- data/_layouts/home.html +2 -5
- data/_sass/components/_layout.scss +6 -2
- data/_sass/components/_navigation.scss +8 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 321407c2ba2a016aecc071941368b00781bfe0ef
|
4
|
+
data.tar.gz: '0881e4687098b79d6f270d8069aa9b80b9624e32'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5611a15a282e0f7108ee8b825658af24b7cbd8251d7566931fb5fc7ae0c21b594e731334b0b52fad007cac9d16eea65c8894630745444a9c129b5dcaee28c16f
|
7
|
+
data.tar.gz: a1b30272cc921ce1e9317a2fac6daf6b79012b559db973ceba8392548040f109379cebe7a9ff495dc5668e16b4f05f77c72c206ba56c05b2734d1956bba72615
|
data/_includes/form-box.html
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
<div class="content-section text-center form-box">
|
2
|
-
<h3>Subscribe to our newsletter</h3>
|
3
|
-
|
2
|
+
<h3>{{ include.heading | default: post.mailchimp-form.heading | default: site.data.mailchimp.copywriting.heading | default: "Subscribe to our newsletter" }}</h3>
|
3
|
+
{{ include.body | default: post.mailchimp-form.body_markdown | default: site.data.mailchimp.copywriting.body_markdown | default: "Ulysses — no-one else can do the things you do. Ulysses - like a bolt of thunder from the blue." | markdownify }}
|
4
4
|
{% include mailchimp-form.html %}
|
5
5
|
</div>
|
@@ -1,4 +1,7 @@
|
|
1
|
-
<
|
2
|
-
|
3
|
-
|
4
|
-
|
1
|
+
<form class="mailchimp-form" action="{{ site.data.mailchimp.action-value }}?SIGNUP={{ include.signup_source | default: post.mailchimp-form.signup_source | default: "Home" | cgi_escape }}" method="POST">
|
2
|
+
<input type="hidden" name="u" value="{{ site.data.mailchimp.user-value }}">
|
3
|
+
<input type="hidden" name="id" value="{{ site.data.mailchimp.id-value }}">
|
4
|
+
|
5
|
+
<input class="input" type="text" name="{{ site.mailchimp.email-value }}" placeholder="Email address" required>
|
6
|
+
<input class="input" type="submit" value="{{ include.button_text | default: post.mailchimp-form.button_text | default: site.data.mailchimp.copywriting.button_text | default: "Sign up" }}">
|
7
|
+
</form>
|
data/_includes/navigation.html
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
<div class="container">
|
6
6
|
|
7
|
-
<a class="site-title" href="{{ site.url }}">{{ site.title }}</a>
|
7
|
+
<a class="site-title" href="{{ site.url }}">{% unless site.logo_path == "" %}<img class="site-logo" src="{{ site.logo_path }}">{% else %}{{ site.title }}{% endunless %}</a>
|
8
8
|
|
9
9
|
<div class="navigation-links">
|
10
10
|
|
data/_layouts/home.html
CHANGED
@@ -4,16 +4,13 @@ layout: default
|
|
4
4
|
|
5
5
|
<header class="text-center vertical-center home-header" style="background-image: url({{ site.data.home.background_path | default: "/assets/pattern.svg" }});">
|
6
6
|
|
7
|
-
<div class="small-container">
|
7
|
+
<div class="small-container{% unless site.logo_path == "" %} push-down{% endunless %}">
|
8
8
|
|
9
9
|
<h2 class="no-margin-top">{{ site.data.home.heading | default: "One morning, when Gregor Samsa woke from troubled dreams." }}</h2>
|
10
10
|
|
11
11
|
{{ site.data.home.body_markdown | default: "Ulysses, Ulysses - Soaring through all the galaxies. In search of Earth, flying in to the night. Ulysses, Ulysses - Fighting evil and tyranny, with all his power, and with all of his might. Ulysses - no-one else can do the things you do. Ulysses - like a bolt of thunder from the blue." | markdownify }}
|
12
12
|
|
13
|
-
|
14
|
-
<input type="text" name="EMAIL" placeholder="Email address">
|
15
|
-
<input type="submit" value="Sign up">
|
16
|
-
</div>
|
13
|
+
{% include mailchimp-form.html %}
|
17
14
|
|
18
15
|
</div>
|
19
16
|
|
@@ -1,6 +1,10 @@
|
|
1
1
|
/* Layout
|
2
2
|
=============== */
|
3
3
|
|
4
|
+
.push-down {
|
5
|
+
margin-top: 60px;
|
6
|
+
}
|
7
|
+
|
4
8
|
.main {
|
5
9
|
position: relative;
|
6
10
|
}
|
@@ -105,11 +109,11 @@
|
|
105
109
|
font-size: 1.1rem;
|
106
110
|
}
|
107
111
|
|
108
|
-
.mailchimp-form input {
|
112
|
+
.mailchimp-form .input {
|
109
113
|
height: $large-buttons;
|
110
114
|
}
|
111
115
|
|
112
|
-
.mailchimp-form input
|
116
|
+
.mailchimp-form .input[type=text] {
|
113
117
|
width: 80%;
|
114
118
|
}
|
115
119
|
|
@@ -20,6 +20,7 @@
|
|
20
20
|
display: flex;
|
21
21
|
flex-direction: row;
|
22
22
|
justify-content: space-between;
|
23
|
+
align-items: center;
|
23
24
|
}
|
24
25
|
|
25
26
|
.main-navigation a {
|
@@ -29,3 +30,10 @@
|
|
29
30
|
.navigation-links a {
|
30
31
|
padding: $padding;
|
31
32
|
}
|
33
|
+
|
34
|
+
.site-logo {
|
35
|
+
max-width: 200px;
|
36
|
+
max-height: 100px;
|
37
|
+
object-fit: contain;
|
38
|
+
object-position: center;
|
39
|
+
}
|