From c1bbae094905eaa64133091257380d3bac7da765 Mon Sep 17 00:00:00 2001 From: bender Date: Mon, 23 Mar 2026 16:15:26 +0000 Subject: [PATCH] Update src/app/consultation/page.tsx --- src/app/consultation/page.tsx | 51 ++++++++++++++++++++--------------- 1 file changed, 29 insertions(+), 22 deletions(-) diff --git a/src/app/consultation/page.tsx b/src/app/consultation/page.tsx index c9eac78..2611292 100644 --- a/src/app/consultation/page.tsx +++ b/src/app/consultation/page.tsx @@ -8,23 +8,22 @@ import HeroSplitDualMedia from '@/components/sections/hero/HeroSplitDualMedia'; import FeatureHoverPattern from '@/components/sections/feature/featureHoverPattern/FeatureHoverPattern'; import TextBox from '@/components/Textbox'; import { ClipboardList, Brain, Target, Calendar } from 'lucide-react'; -import ButtonShiftHover from '@/components/button/ButtonShiftHover/ButtonShiftHover'; +import ContactCenter from '@/components/sections/contact/ContactCenter'; +import { useRouter } from 'next/navigation'; export default function ConsultationPage() { + const router = useRouter(); const navItems = [ - { name: 'Home', id: 'home', href: '/' }, - { name: 'Services', id: 'services', href: '/#services' }, - { name: 'Portfolio', id: 'portfolio', href: '/#portfolio' }, - { name: 'Testimonials', id: 'testimonials', href: '/#testimonials' }, - { name: 'Contact', id: 'contact', href: '/#contact' }, - { name: 'Consultation', id: '/consultation', href: '/consultation' } + { name: 'Home', id: '/' }, + { name: 'Services', id: '/#services' }, + { name: 'Who This Is For', id: '/#who-this-is-for' }, + { name: 'What You Get', id: '/#what-you-get' }, + { name: 'Portfolio', id: '/#portfolio' }, + { name: 'Testimonials', id: '/#testimonials' }, + { name: 'Consultation', id: '/consultation' }, + { name: 'Contact', id: '/#contact' } ]; - const handleConfirmBooking = () => { - alert("Booking Confirmed! (This would submit the form or confirm the booking.)"); - // In a real application, this would trigger form submission or a booking confirmation API call. - }; - return ( - {/* New "Confirm Booking" button below the booking form/scheduler section */} -
- + { + console.log("Email submitted:", email); + router.push('/confirmation'); + }} + className="!py-vw-4 !bg-background-accent/50" + contentClassName="!py-vw-4 !px-vw-2_5 !bg-card border border-accent/20 rounded-pill shadow-xl" + titleClassName="!text-3xl lg:!text-4xl" + buttonClassName="!py-vw-0_75 !px-vw-2" />
@@ -155,4 +162,4 @@ export default function ConsultationPage() {
); -} \ No newline at end of file +}