2eaac6b84a
- Add Owner, Contractor, Vendor, Subcontractor dashboards and role-based routing - Owner now has superuser access to all Admin pages (dashboard, schedule, leaderboard) - Redesign landing page mobile menu as slide-in sidebar (replaces broken Framer Motion overlay) - Add body scroll lock to app sidebar for mobile consistency - Fix Team Schedule to match Admin Dashboard design language (ambient glows, gradient header, SpotlightCard, zinc palette) - Fix login page tab overflow — use abbreviated labels and grid layout for 6 role tabs - Fix Recharts ResponsiveContainer warnings — replace height="100%" with fixed pixel heights - Fix lightbox image viewer — unified nav bar, touch swipe support, no more overlapping text - Add AI Assistant page, People/Vendor/Document management for Owner role - Expand mock data store with contractor, vendor, and subcontractor data
25 lines
1.0 KiB
React
25 lines
1.0 KiB
React
import React from 'react';
|
|
import Chatbot from '../components/Chatbot';
|
|
|
|
const AiAssistantPage = () => {
|
|
return (
|
|
<div className="h-full bg-zinc-50 dark:bg-black flex flex-col">
|
|
<div className="h-full flex flex-col">
|
|
<header className="p-4 md:p-6 border-b border-zinc-200 dark:border-zinc-800 bg-white/50 dark:bg-zinc-900/50 backdrop-blur-sm z-10">
|
|
<h1 className="text-2xl font-bold text-zinc-900 dark:text-white flex items-center gap-2">
|
|
<span className="w-2 h-6 bg-blue-500 rounded-full"></span>
|
|
AI Assistant
|
|
</h1>
|
|
<p className="text-zinc-500 dark:text-zinc-400 text-sm ml-4">Your dedicated AI concierge for detailed insights and assistance.</p>
|
|
</header>
|
|
|
|
<div className="flex-1 min-h-0 relative">
|
|
<Chatbot inline={true} />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default AiAssistantPage;
|