import { ArchiveRestore, BookOpen, CircleDollarSign, Gauge, LayoutDashboard, Lightbulb, ListTodo, LogOut, Network, Settings2, ShieldCheck, Users } from "lucide-react"; import { Link, NavLink, Outlet } from "react-router"; import { useAuth } from "../auth/AuthContext"; import { useDeploymentProfile } from "../deployment/DeploymentProfileContext"; import { AdminCopyright } from "./AdminCopyright"; export const sections = [ { id: "dashboard", to: "/admin", label: "نمای کلی", icon: Gauge }, { id: "projects", to: "/admin/projects", label: "پروژه‌ها", icon: ListTodo }, { id: "projects", to: "/admin/archive", label: "بایگانی", icon: ArchiveRestore }, { id: "reference-data", to: "/admin/reference-data", label: "مضامین و ارزش‌ها", icon: Settings2 }, { id: "ideas", to: "/admin/ideas", label: "ایده‌ها و دستاوردها", icon: Lightbulb }, { id: "ecosystem", to: "/admin/ecosystem", label: "زیست‌بوم", icon: Network }, { id: "financial", to: "/admin/financial", label: "اطلاعات مالی", icon: CircleDollarSign }, { id: "content", to: "/admin/content", label: "انتشارات و رویدادها", icon: BookOpen }, { id: "users", to: "/admin/users", label: "کاربران و دسترسی‌ها", icon: Users }, { id: "account", to: "/admin/account", label: "امنیت حساب", icon: ShieldCheck }, ]; export function AppShell() { const { user, logout } = useAuth(); const { profile } = useDeploymentProfile(); const visibleSections = sections.filter(section => profile.features.adminModules.includes(section.id)); return
{profile.company.displayName}

{profile.branding.adminTitle}

بازگشت به میزکار
; }