1
0
mirror of https://github.com/bigchaindb/site.git synced 2024-11-21 17:26:55 +01:00

add general GDPR message to all forms: cla, contact, services

This commit is contained in:
Matthias Kretschmann 2018-05-09 12:39:56 +02:00
parent 799a412e5f
commit dffa9dfaed
Signed by: m
GPG Key ID: 606EEEF3C479A91F
6 changed files with 70 additions and 22 deletions

View File

@ -46,28 +46,6 @@
color: $gray-dark;
}
.form__gdpr {
opacity: .8;
font-size: $font-size-sm;
position: relative;
.icon {
stroke: #fff;
color: #fff;
stroke-width: 1.5;
opacity: .5;
width: 1.5rem;
height: 1.5rem;
position: absolute;
left: -.25rem;
top: .25rem;
}
.text {
margin-left: $spacer * 2;
}
}
.newsletter__gdpr {
.icon {
stroke: $brand-main-blue;

View File

@ -325,3 +325,30 @@ input[type='checkbox'] {
from { transform: translate3d(0, 0, 0); }
to { transform: translate3d(0, ( $font-size-sm + ($spacer / 4)), 0); }
}
//
// GDPR messages
//
.form__gdpr {
opacity: .7;
font-size: $font-size-sm;
position: relative;
margin-top: $spacer * 2;
.icon {
stroke: #fff;
color: #fff;
stroke-width: 1.5;
opacity: .5;
width: 1.5rem;
height: 1.5rem;
position: absolute;
left: -.25rem;
top: .25rem;
}
.text {
margin-left: $spacer * 2;
}
}

View File

@ -1,3 +1,10 @@
general: >
We will only use your email to contact you and by submitting this form you give us permission to do so. You can change your mind at anytime by contacting us at contact@bigchaindb.com. For more information visit our [Privacy Policy](/pivacy/).
We use Formspree to send this form and by submitting it, you acknowledge that the information you provide will be transferred to Formspree for processing in accordance with their [Privacy Policy](https://formspree.io/static/PrivacyPolicy.pdf).
newsletter: >
We will only use your email to send you our newsletter and by submitting this form you give us permission to do so. You can change your mind at anytime by clicking the unsubscribe link of any newsletter you receive from us. For more information visit our [Privacy Policy](/pivacy/).

View File

@ -70,6 +70,15 @@
<input type="text" name="_gotcha" style="display: none;">
<input type="hidden" name="_subject" value="New CLA submission (Individual)" />
<input type="hidden" name="_cc" value="{{ site.email.cla_cc }}" />
<div class="form__gdpr">
<svg class="icon">
<use xlink:href="/assets/img/sprite.svg#icon-heart-protect"></use>
</svg>
<div class="text">
{{ site.data.gdpr.general | markdownify }}
</div>
</div>
</form>
</div>
@ -129,6 +138,15 @@
<input type="text" name="_gotcha" style="display: none;">
<input type="hidden" name="_subject" value="New CLA submission (Organization)" />
<input type="hidden" name="_cc" value="{{ site.email.cla_cc }}" />
<div class="form__gdpr">
<svg class="icon">
<use xlink:href="/assets/img/sprite.svg#icon-heart-protect"></use>
</svg>
<div class="text">
{{ site.data.gdpr.general | markdownify }}
</div>
</div>
</form>
</div>

View File

@ -41,4 +41,13 @@
<input type="text" name="_gotcha" style="display: none;">
<input type="hidden" name="_subject" value="New contact form submission" />
<input type="hidden" name="_cc" value="{{ site.email.contact_cc }}" />
<div class="form__gdpr">
<svg class="icon">
<use xlink:href="/assets/img/sprite.svg#icon-heart-protect"></use>
</svg>
<div class="text">
{{ site.data.gdpr.general | markdownify }}
</div>
</div>
</form>

View File

@ -104,4 +104,13 @@
<input type="text" name="_gotcha" style="display: none;">
<input type="hidden" name="_subject" value="New services form submission" />
<input type="hidden" name="_cc" value="{{ site.email.services_cc }}" />
<div class="form__gdpr">
<svg class="icon">
<use xlink:href="/assets/img/sprite.svg#icon-heart-protect"></use>
</svg>
<div class="text">
{{ site.data.gdpr.general | markdownify }}
</div>
</div>
</form>