Update src/app/contact/page.tsx
This commit is contained in:
@@ -5,6 +5,11 @@ import NavbarStyleApple from '@/components/navbar/NavbarStyleApple/NavbarStyleAp
|
|||||||
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
import ContactSplitForm from '@/components/sections/contact/ContactSplitForm';
|
||||||
|
|
||||||
export default function ContactPage() {
|
export default function ContactPage() {
|
||||||
|
const handleFormSubmit = (data: Record<string, string>) => {
|
||||||
|
console.log('Form submitted:', data);
|
||||||
|
// Handle form submission logic here
|
||||||
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<ThemeProvider
|
<ThemeProvider
|
||||||
defaultButtonVariant="text-stagger"
|
defaultButtonVariant="text-stagger"
|
||||||
@@ -42,9 +47,7 @@ export default function ContactPage() {
|
|||||||
{ name: "companyName", type: "text", placeholder: "Company/Organization", required: false }
|
{ name: "companyName", type: "text", placeholder: "Company/Organization", required: false }
|
||||||
]}
|
]}
|
||||||
textarea={{
|
textarea={{
|
||||||
name: "message",
|
name: "message", placeholder: "Tell us about your investment goals and how we can help...", rows: 5,
|
||||||
placeholder: "Tell us about your investment goals and how we can help...",
|
|
||||||
rows: 5,
|
|
||||||
required: true
|
required: true
|
||||||
}}
|
}}
|
||||||
useInvertedBackground="noInvert"
|
useInvertedBackground="noInvert"
|
||||||
@@ -52,7 +55,7 @@ export default function ContactPage() {
|
|||||||
imageAlt="Professional meeting and consultation"
|
imageAlt="Professional meeting and consultation"
|
||||||
mediaPosition="right"
|
mediaPosition="right"
|
||||||
buttonText="Schedule Consultation"
|
buttonText="Schedule Consultation"
|
||||||
onSubmit={{}}
|
onSubmit={handleFormSubmit}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user