remove create position button
This commit is contained in:
@@ -4,7 +4,7 @@ import { motion } from 'framer-motion';
|
||||
import { useJobPostings, useApplications, useStaff } from '@/lib/krowHooks';
|
||||
import PipelineFunnel from '@/components/krow/PipelineFunnel';
|
||||
import KROWCandidateLeaderboard from '@/components/krow/KROWCandidateLeaderboard';
|
||||
import { Briefcase, Users, Brain, ClipboardCheck, UserCheck, BadgeCheck, Gauge, Plus, ChevronRight, Sparkles } from 'lucide-react';
|
||||
import { Briefcase, Users, Brain, ClipboardCheck, UserCheck, BadgeCheck, Gauge, ChevronRight, Sparkles } from 'lucide-react';
|
||||
import { AssistantTrigger } from '@/components/ai-assistant';
|
||||
|
||||
const METRICS = [
|
||||
@@ -80,9 +80,6 @@ export default function AdminDashboard() {
|
||||
<p className="text-[14px] text-[#6B7280] mt-1">Full hiring pipeline, staffing & talent intelligence in one view</p>
|
||||
</div>
|
||||
<div className="flex items-center gap-2">
|
||||
<button onClick={() => navigate('/positions/new')} className="inline-flex items-center gap-2 bg-[#F9E547] text-[#0A39DF] text-[13px] font-bold px-5 py-2.5 rounded-full shadow-lg hover:scale-[1.03] transition-transform">
|
||||
<Plus className="w-4 h-4" /> Create Position
|
||||
</button>
|
||||
<AssistantTrigger />
|
||||
</div>
|
||||
</motion.div>
|
||||
|
||||
@@ -5,7 +5,7 @@ import {
|
||||
Tooltip, XAxis, YAxis,
|
||||
} from 'recharts';
|
||||
import {
|
||||
AlertTriangle, ArrowRight, Building2, CalendarCheck, CheckCircle2, ChevronRight, Clock, Download, Filter, Plus, Sparkles, Users, Zap,
|
||||
AlertTriangle, ArrowRight, Building2, CalendarCheck, CheckCircle2, ChevronRight, Clock, Download, Filter, Sparkles, Users, Zap,
|
||||
} from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import {
|
||||
@@ -578,16 +578,11 @@ export default function ControlCenter() {
|
||||
<AdminPage
|
||||
title="Control Center"
|
||||
subtitle="Workforce operations · hiring intelligence · platform health"
|
||||
actions={
|
||||
<>
|
||||
<Button size="sm" shape="rounded" onClick={() => navigate('/admin/positions/new')}>
|
||||
<Plus aria-hidden="true" /> Create Position
|
||||
</Button>
|
||||
<Button variant="outline" size="sm" shape="rounded" onClick={exportSnapshot}>
|
||||
<Download aria-hidden="true" /> Export
|
||||
</Button>
|
||||
</>
|
||||
}
|
||||
actions={(
|
||||
<Button variant="outline" size="sm" shape="rounded" onClick={exportSnapshot}>
|
||||
<Download aria-hidden="true" /> Export
|
||||
</Button>
|
||||
)}
|
||||
>
|
||||
{/* 1 ── Operations snapshot */}
|
||||
<Snapshot metrics={metrics} loading={isLoading} />
|
||||
|
||||
Reference in New Issue
Block a user