import { useState } from 'react'; import type { FormEvent } from 'react'; import { Button } from '@/components/site/button'; import { Field, FormSuccess, SelectInput, TextInput, } from '@/components/site/form-field'; import { serviceOptions } from '@/data/site'; /** * Compact consultation request form. * * TODO: submissions are not sent anywhere yet; wire this to a Laravel * endpoint before going live. */ export default function ConsultationForm({ idPrefix }: { idPrefix: string }) { const [submitted, setSubmitted] = useState(false); const handleSubmit = (event: FormEvent) => { event.preventDefault(); setSubmitted(true); }; return (
Jadwalkan Konsultasi IT Konfirmasi langsung oleh Lead Architect PAJ dalam 2 jam kerja.
{submitted ? ( ) : (

Non-Disclosure Agreement (NDA) dapat ditandatangani sebelum audit teknis.

)}
); }