chat added

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-08 14:57:55 -04:00
parent 929a1b316f
commit f652304468
+21 -3
View File
@@ -5,7 +5,6 @@
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="author" content="Float Mobility">
<meta name="description" content="Travel smarter with Float's ride sharing, hailing and budgeting app. Avaliable on IOS and Android." />
<meta name="title" content="Ride Sharing, Hailing & Budgeting App by Float" />
@@ -54,8 +53,8 @@
<!-- RESPONSIVE CSS -->
<link href="/assets/css/responsive.css" rel="stylesheet">
<title>Float</title>
<title> Ride Sharing, Hailing & Budgeting App by Float</title>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
@@ -79,5 +78,24 @@
<script src="/assets/js/wow.js"></script>
<!-- Custom Script -->
<script src="/assets/js/custom.js"></script>
<script>
function initFreshChat() {
window.fcWidget.init({
token: "e14dfaf8-473b-4882-a83f-e88f192f763d",
host: "https://wchat.freshchat.com"
});
}
function initialize(i,t){
var e;
i.getElementById(t) ? initFreshChat() :
((e=i.createElement("script")).id=t,
e.async=!0,e.src="https://wchat.freshchat.com/js/widget.js",
e.onload=initFreshChat,i.head.appendChild(e))
}
function initiateCall() {
initialize(document,"freshchat-js-sdk")
}
window.addEventListener ? window.addEventListener("load",initiateCall,!1): window.attachEvent("load",initiateCall,!1);
</script>
</body>
</html>