How can I place a Lottie animation onto the homepage?

I’m not sure how to use the animation for your logo, but to get the script to run on your Discourse site, you need to add https://unpkg.com/@lottiefiles/lottie-player@latest/dist/lottie-player.js to your content security policy script src site setting. When I do that, and add the script to my theme’s Header section, the animation displays for me.