diff --git a/src/components/leads/LeadJobSection.jsx b/src/components/leads/LeadJobSection.jsx new file mode 100644 index 0000000..0333842 --- /dev/null +++ b/src/components/leads/LeadJobSection.jsx @@ -0,0 +1,191 @@ +import React from 'react'; +import { motion, AnimatePresence } from 'framer-motion'; +import { ChevronDown } from 'lucide-react'; +import { useTheme } from '../../context/ThemeContext'; +import { LEAD_FORM_OPTIONS } from '../../data/mockStore'; +import UrgencyPillSelector from './UrgencyPillSelector'; + +// --------------------------------------------------------------------------- +// Shared field primitives (local to Job section for now) +// --------------------------------------------------------------------------- +function FieldLabel({ children }) { + return ( + + ); +} + +function LeadSelect({ label, value, onChange, options, placeholder }) { + const { theme } = useTheme(); + const isDark = theme === 'dark'; + + return ( +
+ {label} +
+ + +
+
+ ); +} + +function LeadTextarea({ label, value, onChange, placeholder, rows = 3 }) { + const { theme } = useTheme(); + const isDark = theme === 'dark'; + + return ( +
+ {label} +