Skip to content

Commit

Permalink
Update to newsletter signup (#10499)
Browse files Browse the repository at this point in the history
* update to newsletter signup

* Update en.toml
  • Loading branch information
kbarnard10 authored and k8s-ci-robot committed Oct 4, 2018
1 parent c211958 commit 147537b
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 31 deletions.
27 changes: 0 additions & 27 deletions content/en/_index.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,30 +60,3 @@ <h2>The Challenges of Migrating 150+ Microservices to Kubernetes</h2>
{{< blocks/kubernetes-features >}}

{{< blocks/case-studies >}}

<section id="kubeweekly">
<main>
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{clear:left; width:100%;}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<div id="mc_embed_signup">
<form action="https://kubeweekly.us10.list-manage.com/subscribe/post?u=3885586f8f1175194017967d6&amp;id=11c1b8bcb2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<p style="font-size: 20px">Interested in receiving the latest Kubernetes news? Sign up for KubeWeekly.</p>
<br />
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_3885586f8f1175194017967d6_11c1b8bcb2" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="subscribe-button"></div>
</div>
</form>
<h5 style="text-align: center"><a href="https://us10.campaign-archive.com/home/?u=3885586f8f1175194017967d6&id=11c1b8bcb2" style="color: #3371E3; font-weight: 400; font-size: 20px">View past newsletters</a></h5>
</div>

<!--End mc_embed_signup-->
</main>
</section>
5 changes: 4 additions & 1 deletion i18n/en.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ other = "Kubernetes Features"
[main_cncf_project]
other = """We are a <a href="https://cncf.io/">CNCF</a> graduated project</p>"""

[main_kubeweekly_signup]

This comment has been minimized.

Copy link
@zacharysarah

zacharysarah Oct 4, 2018

Contributor

@kbarnard10 Nice! ✨

other = "Subscribe"

[main_contribute]
other = "Contribute"

Expand Down Expand Up @@ -76,4 +79,4 @@ other = "Events Calendar"

# UI elements
[ui_search_placeholder]
other = "Search"
other = "Search"
32 changes: 31 additions & 1 deletion layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,41 @@
</center>
</main>
</section>

<section id="kubeweekly">
<main>
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/horizontal-slim-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{clear:left; width:100%;}
/* Add your own MailChimp form style overrides in your site stylesheet or in this style block.
We recommend moving this block and the preceding CSS link to the HEAD of your HTML file. */
</style>
<br>
<br>
<div id="mc_embed_signup">
<form action="https://kubeweekly.us10.list-manage.com/subscribe/post?u=3885586f8f1175194017967d6&amp;id=11c1b8bcb2" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<p style="font-size: 20px">Interested in receiving the latest Kubernetes news? Sign up for KubeWeekly.</p>
<br />
<input type="email" value="" name="EMAIL" class="email" id="mce-EMAIL" placeholder="email address" required>
<!-- real people should not fill this in and expect good things - do not remove this or risk form bot signups-->
<div style="position: absolute; left: -5000px;" aria-hidden="true"><input type="text" name="b_3885586f8f1175194017967d6_11c1b8bcb2" tabindex="-1" value=""></div>
<div class="clear"><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="button"></div>
</div>
</form>
<h5 style="text-align: center"><a href="https://us10.campaign-archive.com/home/?u=3885586f8f1175194017967d6&id=11c1b8bcb2" style="color: #3371E3; font-weight: 400; font-size: 20px">View past newsletters</a></h5>
</div>
<br>
<br>
<!--End mc_embed_signup-->
</main>
</section>
{{ end }}


{{ define "hero-more" }}
{{ with .Site.GetPage "section" "docs/tutorials/kubernetes-basics" }}
<a href="{{ .RelPermalink }}" id="quickstartButton" class="button">{{ .LinkTitle }}</a>
{{ end }}
{{ end }}
{{ end }}
5 changes: 3 additions & 2 deletions sass/_base.sass
Original file line number Diff line number Diff line change
Expand Up @@ -1240,7 +1240,8 @@ $feature-box-div-margin-bottom: 40px
// KubeWeekly
#kubeweekly
background-color: $light-grey
padding: 60px
padding-top: 60px
padding-bottom: 140px
background-size: auto
font-family: "Roboto Mono", monospace !important
font-size: 24px
Expand All @@ -1254,7 +1255,7 @@ $feature-box-div-margin-bottom: 40px
padding: 0 20px
line-height: 31px
color: white
background-color: $blue
background-color: blue
text-decoration: none
font-size: 14px

Expand Down

0 comments on commit 147537b

Please sign in to comment.