@moreonion/foundist 3.0.0 → 3.0.2
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.
- package/package.json +2 -2
- package/src/html/basic-action-page-cover-1col-with-headline.html +60 -0
- package/src/html/basic-action-page-cover-2col-with-headline.html +60 -0
- package/src/html/basic-action-page-cover-banner-with-headline.html +60 -0
- package/src/html/basic-action-page-with-banner-and-headline.html +60 -0
- package/src/html/dev-index.html +8 -0
- package/src/html/includes/login-form.html +1 -1
- package/src/html/includes/section-1col.html +11 -0
- package/src/html/includes/section-2col.html +12 -0
- package/src/html/templates/action-page-cover-1col.html +1 -1
- package/src/html/templates/action-page-cover-banner.html +4 -3
- package/src/html/templates/action-page-reversed.html +1 -1
- package/src/html/templates/action-page.html +1 -1
- package/src/html/templates/page.html +19 -12
- package/src/html/templates/share-page.html +6 -0
- package/src/html/thank-you-page-cover-1col-with-headline.html +33 -0
- package/src/html/thank-you-page-cover-2col-with-headline.html +37 -0
- package/src/html/thank-you-page-cover-banner-with-headline.html +33 -0
- package/src/html/thank-you-page-with-banner-and-headline.html +33 -0
- package/src/html/thank-you-page.html +1 -1
- package/src/js/foundist.js +9 -3
- package/src/scss/_util.scss +16 -6
- package/src/scss/components/_accordion.scss +4 -6
- package/src/scss/components/_bottom-section.scss +117 -0
- package/src/scss/components/_headline.scss +118 -0
- package/src/scss/layout/_banner.scss +50 -13
- package/src/scss/layout/_cover-banner.scss +80 -34
- package/src/scss/layout/_cover.scss +127 -46
- package/src/scss/layout/_default.scss +9 -3
- package/src/scss/layout/_sections.scss +7 -3
- package/src/scss/main.scss +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@moreonion/foundist",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.2",
|
|
4
4
|
"description": "Foundation based default theme for Impact Stack landing pages.",
|
|
5
5
|
"author": "More Onion <kontakt@more-onion.at>",
|
|
6
6
|
"license": "MIT",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"prepare": "husky install"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@moreonion/foundation-base": "^3.0.
|
|
29
|
+
"@moreonion/foundation-base": "^3.0.1",
|
|
30
30
|
"vite-plugin-nunjucks": "^0.1.10"
|
|
31
31
|
},
|
|
32
32
|
"lint-staged": {
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{% extends "src/html/templates/action-page-cover-1col.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-1col" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>Cats love huge display headlines<br>Meouw!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block top %}
|
|
18
|
+
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block form_intro %}
|
|
22
|
+
<h2>Signup now!</h2>
|
|
23
|
+
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
24
|
+
{% endblock %}
|
|
25
|
+
|
|
26
|
+
{% block progress_bar %}
|
|
27
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
28
|
+
{% endblock %}
|
|
29
|
+
|
|
30
|
+
{% block form %}
|
|
31
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
32
|
+
{% endblock %}
|
|
33
|
+
|
|
34
|
+
{% block recent_supporters %}
|
|
35
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
36
|
+
{% endblock %}
|
|
37
|
+
|
|
38
|
+
{% block content_top %}
|
|
39
|
+
<div class="media-stretch">
|
|
40
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
41
|
+
</div>
|
|
42
|
+
{% endblock %}
|
|
43
|
+
|
|
44
|
+
{% block content %}
|
|
45
|
+
<h2>Cougar British shorthair turkish angora</h2>
|
|
46
|
+
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
47
|
+
<p>A very wise cat once said:</p>
|
|
48
|
+
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
49
|
+
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
50
|
+
{% endblock %}
|
|
51
|
+
|
|
52
|
+
{% block bottom %}
|
|
53
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
54
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
55
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
56
|
+
{% endblock %}
|
|
57
|
+
|
|
58
|
+
{% block footer %}
|
|
59
|
+
{% include "src/html/includes/menu.html" %}
|
|
60
|
+
{% endblock %}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-2col" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>Cats love huge display headlines<br>Meouw!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block top %}
|
|
18
|
+
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block form_intro %}
|
|
22
|
+
<h2>Signup now!</h2>
|
|
23
|
+
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
24
|
+
{% endblock %}
|
|
25
|
+
|
|
26
|
+
{% block progress_bar %}
|
|
27
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
28
|
+
{% endblock %}
|
|
29
|
+
|
|
30
|
+
{% block form %}
|
|
31
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
32
|
+
{% endblock %}
|
|
33
|
+
|
|
34
|
+
{% block recent_supporters %}
|
|
35
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
36
|
+
{% endblock %}
|
|
37
|
+
|
|
38
|
+
{% block content_top %}
|
|
39
|
+
<div class="media-stretch">
|
|
40
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
41
|
+
</div>
|
|
42
|
+
{% endblock %}
|
|
43
|
+
|
|
44
|
+
{% block content %}
|
|
45
|
+
<h2>Cougar British shorthair turkish angora</h2>
|
|
46
|
+
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
47
|
+
<p>A very wise cat once said:</p>
|
|
48
|
+
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
49
|
+
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
50
|
+
{% endblock %}
|
|
51
|
+
|
|
52
|
+
{% block bottom %}
|
|
53
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
54
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
55
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
56
|
+
{% endblock %}
|
|
57
|
+
|
|
58
|
+
{% block footer %}
|
|
59
|
+
{% include "src/html/includes/menu.html" %}
|
|
60
|
+
{% endblock %}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{% extends "src/html/templates/action-page-cover-banner.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-banner" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>Cats love huge display headlines<br>Meouw!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block top %}
|
|
18
|
+
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block form_intro %}
|
|
22
|
+
<h2>Signup now!</h2>
|
|
23
|
+
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
24
|
+
{% endblock %}
|
|
25
|
+
|
|
26
|
+
{% block progress_bar %}
|
|
27
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
28
|
+
{% endblock %}
|
|
29
|
+
|
|
30
|
+
{% block form %}
|
|
31
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
32
|
+
{% endblock %}
|
|
33
|
+
|
|
34
|
+
{% block recent_supporters %}
|
|
35
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
36
|
+
{% endblock %}
|
|
37
|
+
|
|
38
|
+
{% block content_top %}
|
|
39
|
+
<div class="media-stretch">
|
|
40
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
41
|
+
</div>
|
|
42
|
+
{% endblock %}
|
|
43
|
+
|
|
44
|
+
{% block content %}
|
|
45
|
+
<h2>Cougar British shorthair turkish angora</h2>
|
|
46
|
+
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
47
|
+
<p>A very wise cat once said:</p>
|
|
48
|
+
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
49
|
+
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
50
|
+
{% endblock %}
|
|
51
|
+
|
|
52
|
+
{% block bottom %}
|
|
53
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
54
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
55
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
56
|
+
{% endblock %}
|
|
57
|
+
|
|
58
|
+
{% block footer %}
|
|
59
|
+
{% include "src/html/includes/menu.html" %}
|
|
60
|
+
{% endblock %}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "banner" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Take action now!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block banner %}
|
|
10
|
+
<img src="http://placekitten.com/1280/588" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block top %}
|
|
14
|
+
<p>Reward the chosen human with a slow blink. Scratch stand in front of the computer screen run off table persian cat jump eat fish. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block headline %}
|
|
18
|
+
<p>Cats love huge display headlines<br>Meouw!</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block form_intro %}
|
|
22
|
+
<h2>Signup now!</h2>
|
|
23
|
+
<p>Abyssinian tiger american shorthair british shorthair puma and maine coon.</p>
|
|
24
|
+
{% endblock %}
|
|
25
|
+
|
|
26
|
+
{% block progress_bar %}
|
|
27
|
+
{% include "src/html/includes/pgbar.html" %}
|
|
28
|
+
{% endblock %}
|
|
29
|
+
|
|
30
|
+
{% block form %}
|
|
31
|
+
{% include "src/html/includes/basic-form.html" %}
|
|
32
|
+
{% endblock %}
|
|
33
|
+
|
|
34
|
+
{% block recent_supporters %}
|
|
35
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
36
|
+
{% endblock %}
|
|
37
|
+
|
|
38
|
+
{% block content_top %}
|
|
39
|
+
<div class="media-stretch">
|
|
40
|
+
<img src="http://placekitten.com/860/455" alt="test image with cats" crossorigin="">
|
|
41
|
+
</div>
|
|
42
|
+
{% endblock %}
|
|
43
|
+
|
|
44
|
+
{% block content %}
|
|
45
|
+
<h2>Cougar British shorthair turkish angora</h2>
|
|
46
|
+
<p>Twitch tail in permanent irritation attempt to leap between furniture but woefully miscalibrate and bellyflop onto the floor; what's your problem? Get my claw stuck in the dog's ear. Lick plastic bags ask to go outside and ask to come inside and ask to go outside and ask to come inside hell is other people, ignore the squirrels, you'll never catch them anyway or walk on car leaving trail of paw prints on hood and windshield.</p>
|
|
47
|
+
<p>A very wise cat once said:</p>
|
|
48
|
+
<blockquote><p>Always ensure to lay down in such a manner that tail can lightly brush human's nose sleep in the bathroom sink. Scratch catasstrophe and lick the curtain just to be annoying so your pillow is now my pet bed nya nya nyan so run up and down stairs curl up and sleep on the freshly laundered towels.</p></blockquote>
|
|
49
|
+
<p>Need to check on human, have not seen in an hour might be dead oh look, human is alive, hiss at human.</p>
|
|
50
|
+
{% endblock %}
|
|
51
|
+
|
|
52
|
+
{% block bottom %}
|
|
53
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
54
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
55
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
56
|
+
{% endblock %}
|
|
57
|
+
|
|
58
|
+
{% block footer %}
|
|
59
|
+
{% include "src/html/includes/menu.html" %}
|
|
60
|
+
{% endblock %}
|
package/src/html/dev-index.html
CHANGED
|
@@ -27,23 +27,31 @@
|
|
|
27
27
|
<h4 class="h6">B: Banner image (2 columns)  <small>banner</small></h4>
|
|
28
28
|
<ul class="no-bullet">
|
|
29
29
|
<li><a href="src/html/basic-action-page-with-banner.html">Basic action page</a></li>
|
|
30
|
+
<li><a href="src/html/basic-action-page-with-banner-and-headline.html">Basic action page with headline and bottom sections</a></li>
|
|
30
31
|
<li><a href="src/html/basic-action-page-with-banner-reversed.html">Basic action page reversed</a></li>
|
|
31
32
|
<li><a href="src/html/thank-you-page-with-banner.html">Thank you page</a></li>
|
|
33
|
+
<li><a href="src/html/thank-you-page-with-banner-and-headline.html">Thank you page with headline and bottom sections</a></li>
|
|
32
34
|
</ul>
|
|
33
35
|
<h4 class="h6">C: Fixed background image (2 columns)  <small>cover-2col</small></h4>
|
|
34
36
|
<ul class="no-bullet">
|
|
35
37
|
<li><a href="src/html/basic-action-page-cover-2col.html">Basic action page</a></li>
|
|
38
|
+
<li><a href="src/html/basic-action-page-cover-2col-with-headline.html">Basic action page with headline and bottom sections</a></li>
|
|
36
39
|
<li><a href="src/html/basic-action-page-cover-2col-reversed.html">Basic action page reversed</a></li>
|
|
37
40
|
<li><a href="src/html/thank-you-page-cover-2col.html">Thank you page</a></li>
|
|
41
|
+
<li><a href="src/html/thank-you-page-cover-2col-with-headline.html">Thank you page with headline and bottom sections</a></li>
|
|
38
42
|
</ul>
|
|
39
43
|
<h4 class="h6">D: Fixed banner image (2 columns)  <small>cover-banner</small></h4>
|
|
40
44
|
<ul class="no-bullet">
|
|
41
45
|
<li><a href="src/html/basic-action-page-cover-banner.html">Basic action page</a></li>
|
|
46
|
+
<li><a href="src/html/basic-action-page-cover-banner-with-headline.html">Basic action page with headline and bottom sections</a></li>
|
|
42
47
|
<li><a href="src/html/thank-you-page-cover-banner.html">Thank you page</a></li>
|
|
48
|
+
<li><a href="src/html/thank-you-page-cover-banner-with-headline.html">Thank you page with headline and bottom sections</a></li>
|
|
43
49
|
</ul>
|
|
44
50
|
<h4 class="h6">E: Fixed background image (1 column)  <small>cover-1col</small></h4>
|
|
45
51
|
<ul class="no-bullet">
|
|
46
52
|
<li><a href="src/html/basic-action-page-cover-1col.html">Basic action page</a></li>
|
|
53
|
+
<li><a href="src/html/basic-action-page-cover-1col-with-headline.html">Basic action page with headline and bottom sections</a></li>
|
|
47
54
|
<li><a href="src/html/thank-you-page-cover-1col.html">Thank you page</a></li>
|
|
55
|
+
<li><a href="src/html/thank-you-page-cover-1col-with-headline.html">Thank you page with headline and bottom sections</a></li>
|
|
48
56
|
</ul>
|
|
49
57
|
{% endblock %}
|
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<form method="post" accept-charset="UTF-8" novalidate="novalidate">
|
|
4
4
|
{{ input("Email address", {type: "email", id: "email", size: 60, required: "required"}) }}
|
|
5
|
-
{{ input("Password", {type: "password", size: 60, maxlength
|
|
5
|
+
{{ input("Password", {type: "password", size: 60, maxlength: 128, required: "required"}, "The password field is case sensitive.") }}
|
|
6
6
|
{{ button("Log in", class="expanded primary button large") }}
|
|
7
7
|
</form>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<section>
|
|
2
|
+
<div class="background">
|
|
3
|
+
<img src="http://placekitten.com/1600/1000" alt="test image with cats" crossorigin="">
|
|
4
|
+
</div>
|
|
5
|
+
<div class="grid-container narrow">
|
|
6
|
+
<blockquote>
|
|
7
|
+
<p>Nap all day eat and than sleep on your face so catto munch salmono so find a way to fit in tiny box cats making all the muffins my left donut is missing, as is my right.</p>
|
|
8
|
+
<cite>Famous Cat</cite>
|
|
9
|
+
</blockquote>
|
|
10
|
+
</div>
|
|
11
|
+
</section>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<section>
|
|
2
|
+
<div class="grid-container">
|
|
3
|
+
<div class="column media-stretch">
|
|
4
|
+
<img src="http://placekitten.com/600/400" alt="test image with cats" crossorigin="">
|
|
5
|
+
</div>
|
|
6
|
+
<div class="column">
|
|
7
|
+
<h2>What's your problem?</h2>
|
|
8
|
+
<p>Get my claw stuck in the dog's ear. Reward the chosen human with a slow blink. Roll on the floor purring your whiskers off cat dog hate mouse eat string barf pillow no baths hate everything.</p>
|
|
9
|
+
<p><a href="#form" class="primary button">Take action now!</a></p>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</section>
|
|
@@ -5,10 +5,11 @@
|
|
|
5
5
|
{% block main_container_class %}with-sidebar{% endblock %}
|
|
6
6
|
|
|
7
7
|
{% block banner_content %}
|
|
8
|
-
<div class="grid-container with
|
|
8
|
+
<div class="grid-container with-sidebar">
|
|
9
|
+
<header id="headline">{% block headline %}{% endblock %}</header>
|
|
9
10
|
<div id=form-wrapper class="flex-container align-middle">
|
|
10
11
|
<div id="form-outer">
|
|
11
|
-
{% block form_intro %}{% endblock %}
|
|
12
|
+
<div class="intro">{% block form_intro %}{% endblock %}</div>
|
|
12
13
|
{% block progress_bar %}{% endblock %}
|
|
13
14
|
{% block form %}{% endblock %}
|
|
14
15
|
</div>
|
|
@@ -16,7 +17,7 @@
|
|
|
16
17
|
</div>
|
|
17
18
|
{% endblock %}
|
|
18
19
|
|
|
19
|
-
{% block
|
|
20
|
+
{% block sidebar_bottom %}
|
|
20
21
|
<div id="sidebar">
|
|
21
22
|
{% block recent_supporters %}{% endblock %}
|
|
22
23
|
</div>
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
<div id="sidebar">
|
|
9
9
|
<div id=form-wrapper class="flex-container align-middle">
|
|
10
10
|
<div id="form-outer">
|
|
11
|
-
{% block form_intro %}{% endblock %}
|
|
11
|
+
<div class="intro">{% block form_intro %}{% endblock %}</div>
|
|
12
12
|
{% block progress_bar %}{% endblock %}
|
|
13
13
|
{% block form %}{% endblock %}
|
|
14
14
|
</div>
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
<div id="sidebar">
|
|
13
13
|
<div id=form-wrapper class="flex-container align-middle">
|
|
14
14
|
<div id="form-outer">
|
|
15
|
-
{% block form_intro %}{% endblock %}
|
|
15
|
+
<div class="intro">{% block form_intro %}{% endblock %}</div>
|
|
16
16
|
{% block progress_bar %}{% endblock %}
|
|
17
17
|
{% block form %}{% endblock %}
|
|
18
18
|
</div>
|
|
@@ -20,15 +20,11 @@
|
|
|
20
20
|
</div>
|
|
21
21
|
</section>
|
|
22
22
|
|
|
23
|
-
<section id="
|
|
23
|
+
<section id="highlighted">
|
|
24
24
|
{% block highlighted %}{% endblock %}
|
|
25
25
|
</section>
|
|
26
26
|
|
|
27
|
-
{% if layout == "
|
|
28
|
-
<section id="banner">
|
|
29
|
-
{% block banner %}{% endblock %}
|
|
30
|
-
</section>
|
|
31
|
-
{% elif layout and layout != "default" %}
|
|
27
|
+
{% if layout|truncate(5, true, '') == "cover" %}
|
|
32
28
|
<section id="background">
|
|
33
29
|
{% block background %}{% endblock %}
|
|
34
30
|
</section>
|
|
@@ -46,9 +42,19 @@
|
|
|
46
42
|
</section>
|
|
47
43
|
{% endif %}
|
|
48
44
|
|
|
45
|
+
{% if layout == "banner" %}
|
|
46
|
+
<section id="banner">
|
|
47
|
+
{% block banner %}{% endblock %}
|
|
48
|
+
</section>
|
|
49
|
+
{% endif %}
|
|
50
|
+
|
|
49
51
|
<section id="main">
|
|
50
52
|
<div class="grid-container {% block main_container_class %}narrow{% endblock %}">
|
|
51
53
|
|
|
54
|
+
{% if layout in ["banner", "cover-1col", "cover-2col"] %}
|
|
55
|
+
<header id="headline">{% block headline %}{% endblock %}</header>
|
|
56
|
+
{% endif %}
|
|
57
|
+
|
|
52
58
|
{% if layout == "cover-1col" %}<div class="inner-wrapper">{% endif %}
|
|
53
59
|
|
|
54
60
|
<div id="top">
|
|
@@ -83,11 +89,12 @@
|
|
|
83
89
|
{% block bottom %}{% endblock %}
|
|
84
90
|
</section>
|
|
85
91
|
|
|
86
|
-
<section id="footer">
|
|
87
|
-
<div class="grid-container">
|
|
88
|
-
{% block footer %}{% endblock %}
|
|
89
|
-
</div>
|
|
90
|
-
</section>
|
|
91
|
-
|
|
92
92
|
</div>
|
|
93
|
+
|
|
94
|
+
<section id="footer">
|
|
95
|
+
<div class="grid-container">
|
|
96
|
+
{% block footer %}{% endblock %}
|
|
97
|
+
</div>
|
|
98
|
+
</section>
|
|
99
|
+
|
|
93
100
|
{% endblock %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{% extends "src/html/templates/share-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-1col" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Thank you for taking action. You’re awesome!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>A huge thank you!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block content %}
|
|
18
|
+
<p>Cat ipsum dolor sit amet, mewl for food at 4am. Meeeeouw spill litter box, scratch at owner, destroy all furniture, especially couch. Sleep on dog bed, force dog to sleep on floor stinky cat spend all night ensuring people don't sleep sleep all day yet spread kitty litter all over house.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block content_bottom %}
|
|
22
|
+
{% include "src/html/includes/share-buttons.html" %}
|
|
23
|
+
{% endblock %}
|
|
24
|
+
|
|
25
|
+
{% block bottom %}
|
|
26
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
27
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
28
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
29
|
+
{% endblock %}
|
|
30
|
+
|
|
31
|
+
{% block footer %}
|
|
32
|
+
{% include "src/html/includes/menu.html" %}
|
|
33
|
+
{% endblock %}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{% extends "src/html/templates/action-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-2col" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Thank you for taking action. You’re awesome!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1600/800" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>A huge thank you!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block content %}
|
|
18
|
+
<p>Cat ipsum dolor sit amet, mewl for food at 4am. Meeeeouw spill litter box, scratch at owner, destroy all furniture, especially couch. Sleep on dog bed, force dog to sleep on floor stinky cat spend all night ensuring people don't sleep sleep all day yet spread kitty litter all over house.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block form %}
|
|
22
|
+
{% include "src/html/includes/share-buttons.html" %}
|
|
23
|
+
{% endblock %}
|
|
24
|
+
|
|
25
|
+
{% block recent_supporters %}
|
|
26
|
+
{% include "src/html/includes/recent-supporters.html" %}
|
|
27
|
+
{% endblock %}
|
|
28
|
+
|
|
29
|
+
{% block bottom %}
|
|
30
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
31
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
32
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
33
|
+
{% endblock %}
|
|
34
|
+
|
|
35
|
+
{% block footer %}
|
|
36
|
+
{% include "src/html/includes/menu.html" %}
|
|
37
|
+
{% endblock %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{% extends "src/html/templates/share-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "cover-banner" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Thank you for taking action. You’re awesome!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block background %}
|
|
10
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>A huge thank you!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block content %}
|
|
18
|
+
<p>Cat ipsum dolor sit amet, mewl for food at 4am. Meeeeouw spill litter box, scratch at owner, destroy all furniture, especially couch. Sleep on dog bed, force dog to sleep on floor stinky cat spend all night ensuring people don't sleep sleep all day yet spread kitty litter all over house.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block content_bottom %}
|
|
22
|
+
{% include "src/html/includes/share-buttons.html" %}
|
|
23
|
+
{% endblock %}
|
|
24
|
+
|
|
25
|
+
{% block bottom %}
|
|
26
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
27
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
28
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
29
|
+
{% endblock %}
|
|
30
|
+
|
|
31
|
+
{% block footer %}
|
|
32
|
+
{% include "src/html/includes/menu.html" %}
|
|
33
|
+
{% endblock %}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{% extends "src/html/templates/share-page.html" %}
|
|
2
|
+
|
|
3
|
+
{% set layout = "banner" %}
|
|
4
|
+
|
|
5
|
+
{% block page_class %}{{ super() }} with-headline{% endblock %}
|
|
6
|
+
|
|
7
|
+
{% block page_title %}Thank you for taking action. You’re awesome!{% endblock %}
|
|
8
|
+
|
|
9
|
+
{% block banner %}
|
|
10
|
+
<img src="http://placekitten.com/1600/735" alt="test image with cats" crossorigin="">
|
|
11
|
+
{% endblock %}
|
|
12
|
+
|
|
13
|
+
{% block headline %}
|
|
14
|
+
<p>A huge thank you!</p>
|
|
15
|
+
{% endblock %}
|
|
16
|
+
|
|
17
|
+
{% block content %}
|
|
18
|
+
<p>Cat ipsum dolor sit amet, mewl for food at 4am. Meeeeouw spill litter box, scratch at owner, destroy all furniture, especially couch. Sleep on dog bed, force dog to sleep on floor stinky cat spend all night ensuring people don't sleep sleep all day yet spread kitty litter all over house.</p>
|
|
19
|
+
{% endblock %}
|
|
20
|
+
|
|
21
|
+
{% block content_bottom %}
|
|
22
|
+
{% include "src/html/includes/share-buttons.html" %}
|
|
23
|
+
{% endblock %}
|
|
24
|
+
|
|
25
|
+
{% block bottom %}
|
|
26
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
27
|
+
{% include "src/html/includes/section-2col.html" %}
|
|
28
|
+
{% include "src/html/includes/section-1col.html" %}
|
|
29
|
+
{% endblock %}
|
|
30
|
+
|
|
31
|
+
{% block footer %}
|
|
32
|
+
{% include "src/html/includes/menu.html" %}
|
|
33
|
+
{% endblock %}
|
package/src/js/foundist.js
CHANGED
|
@@ -95,10 +95,17 @@ export function stickyButton (options = {}) {
|
|
|
95
95
|
if (!$cta.length) {
|
|
96
96
|
return
|
|
97
97
|
}
|
|
98
|
+
const defaults = {
|
|
99
|
+
topOverlap: 0.3
|
|
100
|
+
}
|
|
101
|
+
// Find blocking element
|
|
102
|
+
const target = $cta.find('a').attr('href')
|
|
103
|
+
if (target && !target.includes('/')) {
|
|
104
|
+
defaults.blocker = target
|
|
105
|
+
}
|
|
98
106
|
// Put button(s) in right position.
|
|
99
107
|
// Depending on the layout, the button should be on the bottom of the page,
|
|
100
108
|
// the sidebar or the main wrapper for large screen sizes.
|
|
101
|
-
const target = $cta.find('a').attr('href')
|
|
102
109
|
const $newParent = $('#sidebar, #main > .grid-container > .inner-wrapper')
|
|
103
110
|
if ($newParent.length) {
|
|
104
111
|
const $clone = $cta.clone().appendTo($newParent).addClass('bottom show-for-large')
|
|
@@ -112,8 +119,7 @@ export function stickyButton (options = {}) {
|
|
|
112
119
|
// Initialize plugin
|
|
113
120
|
return $cta.map((i, el) => {
|
|
114
121
|
return new Foundation.StickyButton($(el), {
|
|
115
|
-
|
|
116
|
-
topOverlap: 0.3,
|
|
122
|
+
...defaults,
|
|
117
123
|
...options
|
|
118
124
|
})
|
|
119
125
|
})
|