From 737bbf9344de2f46581576845dd1ae20bdb3d485 Mon Sep 17 00:00:00 2001 From: Rustico77 Date: Wed, 15 Apr 2026 15:07:31 +0000 Subject: [PATCH 1/3] init --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 4d231cb..4b030b8 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,11 +1,11 @@ { - "name": "contexta-fe", + "name": "contexta_fe", "version": "0.0.0", "lockfileVersion": 3, "requires": true, "packages": { "": { - "name": "contexta-fe", + "name": "contexta_fe", "version": "0.0.0", "dependencies": { "@tanstack/react-query": "^5.90.21", From 3c4317b576be616b150d89808d8d49645d442026 Mon Sep 17 00:00:00 2001 From: Rustico77 Date: Wed, 15 Apr 2026 18:20:33 +0000 Subject: [PATCH 2/3] update dashboard max-width, create chatbot --- src/App.css | 4 +- src/components/Layout.tsx | 9 +- src/pages/AuthPages.tsx | 2 +- src/pages/ChatbotBuilderPage.tsx | 1322 +++++++++++++++++++----------- src/pages/DashboardPage.tsx | 4 +- src/pages/ForgotPasswordPage.tsx | 2 +- 6 files changed, 841 insertions(+), 502 deletions(-) diff --git a/src/App.css b/src/App.css index b9d355d..38a140b 100644 --- a/src/App.css +++ b/src/App.css @@ -1,7 +1,7 @@ #root { - max-width: 1280px; + /* max-width: 1280px; */ margin: 0 auto; - padding: 2rem; + padding-inline: 1rem; text-align: center; } diff --git a/src/components/Layout.tsx b/src/components/Layout.tsx index 07357b4..18714d5 100644 --- a/src/components/Layout.tsx +++ b/src/components/Layout.tsx @@ -9,6 +9,7 @@ import { LogOut, Menu, Sparkles, BarChart3, Mail, Users, Shield, X, CalendarDays, Megaphone, } from 'lucide-react' +import { Divider } from './ui' const NAV_ITEMS = [ { label: 'Dashboard', href: '/dashboard', icon: LayoutDashboard }, @@ -36,7 +37,7 @@ export const AppLayout: React.FC<{ children: React.ReactNode }> = ({ children }) const initial = user?.email?.charAt(0).toUpperCase() || '?' return ( -
+
{/* Mobile backdrop */} {sidebarOpen && (
= ({ children })
{/* Nav */} -