Skip to content

Commit 156fe5f

Browse files
committed
chore: GDPR updates and ad updates
1 parent 19a659f commit 156fe5f

File tree

6 files changed

+61
-5
lines changed

6 files changed

+61
-5
lines changed

_includes/newsletter-subscriber.html

+2-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
<div class="thtrm-subscriber">
22
<h3>Get updates on new articles and trainings.</h3>
3-
<p>Join over 1400 other developers who get our content first.</p>
3+
<p>Join over 2400 other developers who get our content first.</p>
44
<form action="//thoughtram.us8.list-manage.com/subscribe/post?u=dfbb1507fbced5a20d9dc5698&amp;id=731f22cdca" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" target="_blank" novalidate>
55
<label for="mce-EMAIL"></label>
66
<input type="email" value="" name="EMAIL" placeholder="Your email address..." required>
77
<div style="position: absolute; left: -5000px;"><input type="text" name="b_dfbb1507fbced5a20d9dc5698_731f22cdca" tabindex="-1" value=""></div>
88
<input type="submit" value="Subscribe" name="subscribe" class="thtrm-cta thtrm-cta--small">
99
</form>
10+
<p class="thtrm-form__info-text">Information on the performance measurement included in the consent, the use of the mail service provider MailChimp and on the logging of the registration and your rights of revocation can be found in our <a href="https://thoughtram.io/imprint.html" title="Privacy Statement">data protection declaration</a>.</p>
1011
</div>
1112

_includes/public-training-ad.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<section class="thtrm-ad thtrm-section thtrm-section--is-promo is-sticky">
22
<img width="100" src="/images/angular2-shield-inverse.svg">
3-
<h3 class="thtrm-section-headline">Angular Master Class at Shopware</h3>
3+
<h3 class="thtrm-section-headline">Angular Master Class in Las Palmas</h3>
44
<p class="thtrm-section-text">Join our upcoming public training!</p>
5-
<a href="https://amc-shopware.eventbrite.com?aff=blogAd" title="Angular Master Class at Shopware" id="event-cta" class="thtrm-layout-divider-cta">Get a ticket <strong>&rarr;</strong></a>
5+
<a href="https://www.codecamps.com/aiff4/" title="Angular Master Class in Las Palmas" id="event-cta" class="thtrm-layout-divider-cta">Get a ticket <strong>&rarr;</strong></a>
66
</section>

_layouts/default.html

+18
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,24 @@
3535

3636
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
3737
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}" type="text/css">
38+
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
39+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
40+
<script>
41+
window.addEventListener("load", function(){
42+
window.cookieconsent.initialise({
43+
"palette": {
44+
"popup": {
45+
"background": "#eee",
46+
"text": "#5c7291"
47+
},
48+
"button": {
49+
"background": "#4c91a7",
50+
"text": "#ffffff"
51+
}
52+
},
53+
"theme": "edgeless"
54+
})});
55+
</script>
3856
</head>
3957
<body class="thtrm-blog">
4058
<!-- Add your site or app content here -->

_layouts/post.html

+3-2
Original file line numberDiff line numberDiff line change
@@ -83,15 +83,16 @@ <h2 class="thtrm-banner-text">{{page.title}}</h2>
8383
</div>
8484
<div class="thtrm-constraint thtrm-constraint--slim">
8585

86+
{% include public-training-ad.html %}
8687
<div class="thtrm-article">
87-
{% include machinelabs-course-ad.html %}
8888

8989
{{ content }}
9090

9191
{% include demos-and-videos.html post=page %}
92+
93+
{% include machinelabs-course-ad.html %}
9294
</div>
9395

94-
{% include public-training-ad.html %}
9596
{% include newsletter-subscriber.html %}
9697

9798
<div class="thtrm-social-links">

_layouts/website.html

+18
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,24 @@
4040

4141
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
4242
<link rel="stylesheet" href="{{ "/css/main.css" | prepend: site.baseurl }}" type="text/css">
43+
<link rel="stylesheet" type="text/css" href="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.css" />
44+
<script src="//cdnjs.cloudflare.com/ajax/libs/cookieconsent2/3.1.0/cookieconsent.min.js"></script>
45+
<script>
46+
window.addEventListener("load", function(){
47+
window.cookieconsent.initialise({
48+
"palette": {
49+
"popup": {
50+
"background": "#eee",
51+
"text": "#5c7291"
52+
},
53+
"button": {
54+
"background": "#4c91a7",
55+
"text": "#ffffff"
56+
}
57+
},
58+
"theme": "edgeless"
59+
})});
60+
</script>
4361
</head>
4462
<body itemscope itemtype="http://schema.org/WebPage" class="thtrm-home">
4563
<!-- Add your site or app content here -->

_sass/_thtrm-subscriber.scss

+18
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,23 @@
3838
font-size: 15px;
3939
}
4040

41+
.thtrm-form__info-text {
42+
font-size: 0.8em;
43+
font-weight: normal;
44+
max-width: 500px;
45+
color: #aaa;
46+
margin: auto;
47+
margin-top: 1em;
48+
49+
a {
50+
text-decoration: underline;
51+
color: #aaa;
52+
&:after {
53+
display: none;
54+
}
55+
}
56+
}
57+
4158
.thtrm-cta { margin-top: 0; }
4259

4360
input[type="email"] {
@@ -70,3 +87,4 @@
7087
}
7188
}
7289
}
90+

0 commit comments

Comments
 (0)