From ce523dab740edde0b046b961bf9087ea21e43ca3 Mon Sep 17 00:00:00 2001 From: reilnuud Date: Wed, 8 Jun 2016 14:56:04 -0700 Subject: [PATCH] Minor Formatting Changes & Add Thanks Page --- _includes/global_page_includes/footer.html | 2 +- .../jumbotrons/20160203_web_refresh.html | 20 ++----- .../jumbotrons/email-thanks-jumbotron.html | 46 ++++++++++++++++ _includes/pre-donate.html | 16 +++--- _sass/_base.scss | 28 +++++----- _sass/_topography.scss | 5 ++ email-thanks.html | 20 +++++++ index.html | 52 ++----------------- redirect-hack.html | 2 +- 9 files changed, 103 insertions(+), 88 deletions(-) create mode 100644 _includes/jumbotrons/email-thanks-jumbotron.html create mode 100644 email-thanks.html diff --git a/_includes/global_page_includes/footer.html b/_includes/global_page_includes/footer.html index 1e1bb32..93a77ad 100644 --- a/_includes/global_page_includes/footer.html +++ b/_includes/global_page_includes/footer.html @@ -34,7 +34,7 @@

Paid for by Mayday PAC. Not authorized by any candidate or candidate's committee. MAYDAY.US
-
+
diff --git a/_includes/jumbotrons/20160203_web_refresh.html b/_includes/jumbotrons/20160203_web_refresh.html index 887a39b..357c6a4 100644 --- a/_includes/jumbotrons/20160203_web_refresh.html +++ b/_includes/jumbotrons/20160203_web_refresh.html @@ -68,6 +68,7 @@

Help End Big Money Politics
+
@@ -76,12 +77,13 @@

Help End Big Money Politics

-
-
+
+
{% endcomment %}
+
@@ -89,16 +91,4 @@

Help End Big Money Politics

- - -{% capture jumbotron_signup_js %} - -{% endcapture %} -{% capture footer_scripts %}{{footer_scripts}}{{jumbotron_signup_js}}{% endcapture %} + \ No newline at end of file diff --git a/_includes/jumbotrons/email-thanks-jumbotron.html b/_includes/jumbotrons/email-thanks-jumbotron.html new file mode 100644 index 0000000..31bc4e4 --- /dev/null +++ b/_includes/jumbotrons/email-thanks-jumbotron.html @@ -0,0 +1,46 @@ + + +
+
+
+
+

Thank you for signing up.

+

Now, Help End Big Money Politics

+
Help us elect candidates committed to fundamental reform in 2016
+

Donate In Two Minutes or Less

+ {% include form_donate.html %} +
+
+
+
+ diff --git a/_includes/pre-donate.html b/_includes/pre-donate.html index ff6135b..38c71a0 100644 --- a/_includes/pre-donate.html +++ b/_includes/pre-donate.html @@ -1,34 +1,32 @@
-
-
+

Donate to our Campaign

-
+
$10
- $35 + $27
$50
- $100 + $100
-
-
-
+ +
\ No newline at end of file diff --git a/_sass/_base.scss b/_sass/_base.scss index 6f024e1..4b7a304 100644 --- a/_sass/_base.scss +++ b/_sass/_base.scss @@ -83,19 +83,21 @@ $color-orientation: rgb(76, 43, 98); /* iframe loading animation */ -iframe { - background:white; - background-image:url('/images/loading-md.gif'); - background-position:center; - background-repeat:no-repeat; - width:100%; - height:128px; - position:relative; - background-size:20px; - transition: height 50ms ease-out; - -webkit-transition: height 50ms ease-out; - -moz-transition: height 50ms ease-out; - -o-transition: height 50ms ease-out; +#email-join, #donate-form { + iframe { + background:white; + background-image:url('/images/loading-md.gif'); + background-position:center; + background-repeat:no-repeat; + width:100%; + height:128px; + position:relative; + background-size:20px; + transition: height 50ms ease-out; + -webkit-transition: height 50ms ease-out; + -moz-transition: height 50ms ease-out; + -o-transition: height 50ms ease-out; + } } /* videos */ diff --git a/_sass/_topography.scss b/_sass/_topography.scss index 2f3f193..656d1ce 100644 --- a/_sass/_topography.scss +++ b/_sass/_topography.scss @@ -86,8 +86,13 @@ hr{ list-style-type:none; font-size: 16px; line-height: 24px; + padding:0 35px; } + blockquote { + display:none; + } + h3 { margin-bottom:10px; } diff --git a/email-thanks.html b/email-thanks.html new file mode 100644 index 0000000..12bdab7 --- /dev/null +++ b/email-thanks.html @@ -0,0 +1,20 @@ +--- +layout: default +title: Thank You +permalink: /email-thanks/ +--- +{% capture content %} +{% include jumbotrons/email-thanks-jumbotron.html %} + +
+
+
+
+ {% include donate_rules.html %} +
+
+
+
+{% endcapture %} + +{% include sub_layouts/splash-candidate.html %} diff --git a/index.html b/index.html index f0887ff..19a5296 100644 --- a/index.html +++ b/index.html @@ -8,53 +8,7 @@ {% capture content %}
{% include jumbotrons/20160203_web_refresh.html %} - {% comment %} - -
-

Take Action

-
-
-
-

Write your letter to the editor

- -

Get Started

-
-
-
-
-
-
-

Attend an Event

- -

Browse Events

-
-
-
-
-
-
-

Take Action

- -

Take Action

-
-
-
-
-
-
-

Latest from our blog

- -
-
    -
-
-
-
-
- - {% endcomment %} - + {% comment %} SECTION 2 - Video + Social Media + Plan Link {% endcomment %}
@@ -124,12 +78,12 @@

We are a crowdfunded Super PAC that wants
-

Latest from our blog

- +

Latest from our blog

+
diff --git a/redirect-hack.html b/redirect-hack.html index 8b20ae2..9dccba6 100644 --- a/redirect-hack.html +++ b/redirect-hack.html @@ -21,7 +21,7 @@ } if ( redirect === "donate" ) { - window.top.location.href = "/donate"; + window.top.location.href = "/email-thanks"; } else if ( redirect === "thanks" ) { window.top.location.href = "/donate-thanks"; } else {