Skip to content

Commit 7724ef9

Browse files
committed
Add signup form
1 parent 8c15d8e commit 7724ef9

File tree

3 files changed

+81
-3
lines changed

3 files changed

+81
-3
lines changed

css/index-mobile.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ h1 {
33
}
44

55
main {
6-
transform: translateY(-110px);
6+
transform: translateY(-260px);
7+
min-width: 300px;
78
}
89

910
main img {
@@ -13,3 +14,8 @@ main img {
1314
main p {
1415
font-size: 14px;
1516
}
17+
18+
#register {
19+
margin: 30px auto;
20+
width: 300px;
21+
}

css/index.css

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ body {
1010
main {
1111
position: absolute;
1212
top: 50%;
13-
transform: translateY(-200px);
13+
transform: translateY(-350px);
1414
width: 100%;
1515
margin: 0 auto;
1616
}
@@ -23,6 +23,48 @@ h1 {
2323
font-size: 67px;
2424
}
2525

26+
#register {
27+
width: 522px;
28+
margin: 50px auto;
29+
padding: 10px;
30+
text-align: center;
31+
background-color: #666666;
32+
border-radius: 10px;
33+
}
34+
35+
#register h2 {
36+
font-size: 19px;
37+
font-weight: 400;
38+
}
39+
40+
#register input[type=text], #register input[type=email] {
41+
height: 32px;
42+
border: none;
43+
border-radius: 5px;
44+
font-size: 17px;
45+
padding: 1px 10px;
46+
margin: 4px;
47+
}
48+
49+
#register input[type=submit] {
50+
background-color: #b6d806;
51+
color: #4d4d4d;
52+
font-size: 16px;
53+
border-radius: 5px;
54+
padding: 7px 20px;
55+
margin: 10px;
56+
border: none;
57+
}
58+
59+
#register input[type=submit]:hover {
60+
color: #333;
61+
}
62+
63+
#privacy-link {
64+
font-size: 13px;
65+
color: #fff;
66+
}
67+
2668
footer {
2769
width: 100%;
2870
position: fixed;

index.html

Lines changed: 31 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,37 @@
2424
<h1>Flying the nest.</h1>
2525
<img src="images/logos.svg" alt = "Mozilla WebThings -> WebThings"/>
2626
<p><strong>“Mozilla WebThings”</strong> is becoming <strong>“WebThings”</strong></p>
27-
<p>Website coming soon...</p>
27+
<!-- Signup Form -->
28+
<div id="mc_embed_signup">
29+
<form id="register" action="https://krellian.us4.list-manage.com/subscribe/post?u=4c7df68d508c5a0e296c0423c&amp;id=00f1f4d619" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate">
30+
<div id="mc_embed_signup_scroll">
31+
<h2>Sign up for updates</h2>
32+
<div class="mc-field-group">
33+
<input type="text" value="" name="FIRST_NAME" class="" id="mce-FIRST_NAME" placeholder="First name" required />
34+
</div>
35+
<div class="mc-field-group">
36+
<input type="text" value="" name="LAST_NAME" class="" id="mce-LAST_NAME" placeholder="Last name" required />
37+
</div>
38+
<div class="mc-field-group">
39+
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="Email address" required />
40+
</div>
41+
<div class="mc-field-group" style="display:none">
42+
<input type="checkbox" id="group_1" name="group[71052][1]" value="1" >
43+
<!-- Check WebThings interest group -->
44+
<input type="checkbox" id="group_2" name="group[71052][2]" value="1" checked>
45+
</div>
46+
<div id="mce-responses" class="clear">
47+
<div class="response" id="mce-error-response" style="display:none"></div>
48+
<div class="response" id="mce-success-response" style="display:none"></div>
49+
</div>
50+
<!-- real people should not fill this in and expect good things -->
51+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_4c7df68d508c5a0e296c0423c_00f1f4d619" tabindex="-1" value=""></div>
52+
<div class="clear"><input type="submit" value="Register" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
53+
<a id="privacy-link" href="https://krellian.com/privacy">Privacy Policy</a>
54+
</div>
55+
</form>
56+
</div>
57+
<!-- End of signup form -->
2858
</main>
2959
<footer>Sponsored by <a href="https://krellian.com">Krellian</a></footer>
3060
</body>

0 commit comments

Comments
 (0)