import React, { useState } from 'react';
import { Head, Link, router } from '@inertiajs/react';
import EmployerLayout from '@/Layouts/EmployerLayout';
import {
ArrowLeft,
Calendar,
MapPin,
DollarSign,
Send,
CheckCircle2,
ShieldCheck,
Clock
} from 'lucide-react';
export default function Confirm({ worker }) {
const [startDate, setStartDate] = useState('');
const [location, setLocation] = useState('');
const [offeredSalary, setOfferedSalary] = useState(worker.salary);
const handleSubmit = (e) => {
e.preventDefault();
// Mock submission
router.get(`/employer/workers/${worker.id}/hire/success`);
};
return (
{worker.category}
Enter the employment details below