'use client'; import React, { useState } from 'react'; import Link from 'next/link'; import PhoneInput from 'react-country-phone-input'; import 'react-country-phone-input/lib/style.css'; export function FooterAndContact() { const [formData, setFormData] = useState({ name: '', email: '', phone: '', message: '' }); const [status, setStatus] = useState<'idle' | 'loading' | 'success' | 'error'>('idle'); const handleSubmit = async (e: React.FormEvent) => { e.preventDefault(); setStatus('loading'); try { const res = await fetch('/api/contact', { method: 'POST', headers: { 'Content-Type': 'application/json' }, body: JSON.stringify(formData) }); if (res.ok) { setStatus('success'); setFormData({ name: '', email: '', phone: '', message: '' }); setTimeout(() => setStatus('idle'), 4000); } else { setStatus('error'); setTimeout(() => setStatus('idle'), 4000); } } catch { setStatus('error'); setTimeout(() => setStatus('idle'), 4000); } }; return (
Customize every detail. From intelligent locomotion to identity and purpose. Your enterprise-grade humanoid is just a few clicks away.
{ e.currentTarget.style.background = 'var(--color-gold)'; e.currentTarget.style.color = '#ffffff'; e.currentTarget.style.boxShadow = '0 0 30px rgba(196, 162, 101, 0.4)'; e.currentTarget.style.transform = 'translateY(-2px)'; }} onMouseOut={(e) => { e.currentTarget.style.background = 'transparent'; e.currentTarget.style.color = 'var(--color-gold)'; e.currentTarget.style.boxShadow = 'none'; e.currentTarget.style.transform = 'translateY(0)'; }} > Configure Your G1Whether you are looking to integrate the G1 into your enterprise workflows or have questions about custom developments, our team in the UAE is here to help.