1
1
mirror of https://github.com/leon-ai/leon.git synced 2024-12-25 09:44:22 +03:00

feat(web app): join us on Discord

This commit is contained in:
louistiti 2022-08-14 21:19:04 +08:00
parent 81ae87f0d9
commit 141c89ecbf
No known key found for this signature in database
GPG Key ID: 7ECA3DD523793FE6
3 changed files with 3 additions and 9 deletions

View File

@ -39,9 +39,9 @@
<div id="version">
<small>v</small>
</div>
<div id="logger">
<div id="discord">
<small class="italic">
<a href="https://docs.getleon.ai/collaborative-logger" target="_blank">Collaborative logger</a>
<a href="https://discord.gg/MNQqqKg" target="_blank">Join us on Discord</a>
</small>
</div>
</footer>

View File

@ -28,17 +28,11 @@ document.addEventListener('DOMContentLoaded', () => {
const input = document.querySelector('#utterance')
const mic = document.querySelector('#mic-button')
const v = document.querySelector('#version small')
const logger = document.querySelector('#logger small')
const client = new Client(config.app, serverUrl, input, res.body)
let rec = { }
let chunks = []
let sLogger = ' enabled, thank you.'
v.innerHTML += client.info.version
if (client.info.logger === false) {
sLogger = ' disabled.'
}
logger.innerHTML += sLogger
client.init(loader)

View File

@ -2,7 +2,7 @@
"name": "Todo List",
"bridge": "python",
"version": "1.0.0",
"description": "Manage your lists and the items they contain.",
"description": "Manage your lists and items they contain.",
"author": {
"name": "Louis Grenard",
"email": "louis.grenard@gmail.com",