This commit is contained in:
Samandar Turgunboyev
2025-11-01 19:12:38 +05:00
parent 4e9b2f3bd8
commit 193d01ed51
27 changed files with 1300 additions and 120 deletions

View File

@@ -52,6 +52,12 @@ const MENU_ITEMS = [
path: "/user",
roles: ["moderator", "admin", "superuser", "operator"],
},
{
label: "Profile",
icon: Users,
path: "/profile",
roles: ["tour_admin"],
},
{
label: "Tur firmalar",
icon: Building2,
@@ -251,9 +257,10 @@ export function Sidebar({ role }: SidebarProps) {
</li>
);
})}
<LangToggle />
</ul>
<div className="border-t border-gray-700 mt-2 pt-3 px-2">
<LangToggle />
</div>
<div className="border-t border-gray-700 mt-2 pt-3 px-2">
<Button
onClick={handleLogout}