From de479dd42130d67fb15f32beb99bec29b356792a Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Tue, 4 Aug 2020 21:28:56 +0530 Subject: added animations --- app/static/js/discovery.js | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 app/static/js/discovery.js (limited to 'app/static/js/discovery.js') diff --git a/app/static/js/discovery.js b/app/static/js/discovery.js new file mode 100644 index 0000000..76cb91e --- /dev/null +++ b/app/static/js/discovery.js @@ -0,0 +1,10 @@ +var animation = bodymovin.loadAnimation({ + container: document.getElementById('discovery'), + + renderer: 'svg', + loop: true, + autoplay: true, + path: "static/js/Discovery.json" + + // Make sure your path has the same filename as your animated SVG's JSON file // + }) \ No newline at end of file -- cgit v1.2.3