mind-overflow-website-ghost.../partials/vanta-js.hbs

21 lines
718 B
Handlebars
Raw Normal View History

<script>
2020-11-04 23:47:36 +01:00
if (window.screen.width > 800)
{
2021-01-03 11:38:55 +01:00
document.write('<script src="{{asset "js/libs/vantajs/three.r95.min.js"}}"><\/script>' +
'<script src="{{asset "js/libs/vantajs/vanta.net.min.js"}}"><\/script>' +
'<script>' +
2020-11-04 23:47:36 +01:00
'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>