Spaces:
Build error
Build error
Download components/ContactForm.jsx from ryeisi/anycoder-2d506362: direct link, hf CLI and curl.
- Browser
- Download file 3.29 kB
-
https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/ContactForm.jsx
- Command line
-
hf download hf://spaces/ryeisi/anycoder-2d506362/components/ContactForm.jsx
-
curl -L -o ContactForm.jsx https://huggingface.co/spaces/ryeisi/anycoder-2d506362/resolve/main/components/ContactForm.jsx
3.29 kB
| export default function ContactForm() { | |
| return ( | |
| <section className="py-16" id="contact"> | |
| <div className="container mx-auto px-4"> | |
| <div className="max-w-4xl mx-auto bg-white rounded-lg shadow-sm overflow-hidden"> | |
| <div className="md:flex"> | |
| <div className="md:w-1/2 bg-primary-600 text-white p-8"> | |
| <h2 className="text-2xl font-bold mb-4">Contact Us</h2> | |
| <p className="mb-6">Book a free 15-minute call to discuss your automation needs.</p> | |
| <div className="space-y-4"> | |
| <div className="flex items-center"> | |
| <svg className="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 20 20"> | |
| <path fillRule="evenodd" d="M5.05 4.05a7 7 0 119.9 9.9L10 18.9l-4.95-4.95a7 7 0 010-9.9zM10 11a2 2 0 100-4 2 2 0 000 4z" clipRule="evenodd" /> | |
| </svg> | |
| <span>Ghaziabad, Uttar Pradesh</span> | |
| </div> | |
| <div className="flex items-center"> | |
| <svg className="w-5 h-5 mr-2" fill="currentColor" viewBox="0 0 20 20"> | |
| <path d="M2 3a1 1 0 011-1h2.153a1 1 0 01.986.836l.74 4.435a1 1 0 01-.54 1.06l-1.548.773a11.037 11.037 0 006.105 6.105l.774-1.548a1 1 0 011.059-.54l4.435.74a1 1 0 01.836.986V17a1 1 0 01-1 1h-2C7.82 18 2 12.18 2 5V3z" /> | |
| </svg> | |
| <span>+91 99999 99999</span> | |
| </div> | |
| </div> | |
| </div> | |
| <div className="md:w-1/2 p-8"> | |
| <form className="space-y-4"> | |
| <div> | |
| <label htmlFor="name" className="block text-sm font-medium text-gray-700">Name</label> | |
| <input type="text" id="name" className="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-primary-500 focus:border-primary-500" /> | |
| </div> | |
| <div> | |
| <label htmlFor="email" className="block text-sm font-medium text-gray-700">Email</label> | |
| <input type="email" id="email" className="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-primary-500 focus:border-primary-500" /> | |
| </div> | |
| <div> | |
| <label htmlFor="phone" className="block text-sm font-medium text-gray-700">Phone</label> | |
| <input type="tel" id="phone" className="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-primary-500 focus:border-primary-500" /> | |
| </div> | |
| <div> | |
| <label htmlFor="message" className="block text-sm font-medium text-gray-700">Message</label> | |
| <textarea id="message" rows={4} className="mt-1 block w-full border border-gray-300 rounded-md shadow-sm py-2 px-3 focus:outline-none focus:ring-primary-500 focus:border-primary-500"></textarea> | |
| </div> | |
| <button type="submit" className="w-full bg-primary-600 hover:bg-primary-700 text-white py-2 px-4 rounded-md font-medium"> | |
| Book Free Call | |
| </button> | |
| </form> | |
| </div> | |
| </div> | |
| </div> | |
| </div> | |
| </section> | |
| ) | |
| } |