Skip to content

Commit

Permalink
feat: chatbot for zanichelli demo
Browse files Browse the repository at this point in the history
  • Loading branch information
BuonDavide committed Nov 28, 2024
1 parent 7829edc commit 88521c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Element/Embeddings.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<p class="text-lg">Per aggiungere il tuo chatbot ovunque nel tuo sito, aggiungi questo iframe al tuo html:</p>
<code ref="codeArea" class="w-full flex-1 bg-slate-300 p-2 rounded-md">
&lt;iframe<br />
&emsp;&emsp;src={{ host }}/chatbot-iframe/{{ uuid }} <br />
&emsp;&emsp;src={{ iframeSrc }} <br />
&emsp;&emsp;style="height: 30rem; width: 24rem" <br />
&gt;<br />
&lt;/iframe&gt;
Expand Down Expand Up @@ -43,7 +43,7 @@ const route = useRoute();
console.log(route);
const host = window.location.host;

Check failure on line 45 in components/Element/Embeddings.vue

View workflow job for this annotation

GitHub Actions / Check code using Prettier and ESLint (ubuntu-latest, 20)

'host' is assigned a value but never used. Allowed unused vars must match /^_/u
const iframeSrc = ref('/chatbot-iframe/' + props.uuid);
const iframeSrc = ref('https://test-zanichelli-chatbot.brevia.app/chatbot/76eedcfa-a0ad-4bda-a2df-26cf0e3788b1');
const iframeVisible = ref(false);
const codeArea = ref();
const copiedToClip = ref(false);
Expand Down

0 comments on commit 88521c9

Please sign in to comment.