import React from 'react';
import { Head, Link, useForm } from '@inertiajs/react';
import EmployerLayout from '../../../Layouts/EmployerLayout';
import { useTranslation } from '../../../lib/LanguageContext';
import {
LifeBuoy,
ArrowLeft,
AlertTriangle,
CheckCircle,
UploadCloud,
X,
Volume2
} from 'lucide-react';
export default function Create({ reasons = [] }) {
const { t } = useTranslation();
const { data, setData, post, processing, errors } = useForm({
reason_id: '',
subject: '',
description: '',
priority: 'medium',
voice_note: null,
});
const handleSubmit = (e) => {
e.preventDefault();
post('/employer/support/create');
};
return (
{t('open_support_case_desc', 'Please provide detailed info to help our engineering team solve it fast.')}