@woosmap/ui 4.85.0 → 4.87.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -3,7 +3,6 @@ import Button from '../Button/Button';
|
|
|
3
3
|
import { tr } from '../utils/locale';
|
|
4
4
|
import Picto from '../../images/offlinechat/sf-chat.png';
|
|
5
5
|
import Favicon from '../../images/offlinechat/favicon.png';
|
|
6
|
-
import Lighthouse from '../../images/offlinechat/lighthouse.png';
|
|
7
6
|
|
|
8
7
|
class OfflineChatBot extends React.Component {
|
|
9
8
|
constructor(props) {
|
|
@@ -18,7 +17,7 @@ class OfflineChatBot extends React.Component {
|
|
|
18
17
|
|
|
19
18
|
render() {
|
|
20
19
|
const { open } = this.state;
|
|
21
|
-
const title = tr('
|
|
20
|
+
const title = tr('Chat with us');
|
|
22
21
|
return (
|
|
23
22
|
// eslint-disable-next-line jsx-a11y/click-events-have-key-events,jsx-a11y/no-static-element-interactions
|
|
24
23
|
<div className={`sf-chat ${open && 'sf-chat--open'}`}>
|
|
@@ -47,22 +46,11 @@ class OfflineChatBot extends React.Component {
|
|
|
47
46
|
/>
|
|
48
47
|
</div>
|
|
49
48
|
<div className="sf-chat__body">
|
|
50
|
-
<
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
</p>
|
|
56
|
-
<p>
|
|
57
|
-
<a
|
|
58
|
-
target="_blank"
|
|
59
|
-
className="sf-chat__link"
|
|
60
|
-
href="https://developers.woosmap.com/support/contact/"
|
|
61
|
-
rel="noreferrer"
|
|
62
|
-
>
|
|
63
|
-
{tr('Open contact form')}
|
|
64
|
-
</a>
|
|
65
|
-
</p>
|
|
49
|
+
<iframe
|
|
50
|
+
title="pardot-chat"
|
|
51
|
+
id="pardot"
|
|
52
|
+
src="https://mkg.woosmap.com/l/1018782/2023-06-25/dwt8"
|
|
53
|
+
/>
|
|
66
54
|
</div>
|
|
67
55
|
</div>
|
|
68
56
|
)}
|