Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create signup-form.html #84

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 82 additions & 0 deletions _includes/signup-form.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,82 @@
<aside>
<h2 id="{{ locales.connect[ page.lang ] | downcase | replace: ' ', '-' }}">{{ locales.connect[ page.lang ] }}</h2>
<ul>
<li>{{ locales.email[ page.lang ] }}: <a href="mailto:[email protected]">[email protected]</a></li>
<li>{{ locales.twitter[ page.lang ] }}: {{ locales.twitterhandle[ page.lang ] }}</li>
<li>{{ locales.slack[ page.lang ] }}: <a href="https://design-gc-conception.slack.com/join/shared_invite/enQtODE1OTc5Mzg5NzQ4LWQ3MjZjMTdjMjk2ZTZmMTJjYWQ3ZmRiNDYwYjRmN2NjYzQyNjFlNDBlY2FkNWE1ODg2YjExY2QwZmVjN2MwMGM">http://design-GC-conception.slack.com</a></li>
<li>{{ locales.signup[ page.lang ] }}:
<ul class="list-unstyled">
<li>
<form action="https://github.us12.list-manage.com/subscribe/post?u=5700d338d6ab413ebca1099f4&amp;id=c6bb0b9f64" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate paddingc" target="_blank" novalidate>
<div id="mc_embed_signup_scroll" class="well well-sm">
<fieldset class="gc-chckbxrdio">
<legend>{{ locales.emailtype[ page.lang ] }}</legend>
<ul class="list-unstyled lst-spcd-2">
<li class="radio">
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">
<label for="mce-EMAILTYPE-0">{{ locales.emailtype1[ page.lang ] }}</label>
</li>
<li class="radio">
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">
<label for="mce-EMAILTYPE-1">{{ locales.emailtype2[ page.lang ] }} <small>{{ locales.emailtype-cmmt[ page.lang ] }}</small></label>
</li>
</ul>
</fieldset>
<div class="mc-field-group">
<div class="input-group">
<label class="wb-inv" for="mce-EMAIL">{{ locales.mce-email[ page.lang ] }}</label>
<input type="email" value="" name="EMAIL" class="form-control required email" id="mce-EMAIL" placeholder="{{ locales.mce-email[ page.lang ] }}">
<span class="input-group-btn">
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success nowrap">{{ locales.subscribe[ page.lang ] }}</button>
</span>
</div>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div><!-- 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_5700d338d6ab413ebca1099f4_c6bb0b9f64" tabindex="-1" value="">
</div>
</div>
</form>
</li>
</ul>
</li>
</ul>
<script type='text/javascript' src='https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>
( function( $ ) {
window.fnames = new Array();
window.ftypes = new Array();
fnames[ 0 ]='EMAIL';
ftypes[ 0 ]='email';
fnames[ 1 ]='FNAME';
ftypes[ 1 ]='text';
fnames[ 2 ]='LNAME';
ftypes[ 2 ]='text';
fnames[ 3 ]='ADDRESS';
ftypes[ 3 ]='address';
fnames[ 4 ]='PHONE';
ftypes[ 4 ]='phone';
fnames[ 5 ]='BIRTHDAY';
ftypes[ 5 ]='birthday';
}( jQuery ));
var $mcj = jQuery.noConflict( true );
</script>
<!--End mc_embed_signup-->
<div class="mce-privacy" style="padding-top: 9px;">
<a href="#privacy-notice-modal" aria-controls="privacy-notice-modal" class="overlay-lnk light-link wb-lbx" aria-label="Privacy Statement Link">{{ locales.privacy-notice[ page.lang ] }}</a>
</div>
<section class="mfp-hide modal-dialog modal-content overlay-def" id="privacy-notice-modal">
<header class="modal-header">
<h2 class="modal-title">{{ locales.privacy-notice[ page.lang ] }}</h2>
</header>
<div class="modal-body">
<p>{{ locales.privacy-notice1[ page.lang ] }}</p>
<p>{{ locales.privacy-notice2[ page.lang ] }}</p>
<p>{{ locales.privacy-notice3[ page.lang ] }}</p>
<p>{{ locales.privacy-notice4[ page.lang ] }}</p>
</div>
</section>
</aside>
83 changes: 1 addition & 82 deletions _layouts/post.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,88 +9,7 @@
{{ content }}
</div>
</article>
<aside>
<h2 id="{{ locales.connect[ page.lang ] | downcase | replace: ' ', '-' }}">{{ locales.connect[ page.lang ] }}</h2>
<ul>
<li>{{ locales.email[ page.lang ] }}: <a href="mailto:[email protected]">[email protected]</a></li>
<li>{{ locales.twitter[ page.lang ] }}: {{ locales.twitterhandle[ page.lang ] }}</li>
<li>{{ locales.slack[ page.lang ] }}: <a href="https://design-gc-conception.slack.com/join/shared_invite/enQtODE1OTc5Mzg5NzQ4LWQ3MjZjMTdjMjk2ZTZmMTJjYWQ3ZmRiNDYwYjRmN2NjYzQyNjFlNDBlY2FkNWE1ODg2YjExY2QwZmVjN2MwMGM">http://design-GC-conception.slack.com</a></li>
<li>{{ locales.signup[ page.lang ] }}:
<ul class="list-unstyled">
<li>
<form action="https://github.us12.list-manage.com/subscribe/post?u=5700d338d6ab413ebca1099f4&amp;id=c6bb0b9f64" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate paddingc" target="_blank" novalidate>
<div id="mc_embed_signup_scroll" class="well well-sm">
<fieldset class="gc-chckbxrdio">
<legend>{{ locales.emailtype[ page.lang ] }}</legend>
<ul class="list-unstyled lst-spcd-2">
<li class="radio">
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">
<label for="mce-EMAILTYPE-0">{{ locales.emailtype1[ page.lang ] }}</label>
</li>
<li class="radio">
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">
<label for="mce-EMAILTYPE-1">{{ locales.emailtype2[ page.lang ] }} <small>{{ locales.emailtype-cmmt[ page.lang ] }}</small></label>
</li>
</ul>
</fieldset>
<div class="mc-field-group">
<div class="input-group">
<label class="wb-inv" for="mce-EMAIL">{{ locales.mce-email[ page.lang ] }}</label>
<input type="email" value="" name="EMAIL" class="form-control required email" id="mce-EMAIL" placeholder="{{ locales.mce-email[ page.lang ] }}">
<span class="input-group-btn">
<button type="submit" name="subscribe" id="mc-embedded-subscribe" class="btn btn-success nowrap">{{ locales.subscribe[ page.lang ] }}</button>
</span>
</div>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div><!-- 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_5700d338d6ab413ebca1099f4_c6bb0b9f64" tabindex="-1" value="">
</div>
</div>
</form>
</li>
</ul>
</li>
</ul>
<script type='text/javascript' src='https://s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>
( function( $ ) {
window.fnames = new Array();
window.ftypes = new Array();
fnames[ 0 ]='EMAIL';
ftypes[ 0 ]='email';
fnames[ 1 ]='FNAME';
ftypes[ 1 ]='text';
fnames[ 2 ]='LNAME';
ftypes[ 2 ]='text';
fnames[ 3 ]='ADDRESS';
ftypes[ 3 ]='address';
fnames[ 4 ]='PHONE';
ftypes[ 4 ]='phone';
fnames[ 5 ]='BIRTHDAY';
ftypes[ 5 ]='birthday';
}( jQuery ));
var $mcj = jQuery.noConflict( true );
</script>
<!--End mc_embed_signup-->
<div class="mce-privacy" style="padding-top: 9px;">
<a href="#privacy-notice-modal" aria-controls="privacy-notice-modal" class="overlay-lnk light-link wb-lbx" aria-label="Privacy Statement Link">{{ locales.privacy-notice[ page.lang ] }}</a>
</div>
<section class="mfp-hide modal-dialog modal-content overlay-def" id="privacy-notice-modal">
<header class="modal-header">
<h2 class="modal-title">{{ locales.privacy-notice[ page.lang ] }}</h2>
</header>
<div class="modal-body">
<p>{{ locales.privacy-notice1[ page.lang ] }}</p>
<p>{{ locales.privacy-notice2[ page.lang ] }}</p>
<p>{{ locales.privacy-notice3[ page.lang ] }}</p>
<p>{{ locales.privacy-notice4[ page.lang ] }}</p>
</div>
</section>
</aside>
{% include signup-form.html %}
</div>
<nav class="mrgn-tp-xl">
<h2 class="wb-inv">{{ locales.navigation[ page.lang ] }}</h2>
Expand Down
181 changes: 89 additions & 92 deletions en/pages/signup.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,102 +10,99 @@
---
{%- assign locales = site.data.locales.signup -%}
<p>{{ locales.intro[ page.lang ] }}</p>
<div class="col-md-8">
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{
clear:left; font:20px Helvetica,Arial,sans-serif;
}
<!-- Begin MailChimp Signup Form -->
<link href="//cdn-images.mailchimp.com/embedcode/classic-10_7.css" rel="stylesheet" type="text/css">
<style type="text/css">
#mc_embed_signup{
clear:left; font:20px Helvetica,Arial,sans-serif;
}

