import React, { useState } from 'react';
import { Head } from '@inertiajs/react';
import EmployerLayout from '../../Layouts/EmployerLayout';
import {
User,
CheckCircle2,
Save,
Building2,
Lock,
Bell,
ShieldCheck,
Mail,
Phone,
Globe,
CreditCard,
ChevronRight,
Camera
} from 'lucide-react';
export default function Profile({ employerProfile }) {
const [profile, setProfile] = useState(employerProfile || {
name: 'John Doe',
company_name: 'Al Mansoor Household',
email: 'employer@example.com',
phone: '+971 50 123 4567',
language: 'English',
notifications: true
});
const [activeTab, setActiveTab] = useState('personal');
const [saved, setSaved] = useState(false);
const handleSave = (e) => {
e.preventDefault();
setSaved(true);
setTimeout(() => setSaved(false), 3000);
};
const tabs = [
{ id: 'personal', label: 'Personal Information', icon: User },
{ id: 'company', label: 'Company & Verification', icon: Building2 },
{ id: 'security', label: 'Security & Password', icon: Lock },
{ id: 'billing', label: 'Billing & History', icon: CreditCard },
{ id: 'notifications', label: 'Notification Settings', icon: Bell },
];
return (
{profile.company_name}