Merge branch 'release'

This commit is contained in:
Nikhil Nandagopal 2020-08-21 13:01:56 +05:30
commit 8aef6cfec3

View File

@ -16,7 +16,6 @@
transition: all ease-in 0.3s; transition: all ease-in 0.3s;
} }
</style> </style>
<% if("%REACT_APP_INTERCOM_APP_ID%"[0] !== "%" && "%REACT_APP_CLOUD_HOSTING%" !== "%") { %>
<script type="text/javascript"> <script type="text/javascript">
// INTERCOM SETUP // INTERCOM SETUP
const APP_ID = "%REACT_APP_INTERCOM_APP_ID%" const APP_ID = "%REACT_APP_INTERCOM_APP_ID%"
@ -25,8 +24,6 @@
(function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/' + APP_ID; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (document.readyState === 'complete') { l(); } else if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })(); (function () { var w = window; var ic = w.Intercom; if (typeof ic === "function") { ic('reattach_activator'); ic('update', w.intercomSettings); } else { var d = document; var i = function () { i.c(arguments); }; i.q = []; i.c = function (args) { i.q.push(args); }; w.Intercom = i; var l = function () { var s = d.createElement('script'); s.type = 'text/javascript'; s.async = true; s.src = 'https://widget.intercom.io/widget/' + APP_ID; var x = d.getElementsByTagName('script')[0]; x.parentNode.insertBefore(s, x); }; if (document.readyState === 'complete') { l(); } else if (w.attachEvent) { w.attachEvent('onload', l); } else { w.addEventListener('load', l, false); } } })();
} }
</script> </script>
<% } %>
<% if("%REACT_APP_GOOGLE_ANALYTICS_ID%"[0] !== "%") { %>
<script async src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_GOOGLE_ANALYTICS_ID%"></script> <script async src="https://www.googletagmanager.com/gtag/js?id=%REACT_APP_GOOGLE_ANALYTICS_ID%"></script>
<script> <script>
// GA SETUP // GA SETUP
@ -36,7 +33,6 @@
gtag('config', "%REACT_APP_GOOGLE_ANALYTICS_ID%"); gtag('config', "%REACT_APP_GOOGLE_ANALYTICS_ID%");
</script> </script>
<% } %>
</head> </head>
<body> <body>