bump css version and fix cookie thingie

This commit is contained in:
Set Sakrecoer 2021-08-03 14:04:29 +02:00
parent 6ddb0a99bf
commit bf3bb054f2
11 changed files with 41 additions and 30 deletions

View file

@ -1,13 +1,18 @@
<div id="cookie-notice">
<p>
We only use cookies if you consent to it. They don't contain any identifiable info: they just let us know if you enjoyed this enough to come back.
<br /><a href="#" id="cookie-notice-decline">Click here</a> if you want this to go away without cookies.
We only use cookies if you consent to it, or if you fill out one of our forms so we can remember you next time you come by.
<br />These cookies are all placed by us. No big tech involved.
<br />Read more about <a href="/cookies/"> how {{ site.title }} use cookies</a>
</p>
<button class="button yes"
id="cookie-notice-accept">Ok</button>
<button class="button no" id="cookie-notice-decline">
Nah
</button>
<button class="button yes" id="cookie-notice-accept">
Ok
</button>
</div>
@ -37,7 +42,7 @@
if (readCookie('cookie-notice-dismissed') == 'wantCookies') {
{% include analytics.js %}
{% include mautic-tracker.js %}
} else {
document.getElementById('cookie-notice').style.display = 'flex';

View file

@ -0,0 +1,7 @@
(function(w,d,t,u,n,a,m){w['MauticTrackingObject']=n;
w[n]=w[n]||function(){(w[n].q=w[n].q||[]).push(arguments)},a=d.createElement(t),
m=d.getElementsByTagName(t)[0];a.async=1;a.src=u;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://pr.basspistol.com/mtc.js','mt');
mt('send', 'pageview');

View file

@ -1,3 +1,3 @@
<!-- Scripts -->
{% include relBase.html %}
<script src="{{ relBase }}/assets/js/set-20210720.js"></script>
<script src="{{ relBase }}/assets/js/set-20210803.js"></script>