Skip to content

Commit b07b00e

Browse files
committed
mailchimp email list
1 parent 53c6c07 commit b07b00e

File tree

4 files changed

+84
-54
lines changed

4 files changed

+84
-54
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
# CodeRoad Landing Page
1+
# CodeRoad
22

33
[CodeRoad](http://coderoad.github.io) is a coding education platform aimed at open-sourcing interactive coding lessons. CodeRoad makes it easy for developers and teachers to create, share and edit their own lessons. All free.

_includes/contact.html

Lines changed: 21 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,29 @@
33
<div class="container">
44

55
<div class="row">
6-
<div class="col-lg-6">
7-
<h2>Questions:</h2>
6+
<div class="col-lg-3">
7+
<h2>Contact:</h2>
88
</div>
9-
<div class="col-lg-6">
9+
<div class="col-lg-9">
10+
11+
<br>
1012
<ul class="list-inline banner-social-buttons">
13+
<li id="mc_embed_signup">
14+
<form class="form-inline" action="//herokuapp.us11.list-manage.com/subscribe/post?u=324732fa284e63ca555b47978&amp;id=5f3f4f5086" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
15+
<label class="sr-only" style="text-align:center">Subscribe to our mailing list</label>
16+
<div class="form-group">
17+
<input type="email" value="" class="form-control input-lg" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
18+
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-default btn-lg">
19+
<span class="network-name">Subscribe To Mail List</span>
20+
</button>
21+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
22+
<div style="position: absolute; left: -5000px;" aria-hidden="true">
23+
<input type="text" name="b_324732fa284e63ca555b47978_5f3f4f5086" tabindex="-1" value="">
24+
</div>
25+
</div>
26+
</form>
27+
</li>
28+
1129
<li>
1230
<a href="mailto:coadroadapp@gmail.com?subject=CodeRoad" class="btn btn-default btn-lg"><i class="fa fa-envelope-o fa-fw"></i> <span class="network-name">Email</span></a>
1331
</li>

_includes/header.html

Lines changed: 50 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,61 @@
11
<!-- Navigation -->
22
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
3-
<div class="container">
4-
<!-- Brand and toggle get grouped for better mobile display -->
5-
<div class="navbar-header page-scroll">
6-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
7-
<span class="sr-only">Toggle navigation</span>
8-
<span class="icon-bar"></span>
9-
<span class="icon-bar"></span>
10-
<span class="icon-bar"></span>
11-
</button>
12-
<a class="navbar-brand page-scroll" href="#home">{{ site.title }}</a>
13-
</div>
14-
<!-- Collect the nav links, forms, and other content for toggling -->
15-
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
16-
<ul class="nav navbar-nav navbar-right">
17-
<li>
18-
<a class="page-scroll" href="#about">About</a>
19-
</li>
20-
<li>
21-
<a class="page-scroll" href="#services">Services</a>
22-
</li>
23-
<li>
24-
<a class="page-scroll" href="#contact">Contact</a>
25-
</li>
26-
</ul>
27-
</div>
28-
<!-- /.navbar-collapse -->
3+
<div class="container">
4+
<!-- Brand and toggle get grouped for better mobile display -->
5+
<div class="navbar-header page-scroll">
6+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
7+
<span class="sr-only">Toggle navigation</span>
8+
<span class="icon-bar"></span>
9+
<span class="icon-bar"></span>
10+
<span class="icon-bar"></span>
11+
</button>
12+
<a class="navbar-brand page-scroll" href="#home">{{ site.title }}</a>
2913
</div>
30-
<!-- /.container -->
14+
<!-- Collect the nav links, forms, and other content for toggling -->
15+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
16+
<ul class="nav navbar-nav navbar-right">
17+
<li>
18+
<a class="page-scroll" href="#about">About</a>
19+
</li>
20+
<li>
21+
<a class="page-scroll" href="#services">Services</a>
22+
</li>
23+
<li>
24+
<a class="page-scroll" href="#contact">Contact</a>
25+
</li>
26+
</ul>
27+
</div>
28+
<!-- /.navbar-collapse -->
29+
</div>
30+
<!-- /.container -->
3131
</nav>
3232

3333
<section id="home">
34-
<!-- Header -->
35-
<div class="intro-header">
34+
<!-- Header -->
35+
<div class="intro-header">
3636

37-
<div class="container">
37+
<div class="container">
3838

39-
<div class="row">
40-
<div class="col-lg-12">
41-
<div class="intro-message">
42-
<h1>{{ page.title }}</h1>
43-
<h3>{{ page.subTitle }}</h3>
44-
<hr class="intro-divider">
45-
<ul class="list-inline intro-social-buttons">
46-
{% for social in site.social %}
47-
<li>
48-
<a href="{{ social.url }}" class="btn btn-default btn-lg"><i class="fa fa-{{ social.icon }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a>
49-
</li>
50-
{% endfor %}
51-
</ul>
52-
</div>
53-
</div>
54-
</div>
39+
<div class="row">
40+
<div class="col-lg-12">
41+
<div class="intro-message">
42+
<h1>{{ page.title }}</h1>
43+
<h3>{{ page.subTitle }}</h3>
44+
<hr class="intro-divider">
45+
<ul class="list-inline intro-social-buttons">
46+
{% for social in site.social %}
47+
<li>
48+
<a href="{{ social.url }}" class="btn btn-default btn-lg"><i class="fa fa-{{ social.icon }} fa-fw"></i> <span class="network-name">{{ social.title }}</span></a>
49+
</li>
50+
{% endfor %}
51+
</ul>
52+
</div>
53+
</div>
54+
</div>
5555

56-
</div>
57-
<!-- /.container -->
56+
</div>
57+
<!-- /.container -->
5858

59-
</div>
60-
<!-- /.intro-header -->
59+
</div>
60+
<!-- /.intro-header -->
6161
</section>

css/landing-page.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ h6 {
7171
display: block;
7272
margin-bottom: 20px;
7373
padding: 0;
74+
7475
}
7576

7677
ul.intro-social-buttons > li:last-child {
@@ -199,3 +200,14 @@ code {
199200
font-family: "FiraCode-Regular" !important;
200201
padding: 10px;
201202
}
203+
204+
#mc_embed_signup {
205+
clear: left;
206+
font: 14px Lato, Helvetica, Arial, sans-serif;
207+
width: 100%;
208+
}
209+
210+
.subscribe-label {
211+
font-size: 18px;
212+
font-weight: 400;
213+
}

0 commit comments

Comments
 (0)