diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index c16cc38..16ee984 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -9,6 +9,9 @@ import { InvoicesPage } from './pages/invoices/InvoicesPage'; import { CompaniesPage } from './pages/companies/CompaniesPage'; import { StaffPage } from './pages/staff/StaffPage'; import { SettingsPage } from './pages/settings/SettingsPage'; +import { MultiEntityDashboard } from './pages/Dashboard/MultiEntityDashboard'; +import { TrojanHorseConverter } from './pages/Public/TrojanHorseConverter'; + // ── Protected Route Guard ───────────────────────────────── const ProtectedRoute = ({ children }: { children: React.ReactNode }) => { @@ -23,11 +26,13 @@ export default function App() { {/* Public Routes */} } /> } /> + } /> {/* Protected Dashboard Routes */} }> } /> } /> + } /> } /> } /> } /> diff --git a/frontend/src/components/layout/Sidebar.tsx b/frontend/src/components/layout/Sidebar.tsx index 707467f..1eb5b63 100644 --- a/frontend/src/components/layout/Sidebar.tsx +++ b/frontend/src/components/layout/Sidebar.tsx @@ -11,12 +11,14 @@ import { Building2, Users, Settings, - LogOut + LogOut, + Crown } from 'lucide-react'; import { useAuthStore } from '../../store/authStore'; const menuItems = [ { icon: LayoutDashboard, label: 'الرئيسية', path: '/dashboard' }, + { icon: Crown, label: 'لوحة النخبة', path: '/elite-dashboard' }, { icon: FileText, label: 'الفواتير', path: '/invoices' }, { icon: Building2, label: 'الشركات', path: '/companies' }, { icon: Users, label: 'الموظفون', path: '/staff' }, diff --git a/frontend/src/pages/auth/LoginPage.tsx b/frontend/src/pages/auth/LoginPage.tsx index dd9c4de..d3f9a49 100644 --- a/frontend/src/pages/auth/LoginPage.tsx +++ b/frontend/src/pages/auth/LoginPage.tsx @@ -124,6 +124,16 @@ export default function LoginPage() { أنشئ حساباً جديداً + + {/* Trojan Horse Marketing Link */} +
+ + 🚀 جرب أداة تحويل فواتير PDF إلى XML مجاناً + +
);