Skip to content

Commit

Permalink
added chatbot issue#108 solved. (#144)
Browse files Browse the repository at this point in the history
* added

* Update 404.ejs

* Update 500.ejs
  • Loading branch information
trahulprabhu38 authored Oct 16, 2024
1 parent 231e005 commit 2622405
Show file tree
Hide file tree
Showing 8 changed files with 84 additions and 3 deletions.
3 changes: 2 additions & 1 deletion views/404.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -72,5 +72,6 @@ p {
Stop code: PAGE_NOT_FOUND<br>
What failed: router</p>
</div>

</body>
</html>
</html>
3 changes: 2 additions & 1 deletion views/500.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -77,5 +77,6 @@ p {
<a href="/"><div class="refresh-icon"></div></a>
<a href="/"><button class="next-button">Next</button></a>
</div>

</body>
</html>
</html>
15 changes: 14 additions & 1 deletion views/auth.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,19 @@
icon.classList.add('bx-show');
}
}
</script>
</script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions views/contributors.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -406,6 +406,18 @@
document.querySelector("#chinmay-role").setHTMLUnsafe("AI Jargon Expert");
});
</script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>

<%- include('partials/footer') %>
</body>
Expand Down
12 changes: 12 additions & 0 deletions views/display.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -150,5 +150,17 @@
preloader.style.display = "none";
});
</script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>
</body>
</html>
12 changes: 12 additions & 0 deletions views/form.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,18 @@
preloader.style.display = "none";
});
</script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>
<%- include('partials/bottom_nav') %>
</body>
</html>
18 changes: 18 additions & 0 deletions views/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,24 @@
document.getElementById("progress-bar").style.width = scrolled + "%";
};
</script>


<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>
<button id="scroll" onclick="scrollToTop()"><i class="fa-solid fa-arrow-up"></i></button>

</body>

</body>

</html>
12 changes: 12 additions & 0 deletions views/team.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,18 @@
document.querySelector("#chinmay-role").setHTMLUnsafe("AI Jargon Expert");
});
</script>
<script>
window.embeddedChatbotConfig = {
chatbotId: "3y5y_b4ZtgDExQUL8b2_A",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="3y5y_b4ZtgDExQUL8b2_A"
domain="www.chatbase.co"
defer>
</script>

<%- include('partials/bottom_nav') %>
</body>
Expand Down

0 comments on commit 2622405

Please sign in to comment.