added analytics and phone/email obfuscation
This commit is contained in:
parent
19736653d0
commit
627077113d
4 changed files with 69 additions and 7 deletions
5
src/assets/icons/email.svg
Normal file
5
src/assets/icons/email.svg
Normal file
|
|
@ -0,0 +1,5 @@
|
||||||
|
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-at" width="44" height="44" viewBox="0 0 24 24" stroke-width="1" stroke="var(--primary)" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
|
<path stroke="none" d="M0 0h24v24H0z" fill="none"/>
|
||||||
|
<path d="M12 12m-4 0a4 4 0 1 0 8 0a4 4 0 1 0 -8 0" />
|
||||||
|
<path d="M16 12v1.5a2.5 2.5 0 0 0 5 0v-1.5a9 9 0 1 0 -5.5 8.28" />
|
||||||
|
</svg>
|
||||||
|
After Width: | Height: | Size: 409 B |
File diff suppressed because one or more lines are too long
|
|
@ -11,6 +11,7 @@
|
||||||
<style>
|
<style>
|
||||||
{{ css | cssmin | safe }}
|
{{ css | cssmin | safe }}
|
||||||
</style>
|
</style>
|
||||||
|
<script defer src="https://analytics2.altweb.me/script.js" data-website-id="2ca1003e-57bc-4975-908c-cf656f75b378"></script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="layout">
|
<div id="layout">
|
||||||
|
|
|
||||||
|
|
@ -20,25 +20,81 @@ heading: Warmtepompen, Ventilatie met Warmteterugwinning, Airco
|
||||||
Airco
|
Airco
|
||||||
</span>
|
</span>
|
||||||
</h1>
|
</h1>
|
||||||
<a class="hero__info" href="tel:+31641681656">06 41 68 16 56</a>
|
<a id="ecc-1233-505607" class="hero__info"></a>
|
||||||
|
<script type="text/javascript">
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
var anchor = document.getElementById("ecc-1233-505607");
|
||||||
|
if (anchor) {
|
||||||
|
var charCodes = [43, 51, 49, 54, 52, 49, 54, 56, 49, 54, 53, 54];
|
||||||
|
var phoneNumber = "";
|
||||||
|
for (var i = 0; i < charCodes.length; i++) {
|
||||||
|
phoneNumber += String.fromCharCode(charCodes[i]);
|
||||||
|
}
|
||||||
|
anchor.href = "tel:" + phoneNumber;
|
||||||
|
|
||||||
|
var textCharCodes = [48, 54, 32, 52, 49, 32, 54, 56, 32, 49, 54, 32, 53, 54];
|
||||||
|
var displayText = "";
|
||||||
|
for (var j = 0; j < textCharCodes.length; j++) {
|
||||||
|
displayText += String.fromCharCode(textCharCodes[j]);
|
||||||
|
}
|
||||||
|
anchor.textContent = displayText;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
</script>
|
||||||
<div class="hero__icons">
|
<div class="hero__icons">
|
||||||
<a href="tel:+31641681656">
|
<a id="eeb-8845-407404">
|
||||||
{% svgsprite %}
|
{% svgsprite %}
|
||||||
{% icon "phone" %}
|
{% icon "email" %}
|
||||||
</a>
|
</a>
|
||||||
|
<script type="text/javascript">
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
var anchor = document.getElementById("eeb-8845-407404");
|
||||||
|
if (anchor) {
|
||||||
|
var chars = [105, 110, 102, 111, 64, 99, 108, 105, 109, 97, 116, 101, 99, 104, 97, 110, 103, 101, 114, 115, 46, 110, 108];
|
||||||
|
var email = "";
|
||||||
|
for (var i = 0; i < chars.length; i++) {
|
||||||
|
email += String.fromCharCode(chars[i]);
|
||||||
|
}
|
||||||
|
anchor.href = "mailto:" + email;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
<a href="https://t.me/spencerflagg" target="_blank">
|
<a href="https://t.me/spencerflagg" target="_blank">
|
||||||
{% svgsprite %}
|
{% svgsprite %}
|
||||||
{% icon "telegram" %}
|
{% icon "telegram" %}
|
||||||
</a>
|
</a>
|
||||||
<a href="https://wa.me/0031641681656" target="_blank">
|
<a id="ygg-4568-234544" target="_blank">
|
||||||
{% svgsprite %}
|
{% svgsprite %}
|
||||||
{% icon "whatsapp" %}
|
{% icon "whatsapp" %}
|
||||||
</a>
|
</a>
|
||||||
</div>
|
<script type="text/javascript">
|
||||||
|
document.addEventListener("DOMContentLoaded", function() {
|
||||||
|
var anchor = document.getElementById("ygg-4568-234544");
|
||||||
|
if (anchor) {
|
||||||
|
var baseUrlChars = [104, 116, 116, 112, 115, 58, 47, 47, 119, 97, 46, 109, 101, 47];
|
||||||
|
var phoneChars = [48, 48, 51, 49, 54, 52, 49, 54, 56, 49, 54, 53, 54];
|
||||||
|
|
||||||
|
var baseUrl = "";
|
||||||
|
for (var i = 0; i < baseUrlChars.length; i++) {
|
||||||
|
baseUrl += String.fromCharCode(baseUrlChars[i]);
|
||||||
|
}
|
||||||
|
|
||||||
|
var phoneNumber = "";
|
||||||
|
for (var j = 0; j < phoneChars.length; j++) {
|
||||||
|
phoneNumber += String.fromCharCode(phoneChars[j]);
|
||||||
|
}
|
||||||
|
|
||||||
|
anchor.href = baseUrl + phoneNumber;
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
</script>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="bkg">
|
<div class="bkg">
|
||||||
{% image "src/assets/images/winter.png", "bkg--winter", "winter netherlands city", "(min-width: 30em) 50vw, 100vw" %}
|
{% image "src/assets/images/winter.png", "bkg--winter", "winter netherlands city", "(min-width: 30em) 50vw, 100vw" %}
|
||||||
{% image "src/assets/images/summer.png", "bkg--summer", "summer netherlands city", "(min-width: 30em) 50vw, 100vw" %}
|
{% image "src/assets/images/summer.png", "bkg--summer", "summer netherlands city", "(min-width: 30em) 50vw, 100vw" %}
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in a new issue