Skip to content

Commit dfdc110

Browse files
committed
Swap in Osano GDPR banner
Signed-off-by: Chris Abraham <cjyabraham@gmail.com>
1 parent f43be16 commit dfdc110

File tree

6 files changed

+1
-103
lines changed

6 files changed

+1
-103
lines changed

_includes/cookie_banner.html

Lines changed: 0 additions & 6 deletions
This file was deleted.

_includes/footer.html

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,3 @@ <h2>Resources</h2>
6666
{% include mobile_menu.html %}
6767

6868
{% include footer_scripts.html %}
69-
70-
{% include cookie_banner.html %}

_includes/footer_scripts.html

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
{% if page.layout != "deep_learning" %}
55
<script src="{{ site.baseurl }}/assets/search-bar.js"></script>
66
{% endif %}
7-
<script src="{{ site.baseurl }}/assets/cookie-banner.js"></script>
87

98
<script type="text/javascript">
109
mobileMenu.bind();

_includes/head.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
<head>
2+
<script src="https://cmp.osano.com/16A0DbT9yDNIaQkvZ/3057c14f-50c3-4c05-ab8c-c35876dd6415/osano.js"></script>
23
<!-- Google Tag Manager -->
34
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
45
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],

_sass/cookie-banner.scss

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -1,53 +1 @@
1-
.cookie-banner-wrapper {
2-
display: none;
31

4-
&.is-visible {
5-
display: block;
6-
position: fixed;
7-
bottom: 0;
8-
background-color: $light_grey;
9-
min-height: 100px;
10-
width: 100%;
11-
z-index: 401;
12-
border-top: 3px solid #ededee;
13-
}
14-
15-
.gdpr-notice {
16-
color: $dark_grey;
17-
margin-top: rem(25px);
18-
text-align: left;
19-
max-width: 1440px;
20-
@include desktop {
21-
width: 77%;
22-
}
23-
@include small-desktop {
24-
width: inherit;
25-
}
26-
27-
.cookie-policy-link {
28-
color: #343434;
29-
}
30-
}
31-
32-
.close-button {
33-
appearance: none;
34-
background: transparent;
35-
border: 1px solid $light_grey;
36-
height: rem(21px);
37-
position: absolute;
38-
bottom: 42px;
39-
right: 0;
40-
top: 0;
41-
cursor: pointer;
42-
outline: none;
43-
@include desktop {
44-
right: 20%;
45-
top: inherit;
46-
}
47-
48-
@include small-desktop {
49-
right: 0;
50-
top: 0;
51-
}
52-
}
53-
}

assets/cookie-banner.js

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)