|
1 | 1 | {% set feature_one %} |
2 | | - <div class="c-ground-nav__feature-inner o-rhythm o-rhythm--condensed"> |
3 | | - <div class="o-rhythm o-rhythm--compact"> |
4 | | - {% embed '@cloudfour/components/heading/heading.twig' with { |
5 | | - "tag_name": "h2", |
6 | | - "level": 1, |
7 | | - "weight": "light" |
8 | | - } only %} |
| 2 | + {% block feature_one %} |
| 3 | + <div class="c-ground-nav__feature-inner o-rhythm o-rhythm--condensed"> |
| 4 | + <div class="o-rhythm o-rhythm--compact"> |
| 5 | + {% embed '@cloudfour/components/heading/heading.twig' with { |
| 6 | + "tag_name": "h2", |
| 7 | + "level": 1, |
| 8 | + "weight": "light" |
| 9 | + } only %} |
| 10 | + {% block content %} |
| 11 | + Nice to meet you |
| 12 | + {% endblock %} |
| 13 | + {% endembed %} |
| 14 | + <p> |
| 15 | + Cloud Four helps organizations solve complex responsive web |
| 16 | + design and development challenges every day. |
| 17 | + Let's connect so we can tailor a solution to fit your needs. |
| 18 | + </p> |
| 19 | + </div> |
| 20 | + {% embed '@cloudfour/objects/button-group/button-group.twig' only %} |
9 | 21 | {% block content %} |
10 | | - Nice to meet you |
| 22 | + {% include '@cloudfour/components/button/button.twig' with { |
| 23 | + label: 'See our work', |
| 24 | + class: 'c-button--secondary' |
| 25 | + } only %} |
| 26 | + {% include '@cloudfour/components/button/button.twig' with { |
| 27 | + label: 'Get in touch', |
| 28 | + class: 'c-button--secondary' |
| 29 | + } only %} |
11 | 30 | {% endblock %} |
12 | 31 | {% endembed %} |
13 | | - <p> |
14 | | - Cloud Four helps organizations solve complex responsive web |
15 | | - design and development challenges every day. |
16 | | - Let's connect so we can tailor a solution to fit your needs. |
17 | | - </p> |
18 | 32 | </div> |
19 | | - {% embed '@cloudfour/objects/button-group/button-group.twig' only %} |
20 | | - {% block content %} |
21 | | - {% include '@cloudfour/components/button/button.twig' with { |
22 | | - label: 'See our work', |
23 | | - class: 'c-button--secondary' |
24 | | - } only %} |
25 | | - {% include '@cloudfour/components/button/button.twig' with { |
26 | | - label: 'Get in touch', |
27 | | - class: 'c-button--secondary' |
28 | | - } only %} |
29 | | - {% endblock %} |
30 | | - {% endembed %} |
31 | | - </div> |
| 33 | + {% endblock %} |
32 | 34 | {% endset %} |
33 | 35 |
|
34 | 36 | {% set feature_two %} |
35 | | - <form class="c-ground-nav__feature-inner o-rhythm o-rhythm--condensed" action="#"> |
36 | | - <div class="o-rhythm o-rhythm--compact"> |
37 | | - {% embed '@cloudfour/components/heading/heading.twig' with { |
38 | | - "tag_name": "h2", |
39 | | - "level": 1, |
40 | | - "weight": "light" |
41 | | - } only %} |
| 37 | + {% block feature_two %} |
| 38 | + <form class="c-ground-nav__feature-inner o-rhythm o-rhythm--condensed" action="#"> |
| 39 | + <div class="o-rhythm o-rhythm--compact"> |
| 40 | + {% embed '@cloudfour/components/heading/heading.twig' with { |
| 41 | + "tag_name": "h2", |
| 42 | + "level": 1, |
| 43 | + "weight": "light" |
| 44 | + } only %} |
| 45 | + {% block content %} |
| 46 | + Cloud Four, in your inbox |
| 47 | + {% endblock %} |
| 48 | + {% endembed %} |
| 49 | + <p> |
| 50 | + Our latest articles, updates, quick tips and insights in one |
| 51 | + convenient, occasional newsletter. |
| 52 | + </p> |
| 53 | + </div> |
| 54 | + {% embed '@cloudfour/objects/input-group/input-group.twig' only %} |
42 | 55 | {% block content %} |
43 | | - Cloud Four, in your inbox |
| 56 | + {% include '@cloudfour/components/input/input.twig' with { |
| 57 | + placeholder: 'Your Email', |
| 58 | + type: 'email', |
| 59 | + } only %} |
| 60 | + {% include '@cloudfour/components/button/button.twig' with { |
| 61 | + label: 'Sign up' |
| 62 | + } only %} |
44 | 63 | {% endblock %} |
45 | 64 | {% endembed %} |
46 | | - <p> |
47 | | - Our latest articles, updates, quick tips and insights in one |
48 | | - convenient, occasional newsletter. |
49 | | - </p> |
50 | | - </div> |
51 | | - {% embed '@cloudfour/objects/input-group/input-group.twig' only %} |
52 | | - {% block content %} |
53 | | - {% include '@cloudfour/components/input/input.twig' with { |
54 | | - placeholder: 'Your Email', |
55 | | - type: 'email', |
56 | | - } only %} |
57 | | - {% include '@cloudfour/components/button/button.twig' with { |
58 | | - label: 'Sign up' |
59 | | - } only %} |
60 | | - {% endblock %} |
61 | | - {% endembed %} |
62 | | - </form> |
| 65 | + </form> |
| 66 | + {% endblock %} |
63 | 67 | {% endset %} |
64 | 68 |
|
65 | 69 | {% set legal %} |
|
72 | 76 | {% endset %} |
73 | 77 |
|
74 | 78 | <footer class="c-ground-nav {% if alternate %}c-ground-nav--alternate{% endif %}"> |
75 | | - {% if features > 0 %} |
| 79 | + {% if feature_count > 0 %} |
76 | 80 | <div class="c-ground-nav__features o-container o-container--pad-inline"> |
77 | 81 | <div class="c-ground-nav__features-layout o-container__content"> |
78 | 82 | <div class="c-ground-nav__features-inner t-dark o-container__fill"> |
79 | 83 | <div class="c-ground-nav__feature o-container__pad |
80 | | - {% if features > 1 %}t-alternate{% endif %}"> |
| 84 | + {% if feature_count > 1 %}t-alternate{% endif %}"> |
81 | 85 | {{ feature_one }} |
82 | 86 | </div> |
83 | | - {% if features > 1 %} |
| 87 | + {% if feature_count > 1 %} |
84 | 88 | <div class="c-ground-nav__feature o-container__pad"> |
85 | 89 | {{ feature_two }} |
86 | 90 | </div> |
|
0 commit comments