From 3c4317b576be616b150d89808d8d49645d442026 Mon Sep 17 00:00:00 2001
From: Rustico77
Date: Wed, 15 Apr 2026 18:20:33 +0000
Subject: [PATCH] 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 */}
-
{children}