From 1c7d22e04db4a97cf33847510e82463309dc15ae Mon Sep 17 00:00:00 2001 From: LucasDLTG Date: Tue, 28 Apr 2026 12:13:11 +0200 Subject: [PATCH] feat: add chat page --- src/app/[locale]/layout.tsx | 2 +- src/app/[locale]/page.tsx | 86 ++++++++++++++++-- src/components/chat/ChatUI.tsx | 100 ++++++++++++++++++++ src/components/chat/ModelSelect.tsx | 81 +++++++++++++++++ src/components/chat/chat.panels.tsx | 136 ++++++++++++++++++++++++++++ src/types/chat-api.tsx | 17 ++++ 6 files changed, 412 insertions(+), 10 deletions(-) create mode 100644 src/components/chat/ChatUI.tsx create mode 100644 src/components/chat/ModelSelect.tsx create mode 100644 src/components/chat/chat.panels.tsx create mode 100644 src/types/chat-api.tsx diff --git a/src/app/[locale]/layout.tsx b/src/app/[locale]/layout.tsx index 81df8bb..2a20c72 100644 --- a/src/app/[locale]/layout.tsx +++ b/src/app/[locale]/layout.tsx @@ -44,7 +44,7 @@ export default async function RootLayout(props: { -
{props.children}
+
{props.children}