Changeset - d1fe144a2688
[Not reviewed]
0 2 0
Christopher Neugebauer - 20 months ago 2019-06-15 21:33:16
_@chrisjrn.com
Add newsletter signup
2 files changed with 38 insertions and 8 deletions:
0 comments (0 inline, 0 general)
pinaxcon/templates/static_pages/homepage.html
Show inline comments
...
 
@@ -37,19 +37,49 @@
 
      <div class="clouds main"></div>
 
    </div>
 
  </div>
 

	
 
  <div class="jumbotron homepage-block dark shallow">
 
    <div class="container homepage-block-footer">
 
      <p class="">
 
        {% comment %}
 
        <span class="wrap-break">Talk proposal submissions are now open, until August 8th.</span>
 
        <span class="wrap-break">Submit your proposal now!</span>
 
        {% endcomment %}
 
        <span class="wrap-break">Talk proposal submissions open soon!</span>
 
      </p>
 
      <div class="row">
 
        <div class="col-md-8">
 
          <p class="">
 
            {% comment %}
 
            <span class="wrap-break">Talk proposal submissions are now open, until August 9th.</span>
 
            <span class="wrap-break">Submit your proposal now!</span>
 
            {% endcomment %}
 
            <span class="wrap-break">Talk proposal submissions open soon!</span>
 
          </p>
 
        </div>
 
        <div class="col-md-4  email-signup-panel">
 
          <div class="panel panel-default">
 
            <div class="panel-heading">
 
              <h2 class="panel-title homepage-title">Sign up for our newsletter</h4>
 
            </div>
 
            <div class="panel-body">
 
              <form
 
                class="form-inline"
 
                action="https://tinyletter.com/northbaypython" method="post" target="popupwindow" onsubmit="window.open('https://tinyletter.com/northbaypython', 'popupwindow', 'scrollbars=yes,width=800,height=600');return true">
 
                <div class="form-group">
 
                  <span>
 
                    <label class="hidden-accessible" for="tlemail">Email address:</label>
 
                  </span>
 
                  <span>
 
                    <input class="form-control" type="email" name="email" id="tlemail" placeholder="E-mail address"/>
 
                  </span>
 
                </div>
 
                <span>
 
                  <input class="btn btn-primary" type="submit" value="Subscribe" />
 
                </span>
 

	
 
                <input type="hidden" value="1" name="embed"/>
 
              </form>
 
            </div>
 
          </div>
 
        </div>
 
      </div>
 
    </div>
 
  </div>
 

	
 

	
 
  <!-- Homepage content begins here -->
 
  <div class="homepage-vertical-space"></div>
static/scss/custom.scss
Show inline comments
...
 
@@ -289,13 +289,13 @@ $homepage-block-smaller-min-height: 360px;
 
  background-blend-mode: multiply;
 
}
 

	
 
.homepage-block.dark {
 
  background: $gray-base;
 
  color: white;
 
  text-shadow: 1px 1px $gray-dark;
 
  //text-shadow: 1px 1px $gray-dark;
 

	
 
  a:not(.btn) {
 
    color: lighten($brand-primary, 20%);
 

	
 
    &:hover,
 
    &:focus,
0 comments (0 inline, 0 general)