.hp {
text-align: left !important;
color: white !important;
background-color: #318000 !important;
border-color: #458259 !important;
}
.hp {
text-align: left !important;
color: white !important;
background-color: #318000 !important;
border-color: #458259 !important;
}

a.hp:visited {
color: white !important;
background-color: #318000 !important;
}
a.hp:visited {
color: white !important;
background-color: #318000 !important;
}

a.hp:hover {
color: white !important;
background-color: #122a01 !important;
}
a.hp:hover {
color: white !important;
background-color: #122a01 !important;
}

.paddingc {
padding-left: 0 !important;
}
</style>
<div id="mc_embed_signup">
<form action="https://github.us12.list-manage.com/subscribe/post?u=5700d338d6ab413ebca1099f4&amp;id=c6bb0b9f64" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate paddingc" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label class="wb-inv" for="mce-EMAIL">{{ locales.mce-email[ page.lang ] }}</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="{{ locales.mce-email[ page.lang ] }}">
</div>
<div class="mc-field-group input-group">
<b>{{ locales.emailtype[ page.lang ] }}</b>
<ul>
<li>
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">
<label for="mce-EMAILTYPE-0">{{ locales.emailtype1[ page.lang ] }}</label>
</li>
<li>
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">
<label for="mce-EMAILTYPE-1">{{ locales.emailtype2[ page.lang ] }}</label> {{ locales.emailtype-cmmt[ page.lang ] }}
</li>
</ul>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div><!-- 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_5700d338d6ab413ebca1099f4_c6bb0b9f64" tabindex="-1" value="">
</div>
<div class="clear">
<input type="submit" value="{{ locales.subscribe[ page.lang ] }}" name="subscribe" id="mc-embedded-subscribe" class="button hp">
</div>
.paddingc {
padding-left: 0 !important;
}
</style>
<div id="mc_embed_signup">
<form action="https://github.us12.list-manage.com/subscribe/post?u=5700d338d6ab413ebca1099f4&amp;id=c6bb0b9f64" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate paddingc" target="_blank" novalidate>
<div id="mc_embed_signup_scroll">
<div class="mc-field-group">
<label class="wb-inv" for="mce-EMAIL">{{ locales.mce-email[ page.lang ] }}</label>
<input type="email" value="" name="EMAIL" class="required email" id="mce-EMAIL" placeholder="{{ locales.mce-email[ page.lang ] }}">
</div>
<div class="mc-field-group input-group">
<b>{{ locales.emailtype[ page.lang ] }}</b>
<ul>
<li>
<input type="radio" value="html" name="EMAILTYPE" id="mce-EMAILTYPE-0">
<label for="mce-EMAILTYPE-0">{{ locales.emailtype1[ page.lang ] }}</label>
</li>
<li>
<input type="radio" value="text" name="EMAILTYPE" id="mce-EMAILTYPE-1">
<label for="mce-EMAILTYPE-1">{{ locales.emailtype2[ page.lang ] }}</label> {{ locales.emailtype-cmmt[ page.lang ] }}
</li>
</ul>
</div>
<div id="mce-responses" class="clear">
<div class="response" id="mce-error-response" style="display:none"></div>
<div class="response" id="mce-success-response" style="display:none"></div>
</div><!-- 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_5700d338d6ab413ebca1099f4_c6bb0b9f64" tabindex="-1" value="">
</div>
<div class="clear">
<input type="submit" value="{{ locales.subscribe[ page.lang ] }}" name="subscribe" id="mc-embedded-subscribe" class="button hp">
</div>
</form>
</div>
<script type='text/javascript' src='s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>
( function( $ ) {
window.fnames = new Array();
window.ftypes = new Array();
fnames[ 0 ]='EMAIL';
ftypes[ 0 ]='email';
fnames[ 1 ]='FNAME';
ftypes[ 1 ]='text';
fnames[ 2 ]='LNAME';
ftypes[ 2 ]='text';
fnames[ 3 ]='ADDRESS';
ftypes[ 3 ]='address';
fnames[ 4 ]='PHONE';
ftypes[ 4 ]='phone';
fnames[ 5 ]='BIRTHDAY';
ftypes[ 5 ]='birthday';
}( jQuery ));
var $mcj = jQuery.noConflict( true );
</script>
<!--End mc_embed_signup-->
<div class="mce-privacy" style="padding-top: 9px;">
<a href="#privacy-notice-modal" aria-controls="privacy-notice-modal" class="overlay-lnk light-link wb-lbx" aria-label="Privacy Statement Link">{{ locales.privacy-notice[ page.lang ] }}</a>
</div>
<section class="mfp-hide modal-dialog modal-content overlay-def" id="privacy-notice-modal">
<header class="modal-header">
<h2 class="modal-title">{{ locales.privacy-notice[ page.lang ] }}</h2>
</header>
<div class="modal-body">
<p>{{ locales.privacy-notice1[ page.lang ] }}</p>
<p>{{ locales.privacy-notice2[ page.lang ] }}</p>
<p>{{ locales.privacy-notice3[ page.lang ] }}</p>
<p>{{ locales.privacy-notice4[ page.lang ] }}</p>
</div>
</section>
</form>
</div>
<script type='text/javascript' src='s3.amazonaws.com/downloads.mailchimp.com/js/mc-validate.js'></script>
<script type='text/javascript'>
( function( $ ) {
window.fnames = new Array();
window.ftypes = new Array();
fnames[ 0 ]='EMAIL';
ftypes[ 0 ]='email';
fnames[ 1 ]='FNAME';
ftypes[ 1 ]='text';
fnames[ 2 ]='LNAME';
ftypes[ 2 ]='text';
fnames[ 3 ]='ADDRESS';
ftypes[ 3 ]='address';
fnames[ 4 ]='PHONE';
ftypes[ 4 ]='phone';
fnames[ 5 ]='BIRTHDAY';
ftypes[ 5 ]='birthday';
}( jQuery ));
var $mcj = jQuery.noConflict( true );
</script>
<!--End mc_embed_signup-->
<div class="mce-privacy" style="padding-top: 9px;">
<a href="#privacy-notice-modal" aria-controls="privacy-notice-modal" class="overlay-lnk light-link wb-lbx" aria-label="Privacy Statement Link">{{ locales.privacy-notice[ page.lang ] }}</a>
</div>
<div class="clearfix"></div>
<section class="mfp-hide modal-dialog modal-content overlay-def" id="privacy-notice-modal">
<header class="modal-header">
<h2 class="modal-title">{{ locales.privacy-notice[ page.lang ] }}</h2>
</header>
<div class="modal-body">
<p>{{ locales.privacy-notice1[ page.lang ] }}</p>
<p>{{ locales.privacy-notice2[ page.lang ] }}</p>
<p>{{ locales.privacy-notice3[ page.lang ] }}</p>
<p>{{ locales.privacy-notice4[ page.lang ] }}</p>
</div>
</section>