804c1fe9 by RSA

28823_chatbot_vuzo_link

1 parent 34d94fa0
...@@ -47,4 +47,11 @@ ...@@ -47,4 +47,11 @@
47 To create a production bundle, use `npm run build` or `yarn build`. 47 To create a production bundle, use `npm run build` or `yarn build`.
48 --> 48 -->
49 </body> 49 </body>
50 </html> 50 <script src="https://dev.start.ai-pro.org/snippets/com.global.vuzo.js"></script>
51 <script>
52 window.onload = function() {
53 displayVuzo();
54 displayGooglePlay();
55 };
56 </script>
57 </html>
......
...@@ -94,7 +94,7 @@ function App() { ...@@ -94,7 +94,7 @@ function App() {
94 setChatLog(prevChatLog => [...prevChatLog, userMessage]); 94 setChatLog(prevChatLog => [...prevChatLog, userMessage]);
95 95
96 var messages = chatLogNew.map((message) => { if(message.user !== 'me') return message.message }).join("\n") 96 var messages = chatLogNew.map((message) => { if(message.user !== 'me') return message.message }).join("\n")
97 if(currentModel == GPTTurbo || currentModel == GPTTurbo0301) { 97 if(currentModel === GPTTurbo || currentModel === GPTTurbo0301) {
98 // "gpt-3.5-turbo" 98 // "gpt-3.5-turbo"
99 let chatLogTurboNew = [...chatLogTurbo, { role: "user", content: chatInput }]; 99 let chatLogTurboNew = [...chatLogTurbo, { role: "user", content: chatInput }];
100 setChatLogTurbo(chatLogTurboNew); 100 setChatLogTurbo(chatLogTurboNew);
......
...@@ -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!