Skip to content

Commit 03f7cfe

Browse files
committed
added missing images, add menu close button, added newletters form
1 parent 5a14bba commit 03f7cfe

7 files changed

+90
-11
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
<link type="text/css" rel="stylesheet" href="styles/styles.css"/>
1414
<link type="text/css" rel="stylesheet" href="styles/font-awesome.min.css"/>
1515

16-
1716
<!-- favicon -->
1817
<link rel="shortcut icon" href="mc_favicon.ico">
1918
<link rel="icon" type="image/png" href="mc_favicon.png" sizes="32x32">
@@ -45,7 +44,8 @@
4544
ng-if = "narrow"
4645
ng-click = "toggleMenu()"
4746
>
48-
<i class = "fa fa-bars"></i>
47+
<i ng-if = "!showMenu" class = "fa fa-bars"></i>
48+
<i ng-if = "showMenu" class = "fa fa-times"></i>
4949
</button>
5050

5151
<button

mc_apple-touch-icon.png

3.15 KB
Loading

mc_favicon.ico

2.19 KB
Binary file not shown.

mc_favicon.png

603 Bytes
Loading

mc_mstile-144x144.png

2.33 KB
Loading

partials/contact.html

+24-7
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,28 @@
11
<h3 translate = "CONTACT.HEADING"></h3>
22

3+
<!-- Begin MailChimp Signup Form -->
4+
<div id="mc_embed_signup">
5+
<form action="//metacollect.us13.list-manage.com/subscribe/post?u=6a165a760b2a16869d9ebe7c5&amp;id=a92bbbef7e" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
6+
<div id="mc_embed_signup_scroll">
7+
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="{{'CONTACT.NEWSLETTER.PLACEHOLDER'}}" required>
8+
<div class="clear"><input type="submit" value="{{'CONTACT.NEWSLETTER.SUBMIT' |translate}}" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
9+
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
10+
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_6a165a760b2a16869d9ebe7c5_a92bbbef7e" tabindex="-1" value=""></div>
11+
</div>
12+
</form>
13+
</div>
14+
15+
<!--End mc_embed_signup-->
16+
17+
<button class = "newsletter">
18+
</button>
19+
320
<div class ="mono">
4-
<div id = "contact-links">
5-
<a href ="mailto:[email protected]"><i class = "fa fa-envelope-square fa-2x"></i></a>
6-
<a href ="https://www.facebook.com/metacollect/" target="_blank"><i class = "fa fa-facebook-square fa-2x"></i></a>
7-
<a href ="https://twitter.com/metacollect/" target="_blank"><i class = "fa fa-twitter-square fa-2x"></i></a>
8-
<a href ="https://github.com/metacollect-org/" target="_blank"><i class = "fa fa-github-square fa-2x"></i></a>
9-
</div>
10-
<p translate = "CONTACT.PARAGRAPH_1"></p>
21+
<div id = "contact-links">
22+
<a href ="mailto:[email protected]"><i class = "fa fa-envelope-square fa-2x"></i></a>
23+
<a href ="https://www.facebook.com/metacollect/" target="_blank"><i class = "fa fa-facebook-square fa-2x"></i></a>
24+
<a href ="https://twitter.com/metacollect/" target="_blank"><i class = "fa fa-twitter-square fa-2x"></i></a>
25+
<a href ="https://github.com/metacollect-org/" target="_blank"><i class = "fa fa-github-square fa-2x"></i></a>
26+
</div>
27+
<p translate = "CONTACT.PARAGRAPH_1"></p>
1128
</div>

styles/styles.css

+64-2
Original file line numberDiff line numberDiff line change
@@ -535,7 +535,7 @@ em {
535535
#search-bar {
536536
background: #fff;
537537
position: relative;
538-
font-size: 1.6em;
538+
font-size: 1.6rem;
539539
line-height: 1.4em;
540540
}
541541

@@ -792,4 +792,66 @@ em {
792792

793793
a.logo:hover{
794794
cursor: pointer;
795-
}
795+
}
796+
797+
798+
799+
/* mailchimp custom styles */
800+
801+
802+
#mc_embed_signup {
803+
width: 40rem;
804+
font-size: 1rem;
805+
margin: 2rem auto;
806+
}
807+
808+
.narrow #mc_embed_signup {
809+
width: 24rem;
810+
}
811+
812+
#mc_embed_signup .email {
813+
display: inline-block;
814+
position: relative;
815+
font-size: 1em;
816+
line-height: 1.4em;
817+
height: 1.4em;
818+
margin: auto;
819+
border: none;
820+
width: 18rem;
821+
background: #ededef;
822+
color: #000;
823+
padding: 0.3em 1rem;
824+
font-family: source-code-pro-regular;
825+
}
826+
827+
.narrow #mc_embed_signup .email{
828+
display: block;
829+
width: 22rem;
830+
text-align: center;
831+
}
832+
833+
#mc_embed_signup .clear{
834+
display: inline-block;
835+
}
836+
837+
#mc_embed_signup .button {
838+
display: inline-block;
839+
font-size: 1em;
840+
width: 19rem;
841+
line-height: 1.4em;
842+
border: none;
843+
border-radius: 0;
844+
padding: 0.3rem 0rem;
845+
background: #1922fb;
846+
color: #fff;
847+
848+
}
849+
850+
851+
.narrow #mc_embed_signup .button {
852+
margin-top: 1rem;
853+
display: block;
854+
width: 24rem;
855+
}
856+
857+

0 commit comments

Comments
 (0)