diff --git a/src/app/chat/page.tsx b/src/app/chat/page.tsx new file mode 100644 index 0000000..a1299ec --- /dev/null +++ b/src/app/chat/page.tsx @@ -0,0 +1,93 @@ +"use client"; + +import { ThemeProvider } from "@/providers/themeProvider/ThemeProvider"; +import ReactLenis from "lenis/react"; +import NavbarLayoutFloatingOverlay from '@/components/navbar/NavbarLayoutFloatingOverlay/NavbarLayoutFloatingOverlay'; + +interface Message { + id: number; + text: string; + sender: 'user' | 'ai'; +} + +const dummyMessages: Message[] = [ + { id: 1, text: "Hello DB Buddy, can you tell me the total sales for last quarter?", sender: 'user' }, + { id: 2, text: "Certainly! I'm retrieving the data now. Please specify if you'd like to see it grouped by region or product category.", sender: 'ai' }, + { id: 3, text: "Group it by region, please.", sender: 'user' }, + { id: 4, text: "Understood. Here is the total sales for last quarter, grouped by region: North America: $1.2M, Europe: $850K, Asia: $700K. Would you like a detailed breakdown?", sender: 'ai' }, + { id: 5, text: "No, thank you. That's perfect.", sender: 'user' }, +]; + +export default function ChatPage() { + const navItems = [ + { + name: "Home", id: "/"}, + { + name: "Features", id: "#features"}, + { + name: "Impact", id: "#metrics"}, + { + name: "Testimonials", id: "#testimonials"}, + { + name: "Pricing", id: "#pricing"}, + { + name: "FAQs", id: "#faqs"}, + { + name: "Chat", id: "/chat"}, + ]; + + return ( + + + + +
+

AI Chat Interface

+
+
+ DB Buddy Chat +
+
+ {dummyMessages.map((message) => ( +
+
+ {message.text} +
+
+ ))} +
+
+
+
+
+ ); +} \ No newline at end of file