diff --git a/src/app/contact/page.tsx b/src/app/contact/page.tsx
new file mode 100644
index 0000000..2bdd326
--- /dev/null
+++ b/src/app/contact/page.tsx
@@ -0,0 +1,295 @@
+'use client';
+
+import Image from 'next/image';
+import Link from 'next/link';
+import { useState } from 'react';
+import { CommonHeader } from '@/components/layout/CommonHeader';
+import { Footer } from '@/components/layout/Footer';
+
+export default function ContactPage() {
+ const [formData, setFormData] = useState({
+ name: '',
+ phone: '',
+ email: '',
+ message: '',
+ });
+
+ const handleInputChange = (e: React.ChangeEvent
) => {
+ const { name, value } = e.target;
+ setFormData(prev => ({ ...prev, [name]: value }));
+ };
+
+ const handleSubmit = (e: React.FormEvent) => {
+ e.preventDefault();
+ // Handle form submission
+ console.log('Form submitted:', formData);
+ };
+
+ const handleCancel = () => {
+ setFormData({ name: '', phone: '', email: '', message: '' });
+ };
+
+ return (
+
+ {/* Header */}
+
+
+
+
+ {/* Main Content */}
+
+ {/* Contact Section */}
+
+ {/* Title */}
+
+
+ Get In Touch
+
+
+ Have a question about a property or need assistance? Fill out the form below and our team will get back to you shortly.
+
+
+
+
+ {/* Contact Form */}
+
+
+ {/* Contact Details Sidebar */}
+
+
+ {/* Header */}
+
+
+ Contact Details
+
+
+
+ {/* Email Support */}
+
+
+
+
+
+ Email Support
+
+
+ 123support@gmail.com
+
+
+
+
+
+ {/* Phone */}
+
+
+
+
+
+ Phone
+
+
+ 1234567890
+
+
+ Mon-Fri 9am-6pm
+
+
+
+
+
+ {/* Office */}
+
+
+
+
+
+ Office
+
+
+ 123 Market Street
+
+
+ New York CA 234737
+
+
+
+
+
+ {/* Map */}
+
+
+ {/* Get Directions Button */}
+
+
+
+
+
+
+
+
+ {/* CTA Section - Ready to find an agent */}
+
+
+
+
+ Ready to find an agent?
+
+
+ Discover trusted agents and start your property journey with confidence.
+
+
+ Start Your Search
+
+
+
+
+
+
+
+
+
+
+ {/* Footer */}
+
+
+ );
+}
diff --git a/src/components/layout/AgentHeader.tsx b/src/components/layout/AgentHeader.tsx
deleted file mode 100644
index 0c28b01..0000000
--- a/src/components/layout/AgentHeader.tsx
+++ /dev/null
@@ -1,134 +0,0 @@
-'use client';
-
-import { useState } from 'react';
-import Link from 'next/link';
-import Image from 'next/image';
-import { signOut } from 'next-auth/react';
-
-interface AgentHeaderProps {
- userName?: string | null;
- userEmail?: string | null;
-}
-
-const navLinks = [
- { label: 'Education', href: '/education' },
- { label: 'About Us', href: '/about' },
- { label: "FAQ's", href: '/faq' },
-];
-
-export function AgentHeader({ userName, userEmail }: AgentHeaderProps) {
- const [showProfileMenu, setShowProfileMenu] = useState(false);
-
- return (
-
- );
-}
diff --git a/src/components/layout/CommonHeader.tsx b/src/components/layout/CommonHeader.tsx
new file mode 100644
index 0000000..473c115
--- /dev/null
+++ b/src/components/layout/CommonHeader.tsx
@@ -0,0 +1,156 @@
+'use client';
+
+import { useState } from 'react';
+import Link from 'next/link';
+import Image from 'next/image';
+import { useSession, signOut } from 'next-auth/react';
+
+const navLinks = [
+ { label: 'Education', href: '/education' },
+ { label: 'About Us', href: '/about' },
+ { label: "FAQ's", href: '/faq' },
+];
+
+export function CommonHeader() {
+ const { data: session } = useSession();
+ const [showProfileMenu, setShowProfileMenu] = useState(false);
+
+ const userName = session?.user?.name;
+ const userEmail = session?.user?.email;
+ const userRole = (session?.user as any)?.role;
+
+ // Determine dashboard link based on user role
+ const dashboardLink = userRole === 'AGENT' ? '/agent/dashboard' : '/user/userprofile';
+
+ return (
+
+ );
+}