Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 4f970fb8fe | |||
| 2cb842ef67 | |||
| 4d0c5820b0 | |||
| cfadd55bff |
@@ -41,7 +41,7 @@ const ChatbotPage = () => {
|
|||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
const botResponse: Message = {
|
const botResponse: Message = {
|
||||||
id: messages.length + 2,
|
id: messages.length + 2,
|
||||||
text: `You said: "${input}". I'm just a simple chatbot for now, but I'm learning!`, // Basic logic
|
text: `You said: "${input}". I'm just a simple chatbot for now, but I'm learning!`,
|
||||||
sender: "bot"};
|
sender: "bot"};
|
||||||
setMessages((prevMessages) => [...prevMessages, botResponse]);
|
setMessages((prevMessages) => [...prevMessages, botResponse]);
|
||||||
}, 1000);
|
}, 1000);
|
||||||
@@ -67,17 +67,17 @@ const ChatbotPage = () => {
|
|||||||
{
|
{
|
||||||
name: "Home", id: "/"},
|
name: "Home", id: "/"},
|
||||||
{
|
{
|
||||||
name: "About", id: "/"},
|
name: "About", id: "#about"},
|
||||||
{
|
{
|
||||||
name: "Menu", id: "/"},
|
name: "Menu", id: "#menu"},
|
||||||
{
|
{
|
||||||
name: "Specials", id: "/"},
|
name: "Specials", id: "#specials"},
|
||||||
{
|
{
|
||||||
name: "Testimonials", id: "/"},
|
name: "Testimonials", id: "#testimonials"},
|
||||||
{
|
{
|
||||||
name: "FAQs", id: "/"},
|
name: "FAQs", id: "#faqs"},
|
||||||
{
|
{
|
||||||
name: "Contact", id: "/"},
|
name: "Contact", id: "#contact"},
|
||||||
{
|
{
|
||||||
name: "Chatbot", id: "/chatbot"}
|
name: "Chatbot", id: "/chatbot"}
|
||||||
]}
|
]}
|
||||||
|
|||||||
@@ -211,8 +211,8 @@ export default function LandingPage() {
|
|||||||
|
|
||||||
<div id="chat" data-section="chat">
|
<div id="chat" data-section="chat">
|
||||||
<ContactForm
|
<ContactForm
|
||||||
title="Need immediate assistance?"
|
title="Chat with our Virtual Assistant"
|
||||||
description="Our virtual assistant can answer common questions or connect you with a team member. Type your question below."
|
description="Type your question below for quick answers or to connect with our team."
|
||||||
tag="Live Support"
|
tag="Live Support"
|
||||||
tagIcon={MessageSquareText}
|
tagIcon={MessageSquareText}
|
||||||
inputPlaceholder="Ask your question..."
|
inputPlaceholder="Ask your question..."
|
||||||
|
|||||||
Reference in New Issue
Block a user