applied cookies popup to all pages

This commit is contained in:
Lorenzo Dellacà
2020-07-10 12:00:56 +02:00
parent 39b01264da
commit b06af3b038
4 changed files with 33 additions and 7 deletions

View File

@@ -26,9 +26,18 @@
})();
</script>
<!-- End Matomo Code -->
<script src="/scripts/policy-popup.js"></script>
</head>
<body>
<body onload="openPolicyPopup()">
<div class="policy-popup" id="policy-popup">
<h4>This website uses cookies.</h4>
<p>We use cookies to ensure you the best experience.
<br>
By visiting our website, you agree with our <a href="/pages/policy.html" target="_blank">Privacy Policy</a>.
</p>
<button onclick="agreePolicyPopup()">Ok, understood</button>
</div>
<div class="top-bar">
<div class="topnav">
<a href="/">Home</a>