Skip to content

Commit b664274

Browse files
committed
Simplify signup form
1 parent b79ed89 commit b664274

File tree

2 files changed

+66
-39
lines changed

2 files changed

+66
-39
lines changed

_includes/main.scss

Lines changed: 46 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -451,7 +451,38 @@ h3 {
451451

452452
form {
453453
border-radius: 4px;
454-
padding: 1rem;
454+
padding: 0 1.5rem 1rem 1.5rem;
455+
margin: auto;
456+
457+
label {
458+
margin: 0;
459+
width: 100%;
460+
461+
div, input::placeholder {
462+
padding-top: 1rem;
463+
padding-bottom: 2px;
464+
margin-left: 5px;
465+
}
466+
467+
input::placeholder {
468+
text-align: center;
469+
}
470+
}
471+
472+
input, select[name=nearby-chapter] {
473+
&:focus{
474+
outline: none;
475+
border: 1px solid $red;
476+
}
477+
}
478+
479+
input, select[name=nearby-chapter], input[type=submit] {
480+
width: 100%;
481+
482+
&#outreach {
483+
width: 1rem;
484+
}
485+
}
455486
}
456487

457488
label {
@@ -499,13 +530,12 @@ label {
499530
}
500531
}
501532

502-
input[type="email"],
503-
input[type="text"],
504-
input[type="url"],
533+
input[type=email],
534+
input[type=text],
535+
input[type=url],
505536
select {
506537
border: 1px solid;
507538
border-radius: 4px;
508-
color: $grey;
509539
padding: 0.75rem;
510540

511541
@include mobile {
@@ -514,12 +544,11 @@ select {
514544
}
515545
}
516546

517-
input[type="submit"],
547+
input[type=submit],
518548
.pagination {
519549
border-radius: 4px;
520550
border: 0;
521551
font-weight: 500;
522-
margin-top: 20px;
523552
padding: 10px 20px;
524553
}
525554

@@ -642,19 +671,20 @@ hr {
642671
form {
643672
background-color: $grey3;
644673
}
645-
input[type="submit"] {
674+
input[type=submit] {
646675
background: $grey2;
647676
color: $white;
648677

649678
&:hover {
650679
background-color: $red;
651680
}
652681
}
653-
input[type="email"],
654-
input[type="text"],
655-
input[type="url"],
682+
input[type=email],
683+
input[type=text],
684+
input[type=url],
656685
select {
657-
border-color: #ccc;
686+
color: $grey;
687+
border-color: $black;
658688
}
659689
.primaryBg {
660690
background-color: $white;
@@ -708,17 +738,17 @@ hr {
708738
hr {
709739
border-bottom: 1px solid $grey;
710740
}
711-
input[type="submit"] {
741+
input[type=submit] {
712742
background-color: $red;
713743
color: $white;
714744

715745
&:hover {
716746
background-color: $grey2;
717747
}
718748
}
719-
input[type="email"],
720-
input[type="text"],
721-
input[type="url"],
749+
input[type=email],
750+
input[type=text],
751+
input[type=url],
722752
select {
723753
background: $grey2;
724754
border-color: transparent;

join.md

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -6,42 +6,39 @@ permalink: /subscribe/
66

77
# Join us
88

9-
Our Slack is governed by the principles and rules in our [Community Guide](/community-guide). By joining, you agree to follow them.
9+
1. Fill out this form to subscribe to our newsletter.
10+
2. If eligible, you will be invited to our Slack.
11+
3. You agree to the [Community Guide](/community-guide) by filling the form.
1012

11-
<h3 class="marg-b-3">Please provide the following:</h3>
13+
<h3>Please provide the following:</h3>
1214
<form class="join-form" method="POST" target="_blank" class="marg-b-4" data-netlify="true" action="/welcome" netlify-honeypot="bot-field">
1315
<label style="display:none">
1416
Don’t fill this out if you’re human: <input name="bot-field" />
1517
</label>
16-
<label class="marg-b-3" for="email">
17-
<div><b>Email:</b></div>
18+
<label for="name">
19+
<div><b>Your full name</b></div>
20+
<input id="name" type="text" required name="name">
21+
</label>
22+
<label for="email">
23+
<div><b>Email</b></div>
1824
<input id="email" type="email" required name="email">
1925
</label>
20-
<label class="marg-b-3" for="name">
21-
<div><b>Name:</b></div>
22-
<input id="name" type="text" required name="name">
26+
<label for="social">
27+
<div><b>Social media link #1</b></div>
28+
<input placeholder="LinkedIn, Bluesky, Twitter, etc.." id="social" required type="text" name="social_media_1" title="enter a valid url">
29+
<div><b>Social media link #2</b></div>
30+
<input placeholder="GitHub, Instagram, Blog etc.." type="text" required name="social_media_2" title="enter a valid url">
2331
</label>
24-
<label class="marg-b-3" for="social">
25-
<div class="marg-b-2">
26-
<b>Please provide two links to your social media.</b>
27-
<div>We need a way to validate that you meet the membership requirements laid out <a href="/community-guide#membership">here</a>. Linkedin is preferred, but anything that allows us to verify that you are not a manager, journalist etc is acceptable.</div>
28-
</div>
29-
<input placeholder="LinkedIn, Twitter, etc" id="social" required type="text" name="social_media_1" title="enter a valid url">
30-
<input placeholder="GitHub, Instagram, Blog" type="text" required name="social_media_2" title="enter a valid url">
31-
</label>
32-
<label class="marg-b-3" for="company_name">
33-
<div><b>Company Name</b></div>
34-
<div class="marg-b-2">Including a company name helps us vet you.</div>
32+
<label for="company_name">
33+
<div><b>Your employer</b></div>
3534
<input id="company_name" type="text" name="company_name" required>
3635
</label>
37-
<label class="marg-b-3" for="human-referrer">
38-
<div><b>How Did You Hear About Us?</b> (optional):</div>
39-
<div class="marg-b-2">Including a referrer from an existing member can be a good way to get in the slack if you lack a social media presence. Also, please be specific! If you found us on search, don't just say "Google" (it's unclear if you mean the company or the search engine).</div>
36+
<label for="human-referrer">
37+
<div><b>How can we support your personal goals?</b> (optional):</div>
4038
<input id="human-referrer" type="text" name="human-referrer">
4139
</label>
4240
<label class="marg-b-3" for="nearby-chapter">
4341
<div><b>Do you live or work near an existing chapter?</b> (optional):</div>
44-
<div class="marg-b-2">This helps us connect you with local organizing efforts. If there isn't already a chapter in your area, we'd love to chat with you about starting one!</div>
4542
<select id="nearby-chapter" name="nearby-chapter">
4643
<option value="">Select a chapter</option>
4744
<option value="want-to-start">I want to help start a chapter</option>
@@ -53,7 +50,7 @@ Our Slack is governed by the principles and rules in our [Community Guide](/comm
5350
</label>
5451
<label class="marg-b-3" for="outreach">
5552
<input id="outreach" type="checkbox" name="outreach" value="wants-outreach" style="margin-right: 8px;">
56-
<b>Are you interested in 1:1 outreach from someone in TWC?</b> (optional)
53+
<b>Do you want 1:1 outreach with someone in TWC?</b> (optional)
5754
</label>
5855
<input type="submit" value="Submit">
5956
</form>

0 commit comments

Comments
 (0)