diff --git a/app/feedback/page.tsx b/app/feedback/page.tsx new file mode 100644 index 0000000..a1ac3be --- /dev/null +++ b/app/feedback/page.tsx @@ -0,0 +1,147 @@ +'use client'; + +import { useState } from 'react'; +import { motion } from 'framer-motion'; +import Navigation from '@/components/Navigation'; +import Footer from '@/components/Footer'; + +export default function FeedbackPage() { + const [formData, setFormData] = useState({ + name: '', + email: '', + message: '', + }); + + const [isSubmitting, setIsSubmitting] = useState(false); + + const handleSubmit = async (e: React.FormEvent) => { + e.preventDefault(); + setIsSubmitting(true); + + // Handle form submission here + console.log('Feedback submitted:', formData); + + // Simulate API call + await new Promise(resolve => setTimeout(resolve, 500)); + + alert('Thank you for your feedback! We appreciate your input.'); + setFormData({ + name: '', + email: '', + message: '', + }); + setIsSubmitting(false); + }; + + const handleChange = (e: React.ChangeEvent) => { + setFormData({ + ...formData, + [e.target.name]: e.target.value, + }); + }; + + return ( +
+ +
+
+ +

+ Share Your Feedback +

+

+ I value your thoughts and suggestions. Your feedback helps me improve my work and services. +

+
+ + +
+
+ + +
+ +
+ + + +
+ +
+ +