2020-08-10 19:03:30 +02:00
|
|
|
{{!< default}}
|
2020-08-12 00:30:29 +02:00
|
|
|
<div class="main" id="vantajs">
|
|
|
|
<h1>{{@site.title}}</h1>
|
2020-08-10 19:03:30 +02:00
|
|
|
|
2020-08-12 00:30:29 +02:00
|
|
|
<div class="navbar">
|
|
|
|
{{navigation}}
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-08-10 19:03:30 +02:00
|
|
|
|
|
|
|
|
2020-08-12 00:30:29 +02:00
|
|
|
<!-- Vanta.JS Scripts to make the background cool, but disabled on mobile -->
|
|
|
|
<script>
|
|
|
|
if(window.screen.width > 800)
|
|
|
|
{
|
|
|
|
document.write('<script src="{{asset "js/three.r95.min.js"}}"><\/script>' +
|
|
|
|
'<script src="{{asset "js/vanta.net.min.js"}}"><\/script>' +
|
|
|
|
'<script>' +
|
|
|
|
'VANTA.NET({'+
|
|
|
|
'el: "#vantajs",'+
|
|
|
|
'color: 0x3fd5ff,'+
|
|
|
|
'backgroundColor: 0x190f2b,'+
|
|
|
|
'mouseControls: true,'+
|
|
|
|
'touchControls: true,'+
|
|
|
|
'minHeight: 200.00,'+
|
|
|
|
'minWidth: 200.00,'+
|
|
|
|
'scale: 1.00,'+
|
|
|
|
'scaleMobile: 1.00'+
|
|
|
|
'})'+
|
|
|
|
'<\/script>');
|
|
|
|
}
|
|
|
|
</script>
|