feat: major UI overhaul with new components and enhanced UX

- Add comprehensive Company Wiki feature with complete state management
  - CompanyWikiManager, empty states, invite modals
- Implement new Chat system with enhanced layout and components
  - ChatLayout, ChatSidebar, MessageThread, FileUploadInput
- Create modern Login and OTP verification flows
  - LoginNew page, OTPVerification component
- Add new Employee Forms system with enhanced controller
- Introduce Figma-based design components and multiple choice inputs
- Add new font assets (NeueMontreal) and robot images for onboarding
- Enhance existing components with improved styling and functionality
- Update build configuration and dependencies
- Remove deprecated ModernLogin component
This commit is contained in:
Ra
2025-08-20 03:30:04 -07:00
parent 1a9e92d7bd
commit cf565df13e
47 changed files with 6654 additions and 2007 deletions

View File

@@ -4,6 +4,7 @@ import { useTheme } from '../contexts/ThemeContext';
import { Theme, NavItem } from '../types';
import { useOrg } from '../contexts/OrgContext';
import { useAuth } from '../contexts/AuthContext';
import FigmaSidebar from './figma/Sidebar';
// ========== ICONS ==========
@@ -265,14 +266,18 @@ const Sidebar = () => {
);
};
export const Layout = () => (
<div className="flex h-screen bg-[--background-primary]">
<Sidebar />
<main className="flex-1 overflow-y-auto">
<Outlet />
</main>
</div>
);
export const Layout = () => {
const { org } = useOrg();
return (
<div className="flex h-screen bg-Neutrals-NeutralSlate0">
<FigmaSidebar companyName={org?.name || "Auditly"} />
<main className="flex-1 overflow-y-auto">
<Outlet />
</main>
</div>
);
};
// ========== UI PRIMITIVES ==========