File tree Expand file tree Collapse file tree 8 files changed +63
-45
lines changed
Expand file tree Collapse file tree 8 files changed +63
-45
lines changed Original file line number Diff line number Diff line change 1- .subscribe {
2- & __title {
3- margin : $space-base auto ;
4- max-width : rem-calc (600 );
5- text-align : center ;
1+ .subscribe-form {
62
7- @include media-query (' medium' ) {
8- margin : $space-medium auto ;
9- }
10- }
11-
12- & __box {
3+ & __content {
134 @include grid-row (false);
14- max-width : rem-calc (500 );
155 }
166
177 & __input-field {
5646 display : block ;
5747 }
5848 }
59-
60- & __note {
61- color : neutral-color (' high' );
62- display : block ;
63- margin-top : $space-small ;
64- text-align : center ;
65- }
66- }
49+ }
Original file line number Diff line number Diff line change 1+ .subscribe {
2+ & __title {
3+ margin : $space-base auto ;
4+ max-width : rem-calc (600 );
5+ text-align : center ;
6+
7+ @include media-query (' medium' ) {
8+ margin : $space-medium auto ;
9+ }
10+ }
11+
12+ & __form {
13+ margin : 0 auto ;
14+ max-width : rem-calc (500 );
15+ }
16+
17+ & __note {
18+ color : neutral-color (' high' );
19+ display : block ;
20+ margin-top : $space-small ;
21+ text-align : center ;
22+ }
23+ }
Original file line number Diff line number Diff line change 1616@import ' ./5-components/separator' ;
1717@import ' ./5-components/faq' ;
1818@import ' ./5-components/faqs' ;
19- @import ' ./5-components/subscribe' ;
19+ @import ' ./5-components/subscribe-form ' ;
2020
21+ @import ' ./6-layout/subscribe' ;
2122@import ' ./6-layout/layout' ;
2223@import ' ./6-layout/footer' ;
2324@import ' ./6-layout/header' ;
Original file line number Diff line number Diff line change 1+ + docs-section({
2+ title: ' Subscribe form' })
3+
4+ + docs-block({})
5+ include ../partials/_subscribe-form
Original file line number Diff line number Diff line change 1+ + docs-section({
2+ title: ' Subscribe' })
3+
4+ + docs-block({})
5+ include ../partials/_subscribe
Original file line number Diff line number Diff line change @@ -11,30 +11,7 @@ block page
1111 + separator('email' )
1212
1313 .page-index__subscribe
14-
15- .subscribe
16- h4.subscribe__title != callToAction .label
17- form.subscribe__form (
18- method =subscribeForm .method
19- action =subscribeForm .action )
20-
21- .subscribe__box
22- .subscribe__input-field
23- input.subscribe__input (
24- id =subscribeForm .email .fieldId
25- type ="email"
26- name =subscribeForm .email .fieldName
27- placeholder =subscribeForm .email .label )
28-
29- .subscribe__submit-field
30- button.subscribe__submit ( type ="submit" )
31- .subscribe__submit-icon
32- + icon({name: ' subscribe' })
33- .subscribe__submit-label != subscribeForm .submit .label
34-
35- small.subscribe__note != subscribeForm .note
36- = " "
37- a( href =sampleLink .url ) != ` <strong>${ sampleLink .label } </strong>`
14+ include partials/_subscribe
3815
3916 section.page-index__faq
4017 + faqs({title: faq .title , entries: faq .entries })
Original file line number Diff line number Diff line change 1+ form.subscribe-form (
2+ method =subscribeForm .method
3+ action =subscribeForm .action )
4+ .subscribe-form__content
5+ .subscribe-form__input-field
6+ input.subscribe-form__input (
7+ id =subscribeForm .email .fieldId
8+ type ="email"
9+ name =subscribeForm .email .fieldName
10+ placeholder =subscribeForm .email .label )
11+
12+ .subscribe-form__submit-field
13+ button.subscribe-form__submit ( type ="submit" )
14+ .subscribe-form__submit-icon
15+ + icon({name: ' subscribe' })
16+ .subscribe-form__submit-label != subscribeForm .submit .label
Original file line number Diff line number Diff line change 1+ .subscribe
2+ h4.subscribe__title != callToAction .label
3+ .subscribe__form
4+ include _subscribe-form
5+
6+ small.subscribe__note != subscribeForm .note
7+ = " "
8+ a( href =sampleLink .url ) != ` <strong>${ sampleLink .label } </strong>`
You can’t perform that action at this time.
0 commit comments