import { useState } from 'react' import { useMutation } from '@tanstack/react-query' import { useToast } from 'sonner' import { Button } from '@/components/ui/Button' import { Input } from '@/components/ui/Input' import { Textarea } from '@/components/ui/Textarea' import { Select } from '@/components/ui/Select' import { api } from '@/lib/api' const Support = () => { const { toast } = useToast() const [formState, setFormState] = useState({ name: '', company: '', email: '', phone: '', issue: '', priority: 'medium', }) const mutation = useMutation({ mutationFn: (data) => api.post('/support', data), onSuccess: () => { toast.success('Thanks! We\'ll get back to you soon.') setFormState({ name: '', company: '', email: '', phone: '', issue: '', priority: 'medium', }) }, onError: (error) => { toast.error(error.message || 'Failed to submit form. Please try again.') }, }) const handleSubmit = (e) => { e.preventDefault() mutation.mutate(formState) } const handleChange = (e) => { const { name, value } = e.target setFormState(prev => ({ ...prev, [name]: value })) } return (
{/* Page Hero */}

Support

Need help with your communications or infrastructure? Submit a support request and we'll get back to you promptly.

{/* Support Form */}
{/* Left - Info */}

Support Services

We provide comprehensive support for all our services, including 24/7 monitoring, rapid response, and dedicated support engineers.

Support Hours

24/7 Monitoring with rapid response SLAs

Priority Levels

Low: General inquiries (response within 24 hours)
Medium: Standard issues (response within 4 hours)
High: Critical issues (response within 1 hour)

What We Support

    {[ '8x8 Communications Platform', 'VoIP Phone Systems', 'Contact Center Solutions', 'Network Infrastructure', 'Cloud Migration Support', ].map((item, index) => (
  • {item}
  • ))}
{/* Right - Form */}