804c1fe9 by RSA

28823_chatbot_vuzo_link

1 parent 34d94fa0
......@@ -47,4 +47,11 @@
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>
<script src="https://dev.start.ai-pro.org/snippets/com.global.vuzo.js"></script>
<script>
window.onload = function() {
displayVuzo();
displayGooglePlay();
};
</script>
</html>
......
......@@ -94,7 +94,7 @@ function App() {
setChatLog(prevChatLog => [...prevChatLog, userMessage]);
var messages = chatLogNew.map((message) => { if(message.user !== 'me') return message.message }).join("\n")
if(currentModel == GPTTurbo || currentModel == GPTTurbo0301) {
if(currentModel === GPTTurbo || currentModel === GPTTurbo0301) {
// "gpt-3.5-turbo"
let chatLogTurboNew = [...chatLogTurbo, { role: "user", content: chatInput }];
setChatLogTurbo(chatLogTurboNew);
......
......@@ -74,6 +74,10 @@ const SideMenu = ({
</span>
<ExportButton label="Export Conversation" filename="Chat-Bot-Plus" />
</div>
<div className="vuzo_container">
<div className="vuzo_img"></div>
<div className="vuzo_gplay"></div>
</div>
</aside>
);
......
......@@ -25,6 +25,18 @@ code {
display: none;
}
.vuzo_container {
text-align: center;
padding: 2px;
display: inline-flex;
margin: 0 auto;
bottom: 0;
position: absolute;
}
.vuzo_img, .vuzo_gpay, .vuzo_qr {
padding: 0 2px;
}
@media screen and (max-width: 640px) {
.export-button-mobile {
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!