/* REVO JURIS — Contact + enquiry form, Footer, mobile action bar (single-language) */
function Contact({ matter, setMatter }) {
const lang = useLang();
const tx = useTx();
const cjk = lang === 'ZH' ? ' cjk' : '';
const [sent, setSent] = React.useState(false);
const [form, setForm] = React.useState({ name: '', phone: '', email: '', msg: '', consent: false });
const set = (k, v) => setForm(f => ({ ...f, [k]: v }));
const submit = (e) => { e.preventDefault(); setSent(true); };
return (
{tx(FORM.okBody)}{tx(FORM.okTitle)}