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 { useJobPostings, useApplications, useStaff } from '@/lib/krowHooks';
|
||||||
import PipelineFunnel from '@/components/krow/PipelineFunnel';
|
import PipelineFunnel from '@/components/krow/PipelineFunnel';
|
||||||
import KROWCandidateLeaderboard from '@/components/krow/KROWCandidateLeaderboard';
|
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';
|
import { AssistantTrigger } from '@/components/ai-assistant';
|
||||||
|
|
||||||
const METRICS = [
|
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>
|
<p className="text-[14px] text-[#6B7280] mt-1">Full hiring pipeline, staffing & talent intelligence in one view</p>
|
||||||
</div>
|
</div>
|
||||||
<div className="flex items-center gap-2">
|
<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 />
|
<AssistantTrigger />
|
||||||
</div>
|
</div>
|
||||||
</motion.div>
|
</motion.div>
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ import {
|
|||||||
Tooltip, XAxis, YAxis,
|
Tooltip, XAxis, YAxis,
|
||||||
} from 'recharts';
|
} from 'recharts';
|
||||||
import {
|
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';
|
} from 'lucide-react';
|
||||||
import { cn } from '@/lib/utils';
|
import { cn } from '@/lib/utils';
|
||||||
import {
|
import {
|
||||||
@@ -578,16 +578,11 @@ export default function ControlCenter() {
|
|||||||
<AdminPage
|
<AdminPage
|
||||||
title="Control Center"
|
title="Control Center"
|
||||||
subtitle="Workforce operations · hiring intelligence · platform health"
|
subtitle="Workforce operations · hiring intelligence · platform health"
|
||||||
actions={
|
actions={(
|
||||||
<>
|
<Button variant="outline" size="sm" shape="rounded" onClick={exportSnapshot}>
|
||||||
<Button size="sm" shape="rounded" onClick={() => navigate('/admin/positions/new')}>
|
<Download aria-hidden="true" /> Export
|
||||||
<Plus aria-hidden="true" /> Create Position
|
</Button>
|
||||||
</Button>
|
)}
|
||||||
<Button variant="outline" size="sm" shape="rounded" onClick={exportSnapshot}>
|
|
||||||
<Download aria-hidden="true" /> Export
|
|
||||||
</Button>
|
|
||||||
</>
|
|
||||||
}
|
|
||||||
>
|
>
|
||||||
{/* 1 ── Operations snapshot */}
|
{/* 1 ── Operations snapshot */}
|
||||||
<Snapshot metrics={metrics} loading={isLoading} />
|
<Snapshot metrics={metrics} loading={isLoading} />
|
||||||
|
|||||||
Reference in New Issue
Block a user