Skip to content

Commit d7901e0

Browse files
committed
feat(footer): replace ghost newsletter sign up with mailchimp
* Turn autocompletion off, including lastpass and 1password * Remove error/success styles
1 parent 764b51d commit d7901e0

File tree

2 files changed

+9
-25
lines changed

2 files changed

+9
-25
lines changed

partials/footer.hbs

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,17 @@
1010
{{navigation type='secondary'}}
1111
</section>
1212
<section class='footer__bottom'>
13-
<form class='footer__form' data-members-form='subscribe'>
13+
<form
14+
action='https://rubycentral.us13.list-manage.com/subscribe/post?u=e7e9b891a6914ff2f5acdfd15&amp;id=0a6a1336c5&amp;v_id=5118&amp;f_id=008ef4e7f0'
15+
autocomplete='off'
16+
class='footer__form'
17+
method='post'
18+
>
1419
<div class='footer__form__row'>
1520
<input
16-
data-members-email
17-
name='email'
18-
id='get-involved-email'
21+
data-lpignore='true'
22+
data-1p-ignore
23+
name='EMAIL'
1924
placeholder='Enter your email...'
2025
required='true'
2126
type='email'
@@ -24,8 +29,6 @@
2429
<button class='kg-btn' type='submit'>Sign Up</button>
2530
</div>
2631
</div>
27-
<span data-members-error></span>
28-
<span data-members-success></span>
2932
</form>
3033
<div class='footer__bottom__socials'>
3134
<div class='footer__bottom__socials__links'>

src/css/layout/footer.css

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -64,25 +64,6 @@
6464
align-items: center;
6565
display: flex;
6666
flex-direction: column;
67-
68-
span[data-members-error],
69-
span[data-members-success] {
70-
display: none;
71-
font-size: 0.875rem;
72-
font-weight: 700;
73-
line-height: 1rem;
74-
padding: 16px 0;
75-
}
76-
}
77-
78-
.error span[data-members-error] {
79-
color: var(--color-darkred);
80-
display: block;
81-
}
82-
83-
.success span[data-members-success] {
84-
color: green;
85-
display: block;
8667
}
8768

8869
.footer__form__row {

0 commit comments

Comments
 (0)