Update src/app/about/page.tsx
This commit is contained in:
@@ -29,7 +29,6 @@ export default function AboutPage() {
|
||||
items: [
|
||||
{ label: "About Us", href: "/about" },
|
||||
{ label: "Contact", href: "/contact" },
|
||||
{ label: "Blog", href: "/blog" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -48,6 +47,10 @@ export default function AboutPage() {
|
||||
},
|
||||
];
|
||||
|
||||
const handleContactSubmit = (email: string) => {
|
||||
console.log("Partnership inquiry:", email);
|
||||
};
|
||||
|
||||
return (
|
||||
<ThemeProvider
|
||||
defaultButtonVariant="icon-arrow"
|
||||
@@ -81,7 +84,7 @@ export default function AboutPage() {
|
||||
showBlur={true}
|
||||
showDimOverlay={true}
|
||||
buttons={[
|
||||
{ text: "Schedule Consultation", href: "/contact" },
|
||||
{ text: "Schedule Consultation", href: "/contact", onClick: () => window.location.href = "/contact" },
|
||||
]}
|
||||
/>
|
||||
</div>
|
||||
@@ -114,6 +117,7 @@ export default function AboutPage() {
|
||||
inputPlaceholder="Your email address"
|
||||
buttonText="Schedule Now"
|
||||
termsText="We respect your privacy. Your inquiry will be handled with complete confidentiality."
|
||||
onSubmit={(email: string) => handleContactSubmit(email)}
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -125,4 +129,4 @@ export default function AboutPage() {
|
||||
</div>
|
||||
</ThemeProvider>
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user