Wruczek/ts-website

How to add chrismas.js from ts-website 1.0 to ts-website 2.0.

Closed this issue · 1 comments

Hello,

I would like to use the chrimast snow effect on the ts website 2.0.
I removed from the script the css file import, and successfully uploaded to js folder with christmas.js.

Imported this code to body.latte: <script src="js/christmas.js"></script>
But when I reloading the page I got syntax error message.

Can you help me?

I really discourage it, its all JS animation and its very CPU heavy, especially on mobile.