Consolidate Staff tab in Admin - remove /admin/staff/* navigation
cgen-bd13115d410c49a883de4abf7e9d771f
This commit is contained in:
parent
70a78e0334
commit
d02cfc3987
1 changed files with 22 additions and 70 deletions
|
|
@ -536,76 +536,28 @@ export default function Admin() {
|
||||||
Manage AeThex staff, employees, and contractors
|
Manage AeThex staff, employees, and contractors
|
||||||
</CardDescription>
|
</CardDescription>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-3">
|
<CardContent className="space-y-4">
|
||||||
<Button
|
<p className="text-sm text-muted-foreground">
|
||||||
variant="outline"
|
Staff management and team collaboration tools are consolidated within the Admin Control Center. Use the tabs above to access team metrics, member management, and community features.
|
||||||
onClick={() => navigate("/admin/staff/directory")}
|
</p>
|
||||||
className="justify-start h-auto py-3"
|
<div className="flex flex-wrap gap-2">
|
||||||
>
|
<Button
|
||||||
<Users className="h-4 w-4 mr-2" />
|
size="sm"
|
||||||
<div className="text-left">
|
variant="outline"
|
||||||
<div className="font-medium">Directory</div>
|
onClick={() => setActiveTab("community")}
|
||||||
<div className="text-xs text-muted-foreground">
|
>
|
||||||
View team members
|
<Users className="h-4 w-4 mr-2" />
|
||||||
</div>
|
Member Management
|
||||||
</div>
|
</Button>
|
||||||
</Button>
|
<Button
|
||||||
|
size="sm"
|
||||||
<Button
|
variant="outline"
|
||||||
variant="outline"
|
onClick={() => setActiveTab("arm-metrics")}
|
||||||
onClick={() => navigate("/admin/staff/achievements")}
|
>
|
||||||
className="justify-start h-auto py-3"
|
<BarChart3 className="h-4 w-4 mr-2" />
|
||||||
>
|
Team Metrics
|
||||||
<Award className="h-4 w-4 mr-2" />
|
</Button>
|
||||||
<div className="text-left">
|
</div>
|
||||||
<div className="font-medium">Achievements</div>
|
|
||||||
<div className="text-xs text-muted-foreground">
|
|
||||||
Track progress
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
variant="outline"
|
|
||||||
onClick={() => navigate("/admin/staff/chat")}
|
|
||||||
className="justify-start h-auto py-3"
|
|
||||||
>
|
|
||||||
<MessageSquare className="h-4 w-4 mr-2" />
|
|
||||||
<div className="text-left">
|
|
||||||
<div className="font-medium">Chat</div>
|
|
||||||
<div className="text-xs text-muted-foreground">
|
|
||||||
Team collaboration
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
variant="outline"
|
|
||||||
onClick={() => navigate("/admin/staff/docs")}
|
|
||||||
className="justify-start h-auto py-3"
|
|
||||||
>
|
|
||||||
<FileText className="h-4 w-4 mr-2" />
|
|
||||||
<div className="text-left">
|
|
||||||
<div className="font-medium">Documentation</div>
|
|
||||||
<div className="text-xs text-muted-foreground">
|
|
||||||
Internal resources
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Button>
|
|
||||||
|
|
||||||
<Button
|
|
||||||
variant="outline"
|
|
||||||
onClick={() => navigate("/admin/staff/admin")}
|
|
||||||
className="justify-start h-auto py-3"
|
|
||||||
>
|
|
||||||
<Settings className="h-4 w-4 mr-2" />
|
|
||||||
<div className="text-left">
|
|
||||||
<div className="font-medium">Settings</div>
|
|
||||||
<div className="text-xs text-muted-foreground">
|
|
||||||
Staff configuration
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</Button>
|
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
</TabsContent>
|
</TabsContent>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue