ffff6c02 by Ryan

Merge branch '28823_chatbot_vuzo_link' into 'master'

28823_chatbot_vuzo_link

See merge request !82
2 parents 2aa3a8e7 01d9c5f2
...@@ -31,6 +31,11 @@ ...@@ -31,6 +31,11 @@
31 let btutilAsset = document.createElement('script'); 31 let btutilAsset = document.createElement('script');
32 btutilAsset.setAttribute('src', "%REACT_APP_BTUTIL_ASSET_URL%" + ver); 32 btutilAsset.setAttribute('src', "%REACT_APP_BTUTIL_ASSET_URL%" + ver);
33 document.head.appendChild(btutilAsset); 33 document.head.appendChild(btutilAsset);
34
35 let vuzoScript = document.createElement("script")
36 var start_URL = "%REACT_APP_START_SERVER_URL%/";
37 vuzoScript.setAttribute("src", start_URL + 'snippets/com.global.vuzo/js/com.global.vuzo.js?ver=' + ver);
38 document.head.appendChild(vuzoScript);
34 </script> 39 </script>
35 </head> 40 </head>
36 <body> 41 <body>
...@@ -47,4 +52,12 @@ ...@@ -47,4 +52,12 @@
47 To create a production bundle, use `npm run build` or `yarn build`. 52 To create a production bundle, use `npm run build` or `yarn build`.
48 --> 53 -->
49 </body> 54 </body>
50 </html> 55 <script>
56 setTimeout(function() {
57 window.onload = function() {
58 displayVuzo();
59 displayGooglePlay();
60 };
61 }, 1000);
62 </script>
63 </html>
......
...@@ -74,6 +74,10 @@ const SideMenu = ({ ...@@ -74,6 +74,10 @@ const SideMenu = ({
74 </span> 74 </span>
75 <ExportButton label="Export Conversation" filename="Chat-Bot-Plus" /> 75 <ExportButton label="Export Conversation" filename="Chat-Bot-Plus" />
76 </div> 76 </div>
77 <div className="vuzo_container">
78 <div className="vuzo_img"></div>
79 <div className="vuzo_gplay"></div>
80 </div>
77 </aside> 81 </aside>
78 ); 82 );
79 83
......
...@@ -25,6 +25,18 @@ code { ...@@ -25,6 +25,18 @@ code {
25 display: none; 25 display: none;
26 } 26 }
27 27
28 .vuzo_container {
29 text-align: center;
30 padding: 2px;
31 display: inline-flex;
32 margin: 0 auto;
33 bottom: 0;
34 position: absolute;
35 }
36
37 .vuzo_img, .vuzo_gpay, .vuzo_qr {
38 padding: 0 2px;
39 }
28 @media screen and (max-width: 640px) { 40 @media screen and (max-width: 640px) {
29 .export-button-mobile { 41 .export-button-mobile {
30 display: flex !important; 42 display: flex !important;
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!