Update src/app/book-appointment/page.tsx
This commit is contained in:
@@ -22,17 +22,19 @@ export default function AppointmentPage() {
|
|||||||
secondaryButtonStyle="layered"
|
secondaryButtonStyle="layered"
|
||||||
headingFontWeight="light"
|
headingFontWeight="light"
|
||||||
>
|
>
|
||||||
<NavbarLayoutFloatingInline
|
<div id="nav" data-section="nav">
|
||||||
navItems={[
|
<NavbarLayoutFloatingInline
|
||||||
{ name: "Home", id: "/" },
|
navItems={[
|
||||||
{ name: "About", id: "/#about" },
|
{ name: "Home", id: "/" },
|
||||||
{ name: "Services", id: "/#services" },
|
{ name: "About", id: "/#about" },
|
||||||
{ name: "Book Appointment", id: "/book-appointment" },
|
{ name: "Services", id: "/#services" },
|
||||||
{ name: "Contact", id: "/#contact" }
|
{ name: "Book Appointment", id: "/book-appointment" },
|
||||||
]}
|
{ name: "Contact", id: "/#contact" }
|
||||||
brandName="Sri Manjunatha\n Gastro-liver & Maternity"
|
]}
|
||||||
button={{ text: "Book Appointment", href: "/book-appointment" }}
|
brandName="Sri Manjunatha\n Gastro-liver & Maternity"
|
||||||
/>
|
button={{ text: "Book Appointment", href: "/book-appointment" }}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
|
|
||||||
<main className="pt-32 pb-20">
|
<main className="pt-32 pb-20">
|
||||||
{isConfirmed ? (
|
{isConfirmed ? (
|
||||||
@@ -42,22 +44,27 @@ export default function AppointmentPage() {
|
|||||||
<a href="/" className="inline-block px-6 py-3 bg-primary text-white rounded-lg">Back to Home</a>
|
<a href="/" className="inline-block px-6 py-3 bg-primary text-white rounded-lg">Back to Home</a>
|
||||||
</div>
|
</div>
|
||||||
) : (
|
) : (
|
||||||
<ContactSplit
|
<div id="contact" data-section="contact">
|
||||||
tag="Booking"
|
<ContactSplit
|
||||||
title="Appointment Request"
|
tag="Booking"
|
||||||
description="Please provide your details below to request an appointment. We will contact you to finalize the schedule."
|
title="Appointment Request"
|
||||||
background={{ variant: "plain" }}
|
description="Please provide your details below to request an appointment. We will contact you to finalize the schedule."
|
||||||
inputPlaceholder="Your email"
|
background={{ variant: "plain" }}
|
||||||
buttonText="Confirm Request"
|
useInvertedBackground={false}
|
||||||
onSubmit={() => setIsConfirmed(true)}
|
inputPlaceholder="Your email"
|
||||||
/>
|
buttonText="Confirm Request"
|
||||||
|
onSubmit={() => setIsConfirmed(true)}
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
)}
|
)}
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<FooterCard
|
<div id="footer" data-section="footer">
|
||||||
logoText="Sri Manjunatha"
|
<FooterCard
|
||||||
copyrightText="© 2025 Sri Manjunatha Hospital. All rights reserved."
|
logoText="Sri Manjunatha"
|
||||||
/>
|
copyrightText="© 2025 Sri Manjunatha Hospital. All rights reserved."
|
||||||
|
/>
|
||||||
|
</div>
|
||||||
</ThemeProvider>
|
</ThemeProvider>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user