import apiClient from './apiClient';

export interface ContactFormData {
  name: string;
  email: string;
  subject: string;
  message: string;
  phone?: string;
}

export interface ContactResponse {
  status: string;
  message: string;
}

export const submitContactForm = async (
  formData: ContactFormData
): Promise<ContactResponse> => {
  const response = await apiClient.post('/contact/submit', formData);
  return response.data;
};

export default {
  submitContactForm,
};

